File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 6
6
partitionData = open ("UNOR4USBBridge/build/esp32-patched.esp32.esp32s3/UNOR4USBBridge.ino.partitions.bin" , "rb" ).read ()
7
7
bootApp = open ("boot/boot_app0.bin" , "rb" ).read ()
8
8
appData = open ("UNOR4USBBridge/build/esp32-patched.esp32.esp32s3/UNOR4USBBridge.ino.bin" , "rb" ).read ()
9
- certsData = open ("x509_crt_bundle" , "rb" ).read ()
9
+ certsData = open ("UNOR4USBBridge/build/esp32-patched.esp32.esp32s3/ x509_crt_bundle" , "rb" ).read ()
10
10
11
11
# 0x000000 bootloader
12
12
# 0x008000 partitions
39
39
outputData [0x3C0000 + i ] = certsData [i ]
40
40
41
41
42
- outputFilename = "S3.bin"
42
+ outputFilename = "UNOR4USBBridge/build/esp32-patched.esp32.esp32s3/ S3.bin"
43
43
if (len (sys .argv ) > 1 ):
44
44
outputFilename = sys .argv [1 ]
45
45
Original file line number Diff line number Diff line change 1
1
# modify esp32 platform.txt from g++11 to gcc+17
2
- rm -f S3.bin
3
- rm -f x509_crt_bundle
2
+ rm -f UNOR4USBBridge/build/esp32-patched.esp32.esp32s3/ S3.bin
3
+ rm -f UNOR4USBBridge/build/esp32-patched.esp32.esp32s3/ x509_crt_bundle
4
4
echo " Build Sketch"
5
5
./compile.sh
6
6
echo " Build certificates bundle"
7
7
python certificates/gen_crt_bundle.py -i certificates/certificates.pem
8
+ mv x509_crt_bundle UNOR4USBBridge/build/esp32-patched.esp32.esp32s3/x509_crt_bundle
8
9
echo " Combine binaries"
9
10
python combine.py
10
11
echo " Done"
You can’t perform that action at this time.
0 commit comments