mirror of
https://github.com/lumapu/ahoy.git
synced 2025-07-30 22:48:27 +02:00
0.8.119
* update offsets in python script
This commit is contained in:
parent
16b57416df
commit
2f84bc488e
1 changed files with 15 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
# Generate factory firmware
|
||||
# Generate factory firmware (ESP32)
|
||||
|
||||
If the firmware should already contain predefined settings this guide will help you to compile these into a single binary file.
|
||||
|
||||
|
@ -36,11 +36,23 @@ Choose your prefered environment and build firmware as usual. Once the process i
|
|||
|
||||
## Upload to device
|
||||
|
||||
Navigate to the firmware output directory `src/.pio/build/[ENVIRONMENT]/` and open a terminal.
|
||||
|
||||
### ESP32
|
||||
|
||||
Python:
|
||||
`esptool.py -b 921600 write_flash --flash_mode dio --flash_size detect 0x10000 firmware.factory.bin`
|
||||
`esptool.py -b 921600 write_flash --flash_mode dio --flash_size detect 0x1000 bootloader.bin 0x8000 partitions.bin 0x10000 firmware.factory.bin`
|
||||
|
||||
Windows:
|
||||
`esptool.exe -b 921600 write_flash --flash_mode dio --flash_size detect 0x10000 firmware.factory.bin`
|
||||
`esptool.exe -b 921600 write_flash --flash_mode dio --flash_size detect 0x1000 bootloader.bin 0x8000 partitions.bin 0x10000 firmware.factory.bin`
|
||||
|
||||
### ESP32-S3 (OpenDTU Fusion Board)
|
||||
|
||||
Python:
|
||||
`esptool.py -b 921600 write_flash --flash_mode dio --flash_size detect 0x0 firmware.factory.bin`
|
||||
|
||||
Windows:
|
||||
`esptool.exe -b 921600 write_flash --flash_mode dio --flash_size detect 0x0 firmware.factory.bin`
|
||||
|
||||
For a 4MB flash size the upload should be finished within 22 seconds.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue