diff --git a/variants/XIAO_ESP32S3_WIO_SX1262/board_pinout.h b/variants/XIAO_ESP32S3_WIO_SX1262/board_pinout.h index c27523f..6488487 100644 --- a/variants/XIAO_ESP32S3_WIO_SX1262/board_pinout.h +++ b/variants/XIAO_ESP32S3_WIO_SX1262/board_pinout.h @@ -2,23 +2,19 @@ #define BOARD_PINOUT_H_ // LoRa Radio - #define HAS_SX1278 - #define RADIO_SCLK_PIN 15 - #define RADIO_MISO_PIN 13 - #define RADIO_MOSI_PIN 12 - #define RADIO_CS_PIN 14 - #define RADIO_RST_PIN 2 - #define RADIO_BUSY_PIN 25 + #define HAS_SX1262 + #define RADIO_SCLK_PIN 7 + #define RADIO_MISO_PIN 8 + #define RADIO_MOSI_PIN 9 + #define RADIO_CS_PIN 41 + #define RADIO_RST_PIN 42 + #define RADIO_DIO1_PIN 39 + #define RADIO_BUSY_PIN 40 - // Display - #define HAS_DISPLAY - - #undef OLED_SDA - #undef OLED_SCL - #undef OLED_RST - - #define OLED_SDA 5 - #define OLED_SCL 4 - #define OLED_RST -1 + #define RADIO_HAS_RF_SWITCH // DIO02 + #define RADIO_RF_SWITCH 38 + #define BUTTON_PIN 21 + #define INTERNAL_LED_PIN 48 + #endif \ No newline at end of file diff --git a/variants/XIAO_ESP32S3_WIO_SX1262/platformio.ini b/variants/XIAO_ESP32S3_WIO_SX1262/platformio.ini index 17d17cf..120e374 100644 --- a/variants/XIAO_ESP32S3_WIO_SX1262/platformio.ini +++ b/variants/XIAO_ESP32S3_WIO_SX1262/platformio.ini @@ -1,8 +1,7 @@ -[env:WEMOS-LOLIN32-OLED-DIY] -board = lolin32 +[env:XIAO_ESP32S3_WIO_SX1262] +board = seeed_xiao_esp32s3 build_flags = ${common.build_flags} - -D WEMOS_LOLIN32_OLED_DIY_LoRa + -D XIAO_ESP32S3_LORA lib_deps = - ${common.lib_deps} - ${common.display_libs} \ No newline at end of file + ${common.lib_deps} \ No newline at end of file