diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b4a6f40..0333395 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -98,16 +98,13 @@ jobs: - name: Copy boot_app0.bin run: cp ~/.platformio/packages/framework-arduinoespressif32/tools/partitions/boot_app0.bin .pio/build/${{ matrix.environment }}/boot_app0.bin - - name: Copy bootloader_dio_40m.bin - run: cp ~/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/bin/bootloader_dio_40m.bin .pio/build/${{ matrix.environment }}/bootloader_dio_40m.bin - - uses: actions/upload-artifact@v3 with: name: opendtu-${{ matrix.environment }} path: | .pio/build/${{ matrix.environment }}/opendtu-${{ matrix.environment }}.bin .pio/build/${{ matrix.environment }}/partitions.bin - .pio/build/${{ matrix.environment }}/bootloader_dio_40m.bin + .pio/build/${{ matrix.environment }}/bootloader.bin .pio/build/${{ matrix.environment }}/boot_app0.bin - uses: actions/upload-artifact@v3 diff --git a/README.md b/README.md index fb1edd5..226930f 100644 --- a/README.md +++ b/README.md @@ -147,7 +147,7 @@ Use a ESP32 flash tool of your choice (see next chapter) and flash the `.bin` fi | Address | File | | ---------| ---------------------- | -| 0x1000 | bootloader_dio_40m.bin | +| 0x1000 | bootloader.bin | | 0x8000 | partitions.bin | | 0xe000 | boot_app0.bin | | 0x10000 | opendtu-*.bin | @@ -158,7 +158,7 @@ For further updates you can just use the web interface and upload the `opendtu-* ``` esptool.py --port /dev/ttyUSB0 --chip esp32 --before default_reset --after hard_reset \ write_flash --flash_mode dout --flash_freq 40m --flash_size detect \ - 0x1000 bootloader_dio_40m.bin \ + 0x1000 bootloader.bin \ 0x8000 partitions.bin \ 0xe000 boot_app0.bin \ 0x10000 opendtu-generic.bin diff --git a/platformio.ini b/platformio.ini index 1f73180..0cab601 100644 --- a/platformio.ini +++ b/platformio.ini @@ -15,7 +15,7 @@ extra_configs = [env] framework = arduino -platform = espressif32@>=5.2.0 +platform = espressif32@>=5.3.0 build_flags = -D=${PIOENV}