Skip to content

Commit

Permalink
[ESP32-C6/H2] build with Core 3.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
lyusupov committed Jun 6, 2024
1 parent f444fc5 commit 730235c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 8 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -205,17 +205,17 @@ 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.0.0 ;
arduino --install-boards esp32:esp32:3.0.1 ;
arduino --board $BOARD --save-prefs ;
arduino --pref "custom_CPUFreq=esp32c6_80" --save-prefs ;
arduino --pref "custom_DebugLevel=esp32c6_none" --save-prefs ;
arduino --pref "custom_FlashFreq=esp32c6_80" --save-prefs ;
arduino --pref "custom_FlashMode=esp32c6_dio" --save-prefs ;
arduino --pref "custom_FlashSize=esp32c6_4M" --save-prefs ;
arduino --pref "custom_PSRAM=esp32c6_enabled" --save-prefs ;
arduino --pref "custom_PartitionScheme=esp32c6_huge_app" --save-prefs ;
arduino --pref "custom_PartitionScheme=esp32c6_no_fs" --save-prefs ;
arduino --pref "custom_UploadSpeed=esp32c6_921600" --save-prefs ;
# cd $HOME/.arduino15/packages/esp32/hardware/esp32/3.0.0 ;
# cd $HOME/.arduino15/packages/esp32/hardware/esp32/3.0.1 ;
# 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 @@ -234,17 +234,17 @@ 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.0.0 ;
arduino --install-boards esp32:esp32:3.0.1 ;
arduino --board $BOARD --save-prefs ;
arduino --pref "custom_CPUFreq=esp32h2_80" --save-prefs ;
arduino --pref "custom_DebugLevel=esp32h2_none" --save-prefs ;
arduino --pref "custom_FlashFreq=esp32h2_64" --save-prefs ;
arduino --pref "custom_FlashMode=esp32h2_dio" --save-prefs ;
arduino --pref "custom_FlashSize=esp32h2_4M" --save-prefs ;
arduino --pref "custom_PSRAM=esp32h2_enabled" --save-prefs ;
arduino --pref "custom_PartitionScheme=esp32h2_huge_app" --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.0.0 ;
# cd $HOME/.arduino15/packages/esp32/hardware/esp32/3.0.1 ;
# sed -i "s\echo '-DARDUINO_CORE_BUILD'\echo -DARDUINO_CORE_BUILD\g" platform.txt ;
cd $GITHUB_WORKSPACE ;
fi
Expand Down
9 changes: 7 additions & 2 deletions software/firmware/source/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
For **ESP32**:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[**1.0.5**](https://github.com/espressif/arduino-esp32/releases/tag/1.0.5)<br>
For **ESP32-S3**:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[**2.0.9**](https://github.com/espressif/arduino-esp32/releases/tag/2.0.9)<br>
For **ESP32-C3**:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[**2.0.9**](https://github.com/espressif/arduino-esp32/releases/tag/2.0.9)<br>
For **ESP32-C6**:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[**3.0.0**](https://github.com/espressif/arduino-esp32/releases/tag/3.0.0)<br>
For **ESP32-C6**:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[**3.0.1**](https://github.com/espressif/arduino-esp32/releases/tag/3.0.1)<br>
2. Become familiar with IDE and **DoIt ESP32 DevKit** by building and uploading of a basic **Blink** sketch:<br>
```
int ledPin = 2; // use pin 14 for TTGO T-Beam rev.05 or higher
Expand Down Expand Up @@ -89,7 +89,12 @@ void loop()
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Select _Tools_ -> _Board_ -> _ESP32-C6_ _Dev_ _Module_<br>
10. Select _Tools_ -> _Flash_ _Mode_ -> _DIO_
11. Select _Tools_ -> _Flash_ _Size_ -> _4MB_
12. Select _Tools_ -> _Partition_ _Scheme_ -> _Minimal_ _SPIFFS_
12. For **ESP32**:<br>
For **ESP32-S3**:<br>
For **ESP32-C3**:<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Select _Tools_ -> _Partition_ _Scheme_ -> _Minimal_ _SPIFFS_<br>
For **ESP32-C6**:<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Select _Tools_ -> _Partition_ _Scheme_ -> _No_ _FS_ _4MB_ _(2MB_ _APP_ _x2)_<br>
13. Select _Tools_ -> _Flash_ _Frequency_ -> _80MHz_
14. Select _Tools_ -> _CPU_ _Frequency_ -> _80MHz_
15. Select _Tools_ -> _PSRAM_ -> _Enabled_
Expand Down

0 comments on commit 730235c

Please sign in to comment.