@@ -8,7 +8,9 @@ mkdir $release_foldername
88cp .\flashing_instructions.txt $release_foldername
99
1010rm - Recurse .\build
11- idf.py set-target esp32 build
11+ idf.py set-target esp32
12+ cp .\sdkconfig_esp32 .\sdkconfig
13+ idf.py build
1214mkdir $release_foldername \esp32
1315cp .\build\flash_args $release_foldername \esp32\flash_args.txt
1416cp .\build\db_esp32.bin $release_foldername \esp32
@@ -17,7 +19,9 @@ cp .\build\www.bin $release_foldername\esp32
1719cp .\build\partition_table\partition- table.bin $release_foldername \esp32
1820
1921rm - Recurse .\build
20- idf.py set-target esp32s2 build
22+ idf.py set-target esp32s2
23+ cp .\sdkconfig_s2 .\sdkconfig
24+ idf.py build
2125mkdir $release_foldername \esp32s2
2226cp .\build\flash_args $release_foldername \esp32s2\flash_args.txt
2327cp .\build\db_esp32.bin $release_foldername \esp32s2
@@ -26,7 +30,9 @@ cp .\build\www.bin $release_foldername\esp32s2
2630cp .\build\partition_table\partition- table.bin $release_foldername \esp32s2
2731
2832rm - Recurse .\build
29- idf.py set-target esp32s3 build
33+ idf.py set-target esp32s3
34+ cp .\sdkconfig_s3 .\sdkconfig
35+ idf.py build
3036mkdir $release_foldername \esp32s3
3137cp .\build\flash_args $release_foldername \esp32s3\flash_args.txt
3238cp .\build\db_esp32.bin $release_foldername \esp32s3
@@ -35,7 +41,9 @@ cp .\build\www.bin $release_foldername\esp32s3
3541cp .\build\partition_table\partition- table.bin $release_foldername \esp32s3
3642
3743rm - Recurse .\build
38- idf.py set-target esp32c3 build
44+ idf.py set-target esp32c3
45+ cp .\sdkconfig_c3 .\sdkconfig
46+ idf.py build
3947mkdir $release_foldername \esp32c3
4048cp .\build\flash_args $release_foldername \esp32c3\flash_args.txt
4149cp .\build\db_esp32.bin $release_foldername \esp32c3
0 commit comments