Skip to content

Commit

Permalink
[ESP32-C6/H2/P4] build with Core 3.2.0-RC1
Browse files Browse the repository at this point in the history
  • Loading branch information
lyusupov committed Feb 26, 2025
1 parent 4c014a3 commit e66383c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ jobs:
#fi
if [[ "$BOARD" =~ "esp32:esp32:esp32c6" ]]; then
arduino --pref "boardsmanager.additional.urls=https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_dev_index.json" --save-prefs ;
arduino --install-boards esp32:esp32:3.1.3 ;
arduino --install-boards esp32:esp32:3.2.0-RC1 ;
arduino --board $BOARD --save-prefs ;
arduino --pref "custom_CPUFreq=esp32c6_80" --save-prefs ;
arduino --pref "custom_DebugLevel=esp32c6_none" --save-prefs ;
Expand All @@ -224,7 +224,7 @@ jobs:
arduino --pref "custom_PSRAM=esp32c6_enabled" --save-prefs ;
arduino --pref "custom_PartitionScheme=esp32c6_huge_app" --save-prefs ;
arduino --pref "custom_UploadSpeed=esp32c6_921600" --save-prefs ;
# cd $HOME/.arduino15/packages/esp32/hardware/esp32/3.1.3 ;
# cd $HOME/.arduino15/packages/esp32/hardware/esp32/3.2.0-RC1 ;
# sed -i "s\echo '-DARDUINO_CORE_BUILD'\echo -DARDUINO_CORE_BUILD\g" platform.txt ;
wget https://github.com/h2zero/NimBLE-Arduino/archive/refs/tags/${NIM_BLE_VERSION}.tar.gz ;
# wget https://github.com/h2zero/NimBLE-Arduino/archive/refs/heads/${NIM_BLE_VERSION}.tar.gz ;
Expand All @@ -250,7 +250,7 @@ jobs:
#fi
if [[ "$BOARD" =~ "esp32:esp32:esp32h2" ]]; then
arduino --pref "boardsmanager.additional.urls=https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_dev_index.json" --save-prefs ;
arduino --install-boards esp32:esp32:3.1.3 ;
arduino --install-boards esp32:esp32:3.2.0-RC1 ;
arduino --board $BOARD --save-prefs ;
arduino --pref "custom_CPUFreq=esp32h2_80" --save-prefs ;
arduino --pref "custom_DebugLevel=esp32h2_none" --save-prefs ;
Expand All @@ -260,7 +260,7 @@ jobs:
arduino --pref "custom_PSRAM=esp32h2_enabled" --save-prefs ;
arduino --pref "custom_PartitionScheme=esp32h2_no_fs" --save-prefs ;
arduino --pref "custom_UploadSpeed=esp32h2_921600" --save-prefs ;
# cd $HOME/.arduino15/packages/esp32/hardware/esp32/3.1.3 ;
# cd $HOME/.arduino15/packages/esp32/hardware/esp32/3.2.0-RC1 ;
# sed -i "s\echo '-DARDUINO_CORE_BUILD'\echo -DARDUINO_CORE_BUILD\g" platform.txt ;
wget https://github.com/arduino-libraries/ArduinoBLE/archive/refs/tags/${ARDUINO_BLE_VERSION}.tar.gz ;
tar xzf ${ARDUINO_BLE_VERSION}.tar.gz ;
Expand All @@ -273,7 +273,7 @@ jobs:
fi
if [[ "$BOARD" =~ "esp32:esp32:esp32p4" ]]; then
arduino --pref "boardsmanager.additional.urls=https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_dev_index.json" --save-prefs ;
arduino --install-boards esp32:esp32:3.1.3 ;
arduino --install-boards esp32:esp32:3.2.0-RC1 ;
arduino --board $BOARD --save-prefs ;
arduino --pref "custom_CPUFreq=esp32p4_40" --save-prefs ;
arduino --pref "custom_DebugLevel=esp32p4_none" --save-prefs ;
Expand All @@ -283,7 +283,7 @@ jobs:
arduino --pref "custom_PSRAM=esp32p4_enabled" --save-prefs ;
arduino --pref "custom_PartitionScheme=esp32p4_no_fs" --save-prefs ;
arduino --pref "custom_UploadSpeed=esp32p4_921600" --save-prefs ;
# cd $HOME/.arduino15/packages/esp32/hardware/esp32/3.1.3 ;
# cd $HOME/.arduino15/packages/esp32/hardware/esp32/3.2.0-RC1 ;
# sed -i "s\echo '-DARDUINO_CORE_BUILD'\echo -DARDUINO_CORE_BUILD\g" platform.txt ;
cd $GITHUB_WORKSPACE ;
fi
Expand Down

0 comments on commit e66383c

Please sign in to comment.