Skip to content

Commit 521b2bd

Browse files
committed
script fixes
1 parent 4d1c417 commit 521b2bd

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/scripts/install-platformio-esp32.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,13 @@ replace_script+="del data['packages']['framework-arduinoespressif32']['owner'];"
2626
# Use toolchain packages from the "espressif" organization
2727
replace_script+="data['packages']['toolchain-xtensa-esp32']['owner']='$ESPRESSIF_ORGANIZATION_NAME';"
2828
replace_script+="data['packages']['toolchain-xtensa-esp32s2']['owner']='$ESPRESSIF_ORGANIZATION_NAME';"
29-
replace_script+="data['packages']['toolchain-xtensa-esp32s3']['owner']='$ESPRESSIF_ORGANIZATION_NAME';"
3029
replace_script+="data['packages']['toolchain-riscv32-esp']['owner']='$ESPRESSIF_ORGANIZATION_NAME';"
3130
# Update versions to use the upstream
3231
replace_script+="data['packages']['toolchain-xtensa-esp32']['version']='$TOOLCHAIN_VERSION';"
3332
replace_script+="data['packages']['toolchain-xtensa-esp32s2']['version']='$TOOLCHAIN_VERSION';"
34-
replace_script+="data['packages']['toolchain-xtensa-esp32s3']['version']='$TOOLCHAIN_VERSION';"
3533
replace_script+="data['packages']['toolchain-riscv32-esp']['version']='$TOOLCHAIN_VERSION';"
34+
# Add ESP32-S3 Toolchain
35+
replace_script+="data['packages'].append({'toolchain-xtensa-esp32s3':{'type':'toolchain','optional':true,'owner':'$ESPRESSIF_ORGANIZATION_NAME','version':'$TOOLCHAIN_VERSION'}});"
3636
# esptool.py may require an upstream version (for now platformio is the owner)
3737
replace_script+="data['packages']['tool-esptoolpy']['version']='$ESPTOOLPY_VERSION';"
3838
# Save results

.github/scripts/on-push.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ if [ "$BUILD_PIO" -eq 0 ]; then
6363

6464
FQBN_ESP32="espressif:esp32:esp32:PSRAM=enabled,PartitionScheme=huge_app"
6565
FQBN_ESP32S2="espressif:esp32:esp32s2:PSRAM=enabled,PartitionScheme=huge_app"
66-
FQBN_ESP32S3="espressif:esp32:esp32s3:PSRAM=opi,PartitionScheme=huge_app"
66+
FQBN_ESP32S3="espressif:esp32:esp32s3:PSRAM=opi,USBMode=default,PartitionScheme=huge_app"
6767
FQBN_ESP32C3="espressif:esp32:esp32c3:PartitionScheme=huge_app"
6868

6969
SKETCHES_ESP32="\

0 commit comments

Comments
 (0)