Merge pull request #114 from cjkas/feat/esp32c3-build

build: bring back the ESP32-C3 build
This commit is contained in:
cjkas 2026-10-29 16:11:50 +01:00 • committed by GitHub
commit 9e8ac88893
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 30 additions and 17 deletions

View file

@ -474,12 +474,14 @@ void transceiver_config_t::load() {
this->CSNPin = 34;
break;
case esp_chip_model_t::CHIP_ESP32C3:
this->TXPin = 13;
this->RXPin = 12;
this->MOSIPin = 16;
this->MISOPin = 17;
this->SCKPin = 15;
this->CSNPin = 14;
// The framework's default SPI pins (variants/esp32c3). 12-17 hold the
// SPI flash, and 2, 8 and 9 are strapping pins.
this->TXPin = 10;
this->RXPin = 3;
this->MOSIPin = 6;
this->MISOPin = 5;
this->SCKPin = 4;
this->CSNPin = 7;
break;
#ifdef CONFIG_IDF_TARGET_ESP32C6
case esp_chip_model_t::CHIP_ESP32C6: