Skip to content

Commit

Permalink
Use esp-flasher-stub stubs (#518)
Browse files Browse the repository at this point in the history
* feat: Add a feature to use rust-stubs

* test: Fix tests

* feat: Replace C stubs with esp-flasher-stub stubs

* docs: Update source of the sutbs
  • Loading branch information
SergioGasquez authored Nov 23, 2023
1 parent d886d33 commit 775e222
Show file tree
Hide file tree
Showing 8 changed files with 36 additions and 34 deletions.
6 changes: 4 additions & 2 deletions espflash/resources/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
# Espflash Resources

The bootloaders have been built by hand from ESP-IDF, using the `release/v5.1` branch:
The bootloaders have been built by hand from ESP-IDF, using the `release/v5.1` branch:
https://github.com/espressif/esp-idf/tree/release/v5.1

The flasher stubs are taken from the **espressif/esptool** repository:
The ESP32s flasher stubs are taken from the **esp-rs/esp-flasher-stub** repository:
https://github.com/esp-rs/esp-flasher-stub/latests
The ESP8266 flasher stub is taken from the **espressif/esptool** repository:
https://github.com/espressif/esptool/tree/master/esptool/targets/stub_flasher
10 changes: 5 additions & 5 deletions espflash/resources/stubs/stub_flasher_32.toml

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions espflash/resources/stubs/stub_flasher_32c2.toml

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions espflash/resources/stubs/stub_flasher_32c3.toml

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions espflash/resources/stubs/stub_flasher_32c6.toml

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions espflash/resources/stubs/stub_flasher_32h2.toml

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions espflash/resources/stubs/stub_flasher_32s2.toml

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions espflash/resources/stubs/stub_flasher_32s3.toml

Large diffs are not rendered by default.

0 comments on commit 775e222

Please sign in to comment.