build pass for esp32c6, added dependencies.lock

This commit is contained in:
Shailen Sobhee 2026-04-05 21:06:48 +02:00
parent 7524ce1d60
commit 25f6195bbc
8 changed files with 359 additions and 12 deletions

6
src/CMakeLists.txt Normal file
View file

@ -0,0 +1,6 @@
# This file was automatically generated for projects
# without default 'CMakeLists.txt' file.
FILE(GLOB_RECURSE app_sources ${CMAKE_SOURCE_DIR}/src/*.*)
idf_component_register(SRCS ${app_sources})

View file

@ -158,7 +158,7 @@ bool ConfigSettings::begin() {
case esp_chip_model_t::CHIP_ESP32C3:
strcpy(this->chipModel, "c3");
break;
#ifdef CHIP_ESP32C6
#ifdef CONFIG_IDF_TARGET_ESP32C6
case esp_chip_model_t::CHIP_ESP32C6:
strcpy(this->chipModel, "c6");
break;

View file

@ -4712,8 +4712,9 @@ void transceiver_config_t::load() {
this->SCKPin = 15;
this->CSNPin = 14;
break;
#ifdef CONFIG_IDF_TARGET_ESP32C6
case esp_chip_model_t::CHIP_ESP32C6:
// Pinout applicable for the ESP32-C6-WROOM-1 module (ESP32-C6-DevKitC-1-N4)
// Pinout applicable for the ESP32-C6-WROOM-1 module (ESP32-C6-DevKitC-1-N4)
this->TXPin = 10;
this->RXPin = 10;
this->MOSIPin = 7;
@ -4721,6 +4722,7 @@ void transceiver_config_t::load() {
this->SCKPin = 6;
this->CSNPin = 0;
break;
#endif
default:
this->TXPin = 13;
this->RXPin = 12;

2
src/idf_component.yml Normal file
View file

@ -0,0 +1,2 @@
dependencies:
idf: '>=5.1'