Add all required bin files to artifacts and add documentation regarding target addresses
This commit is contained in:
parent
a20c6a8313
commit
da5fd75fd9
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -109,6 +109,8 @@ jobs:
|
||||
path: |
|
||||
.pio/build/${{ matrix.environment }}/opendtu-${{ matrix.environment }}.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:
|
||||
name: Create Release
|
||||
|
||||
10
README.md
10
README.md
@ -118,6 +118,16 @@ This can be achieved by editing the 'platformio.ini' file and add/change one or
|
||||
* other options:
|
||||
* clean the sources: `platformio run -e generic -t clean`
|
||||
* 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
|
||||
* After the initial flashing of the microcontroller, an Access Point called "OpenDTU-*" is opened. The default password is "openDTU42".
|
||||
|
||||
Loading…
Reference in New Issue
Block a user