Migrate remaining variants to new dir structure (#7412)

This commit is contained in:
Austin
2025-07-21 20:28:14 -04:00
committed by GitHub
parent 29449a71d4
commit 6c12baf4ed
10 changed files with 4 additions and 5 deletions

View File

@@ -0,0 +1,9 @@
[env:tlora-c6]
extends = esp32c6_base
board = esp32-c6-devkitm-1
build_flags =
${esp32c6_base.build_flags}
-D TLORA_C6
-I variants/esp32c6/tlora_c6
-DARDUINO_USB_CDC_ON_BOOT=1
-DARDUINO_USB_MODE=1

View File

@@ -0,0 +1,21 @@
#define I2C_SDA 8 // I2C pins for this board
#define I2C_SCL 9
#define LED_PIN 7 // If defined we will blink this LED
#define LED_STATE_ON 0 // State when LED is lit
#define USE_SX1262
#define LORA_SCK 6
#define LORA_MISO 1
#define LORA_MOSI 0
#define LORA_CS 18
#define LORA_RESET 21
#define SX126X_CS LORA_CS
#define SX126X_DIO1 23
#define SX126X_DIO2 20
#define SX126X_BUSY 22
#define SX126X_RESET LORA_RESET
#define SX126X_RXEN 15
#define SX126X_TXEN 14
#define SX126X_DIO2_AS_RF_SWITCH
#define SX126X_DIO3_TCXO_VOLTAGE 1.8