diff --git a/.gitignore b/.gitignore index 8f9166f..80bd2e3 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ build/ *.d *.log /components +/flash_files diff --git a/collect_files.sh b/collect_files.sh new file mode 100644 index 0000000..6277699 --- /dev/null +++ b/collect_files.sh @@ -0,0 +1,18 @@ +#! /bin/bash + +# this file to collect the build files into a dir + +OUT_DIR=./flash_files +NOTE_FILE=./flash_files/note.txt +mkdir -p $OUT_DIR + +cp ./build/ESP32_Bare_Board.bin $OUT_DIR +cp ./build/partition_table/partition-table.bin $OUT_DIR +cp ./build/bootloader/bootloader.bin $OUT_DIR + +echo "partation" > $NOTE_FILE +echo "0x1000 bootloader.bin" >> $NOTE_FILE +echo "0x8000 partition-table.bin" >> $NOTE_FILE +echo "0x10000 ESP32_Bare_Board.bin " >> $NOTE_FILE + + \ No newline at end of file