Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 9764a13

Browse files
committedJul 1, 2023
Additional changes for ESP32H2
1 parent 03db4b5 commit 9764a13

File tree

124 files changed

+190
-9
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

124 files changed

+190
-9
lines changed
 

‎.github/scripts/on-push.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ if [ "$BUILD_PIO" -eq 0 ]; then
6969
FQBN_ESP32S3="espressif:esp32:esp32s3:PSRAM=opi,USBMode=default,PartitionScheme=huge_app"
7070
FQBN_ESP32C3="espressif:esp32:esp32c3:PartitionScheme=huge_app"
7171
FQBN_ESP32C6="espressif:esp32:esp32c6:PartitionScheme=huge_app"
72+
FQBN_ESP32H2="espressif:esp32:esp32h2:PartitionScheme=huge_app"
7273

7374
SKETCHES_ESP32="\
7475
$ARDUINO_ESP32_PATH/libraries/WiFiClientSecure/examples/WiFiClientSecure/WiFiClientSecure.ino\
@@ -87,6 +88,7 @@ if [ "$BUILD_PIO" -eq 0 ]; then
8788
build "esp32s2" $FQBN_ESP32S2 $CHUNK_INDEX $CHUNKS_CNT $SKETCHES_ESP32XX
8889
build "esp32c3" $FQBN_ESP32C3 $CHUNK_INDEX $CHUNKS_CNT $SKETCHES_ESP32XX
8990
build "esp32c6" $FQBN_ESP32C6 $CHUNK_INDEX $CHUNKS_CNT $SKETCHES_ESP32XX
91+
build "esp32h2" $FQBN_ESP32H2 $CHUNK_INDEX $CHUNKS_CNT $SKETCHES_ESP32XX
9092
build "esp32" $FQBN_ESP32 $CHUNK_INDEX $CHUNKS_CNT $SKETCHES_ESP32
9193
else
9294
source ${SCRIPTS_DIR}/install-platformio-esp32.sh

‎.github/scripts/sketch_utils.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ function build_sketch(){ # build_sketch <ide_path> <user_path> <path-to-ino> [ex
7575
esp32s3_opts="PSRAM=opi,USBMode=default,PartitionScheme=huge_app"
7676
esp32c3_opts="PartitionScheme=huge_app"
7777
esp32c6_opts="PartitionScheme=huge_app"
78+
esp32h2_opts="PartitionScheme=huge_app"
7879

7980
# Select the common part of the FQBN based on the target. The rest will be
8081
# appended depending on the passed options.
@@ -95,6 +96,9 @@ function build_sketch(){ # build_sketch <ide_path> <user_path> <path-to-ino> [ex
9596
"esp32c6")
9697
fqbn="espressif:esp32:esp32c6:${options:-$esp32c6_opts}"
9798
;;
99+
"esp32h2")
100+
fqbn="espressif:esp32:esp32h2:${options:-$esp32h2_opts}"
101+
;;
98102
esac
99103

100104
# Make it look like a JSON array.

0 commit comments

Comments
 (0)
Please sign in to comment.