feat✨: 添加收集烧录文件功能
This commit is contained in:
parent
7dbadc447d
commit
dec20b0c7a
1
.gitignore
vendored
1
.gitignore
vendored
@ -5,3 +5,4 @@ build/
|
|||||||
*.d
|
*.d
|
||||||
*.log
|
*.log
|
||||||
/components
|
/components
|
||||||
|
/flash_files
|
||||||
|
|||||||
18
collect_files.sh
Normal file
18
collect_files.sh
Normal file
@ -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
|
||||||
|
|
||||||
|
|
||||||
Loading…
Reference in New Issue
Block a user