Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Load stubs from TOML instead of JSON files #277

Merged
merged 2 commits into from
Oct 28, 2022

Conversation

jessebraham
Copy link
Member

@jessebraham jessebraham commented Oct 28, 2022

We had pulled in serde_json only to load the stubs, as in esptool they are in JSON format. I converted each stub to TOML using the following command (demonstrated for ESP32) using yj:

$ yj -jt < stub_flasher_32.json > stub_flasher_32.toml

@jessebraham jessebraham merged commit 1ebca35 into esp-rs:main Oct 28, 2022
@jessebraham jessebraham deleted the fixes/stubs branch October 28, 2022 18:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant