Add all required bin files to artifacts and add documentation regarding target addresses

This commit is contained in:
Thomas Basler 2022-09-19 22:25:04 +02:00
parent a20c6a8313
commit da5fd75fd9
2 changed files with 12 additions and 0 deletions

View File

@ -109,6 +109,8 @@ jobs:
path: | path: |
.pio/build/${{ matrix.environment }}/opendtu-${{ matrix.environment }}.bin .pio/build/${{ matrix.environment }}/opendtu-${{ matrix.environment }}.bin
.pio/build/${{ matrix.environment }}/partitions.bin .pio/build/${{ matrix.environment }}/partitions.bin
~/.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32\bin\bootloader_dio_40m.bin
~/.platformio\packages\framework-arduinoespressif32\tools\partitions\boot_app0.bin
release: release:
name: Create Release name: Create Release

View File

@ -118,6 +118,16 @@ This can be achieved by editing the 'platformio.ini' file and add/change one or
* other options: * other options:
* clean the sources: `platformio run -e generic -t clean` * clean the sources: `platformio run -e generic -t clean`
* erase flash: `platformio run -e generic -t erase` * erase flash: `platformio run -e generic -t erase`
### using the pre-compiled .bin files
* Use a ESP32 flash tool of your choice and flash the .bin files to the right addresses:
| Address | File |
| ---------| ------------- |
| 0x1000 | bootloader_dio_40m.bin |
| 0x8000 | partitions.bin |
| 0xe000 | boot_app0.bin |
| 0x10000 | firmware.bin |
Make sure too uncheck the DoNotChgBbin option. Otherwise you will maybe get errors like "invalid header"
## First configuration ## First configuration
* After the initial flashing of the microcontroller, an Access Point called "OpenDTU-*" is opened. The default password is "openDTU42". * After the initial flashing of the microcontroller, an Access Point called "OpenDTU-*" is opened. The default password is "openDTU42".