tools/autobuild: Add support for application .bin files for esp32.
On esp32, the build output consists of: - micropython.elf - micropython.map - micropython.bin -- application only - micropython.uf2 -- application only - firmware.bin -- bootloader, partition table and application Currently everything is available at the download page except micropython.bin. This commit adds that file but with the extension changed to .app-bin, to distinguish it from .bin (the full thing). Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
parent
cfcce4b531
commit
d14ddcbdb5
|
@ -33,6 +33,9 @@ function build_board {
|
|||
elif [ -r $build_dir/micropython.$ext ]; then
|
||||
# esp32 has micropython.elf, etc
|
||||
mv $build_dir/micropython.$ext $dest
|
||||
elif [ $ext = app-bin -a -r $build_dir/micropython.bin ]; then
|
||||
# esp32 has micropython.bin which is just the application
|
||||
mv $build_dir/micropython.bin $dest
|
||||
fi
|
||||
done
|
||||
)
|
||||
|
@ -62,7 +65,7 @@ function build_boards {
|
|||
}
|
||||
|
||||
function build_esp32_boards {
|
||||
build_boards modesp32.c $1 $2 bin elf map uf2
|
||||
build_boards modesp32.c $1 $2 bin elf map uf2 app-bin
|
||||
}
|
||||
|
||||
function build_mimxrt_boards {
|
||||
|
|
Loading…
Reference in New Issue