mirror of
https://github.com/rstrouse/ESPSomfy-RTS.git
synced 2026-04-20 11:02:14 +02:00
updated platformio.ini + add -D CHIP_ESP32C6
This commit is contained in:
parent
3e60dfeb21
commit
7524ce1d60
2 changed files with 3 additions and 0 deletions
|
|
@ -63,6 +63,7 @@ build_type = debug
|
|||
board_build.partitions = esp32_huge_app.csv
|
||||
build_flags =
|
||||
${env.build_flags}
|
||||
-D CHIP_ESP32C6
|
||||
-include "driver/gpio.h"
|
||||
lib_deps =
|
||||
; Low-Level libs, frameowrks and drivers
|
||||
|
|
|
|||
|
|
@ -158,9 +158,11 @@ bool ConfigSettings::begin() {
|
|||
case esp_chip_model_t::CHIP_ESP32C3:
|
||||
strcpy(this->chipModel, "c3");
|
||||
break;
|
||||
#ifdef CHIP_ESP32C6
|
||||
case esp_chip_model_t::CHIP_ESP32C6:
|
||||
strcpy(this->chipModel, "c6");
|
||||
break;
|
||||
#endif
|
||||
default:
|
||||
sprintf(this->chipModel, "UNK%d", static_cast<int>(ci.model));
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue