Closed reggi closed 4 months ago
You can build the partition-table.bin from source, putting the appropriate partition.csv file in the partitions folder of the board and adding it into the arduino-cli command
This is a part of my workflow, where i build the partition-table.bin
`file="$baseFolder/$latestVersion/tools/partitions/custom_4Mb.csv "
cp support_files/custom_4Mb.csv ${file}
arduino-cli compile --fqbn ${{ matrix.board.fqbn }} -e \
--build-property build.partitions=custom_4Mb \
--build-property upload.maximum_size=1966080 \
--build-property compiler.cpp.extra_flags="${extra_flags}" \
./StartApp/StartApp.ino
The ota_data_inicial.bin I don't think it is really necessary... I will do some testing here to maybe delete it... As it is a result of the bootloader.bin build using ESP-IDF
The source code for the Bootloader is something that I am holding for now, because I need to find a way to easily reproduce it to all the devices... I built the binaries one by one adjusting the configs of ESP-IDF...
Just posted the files about bootloader and the other files.
Woah thanks for this! Just love to learn how this works and have access to the source!
Feel free to join me on Discord someday, so we can talk about these things more often.. @bmorcelli or Pirata#5263
Is it possible to build partition-table_8Mb.bin and ota_data_initial.bin from source as well? Is there source code for those you can share as well?
Also using
arduino-cli
is convenient for building