Skip to content

Commit

Permalink
[ESP32-C6] build with Core 3.0.7
Browse files Browse the repository at this point in the history
  • Loading branch information
lyusupov committed Oct 24, 2024
1 parent 2b7ef9d commit f09c4bc
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,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.0.6 ;
arduino --install-boards esp32:esp32:3.0.7 ;
arduino --board $BOARD --save-prefs ;
arduino --pref "custom_CPUFreq=esp32c6_80" --save-prefs ;
arduino --pref "custom_DebugLevel=esp32c6_none" --save-prefs ;
Expand All @@ -218,7 +218,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.0.6 ;
# cd $HOME/.arduino15/packages/esp32/hardware/esp32/3.0.7 ;
# 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 Down
2 changes: 1 addition & 1 deletion 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.6**](https://github.com/espressif/arduino-esp32/releases/tag/3.0.6)<br>
For **ESP32-C6**:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[**3.0.7**](https://github.com/espressif/arduino-esp32/releases/tag/3.0.7)<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
Original file line number Diff line number Diff line change
Expand Up @@ -1093,7 +1093,9 @@ static void lr11xx_shutdown()
#endif

#if USE_LR11XX
int state = radio->sleep(false, 0);
int state = radio->standby(RADIOLIB_LR11X0_STANDBY_RC);
state = radio->setTCXO(0);
state = radio->sleep(false, 0);
#endif

SPI.end();
Expand Down
4 changes: 2 additions & 2 deletions software/firmware/source/SoftRF/src/platform/nRF52.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1228,9 +1228,9 @@ static void nRF52_setup()
if (imu_3.begin()) {
imu_3.softwareReset();
delay(5);
imu_3.setRange(SFE_QMA6100P_RANGE32G);
imu_3.setRange(SFE_QMA6100P_RANGE4G);
imu_3.enableAccel(true);
// imu_3.calibrateOffsets();
imu_3.calibrateOffsets();
// imu_3.setOffset();

hw_info.imu = ACC_QMA6100P;
Expand Down

0 comments on commit f09c4bc

Please sign in to comment.