mirror of
https://github.com/markqvist/RNode_Firmware.git
synced 2025-05-10 10:35:12 -04:00
Initial support for Seeed ESP32S3 with Wio-SX1262
Work in progress Status: Boots, display works on Xiao espansion base, radio is recognized Todo: PMU Firmware hash fails even if generated and then written Radio testing Buttons / LEDs other?
This commit is contained in:
parent
de35a9dda0
commit
bc97e513e8
3 changed files with 82 additions and 4 deletions
63
Boards.h
63
Boards.h
|
@ -65,6 +65,10 @@
|
|||
#define MODEL_DB 0xDB // LilyGO T-Beam Supreme, 433 MHz
|
||||
#define MODEL_DC 0xDC // LilyGO T-Beam Supreme, 868 MHz
|
||||
|
||||
#define PRODUCT_SEEED_XIAO_ESP32S3 0xEB
|
||||
#define BOARD_SEEED_XIAO_ESP32S3 0x3E
|
||||
#define MODEL_DD 0xDD
|
||||
|
||||
#define PRODUCT_T32_10 0xB2
|
||||
#define BOARD_LORA32_V1_0 0x39
|
||||
#define MODEL_BA 0xBA // LilyGO T3 v1.0, 433 MHz
|
||||
|
@ -140,6 +144,9 @@
|
|||
#endif
|
||||
#endif
|
||||
|
||||
// test build - KJB
|
||||
#define BOARD_MODEL BOARD_SEEED_XIAO_ESP32S3
|
||||
|
||||
#define HAS_DISPLAY false
|
||||
#define HAS_BLUETOOTH false
|
||||
#define HAS_BLE false
|
||||
|
@ -150,7 +157,8 @@
|
|||
#define HAS_INPUT false
|
||||
#define HAS_SLEEP false
|
||||
#define PIN_DISP_SLEEP -1
|
||||
#define VALIDATE_FIRMWARE true
|
||||
//#define VALIDATE_FIRMWARE true
|
||||
#define VALIDATE_FIRMWARE false
|
||||
|
||||
#if defined(ENABLE_TCXO)
|
||||
#define HAS_TCXO true
|
||||
|
@ -593,6 +601,59 @@
|
|||
#endif
|
||||
#endif
|
||||
|
||||
#elif BOARD_MODEL == BOARD_SEEED_XIAO_ESP32S3
|
||||
#define IS_ESP32S3 true
|
||||
#define MODEM SX1262
|
||||
#define DIO2_AS_RF_SWITCH true
|
||||
#define HAS_BUSY true
|
||||
#define HAS_TCXO true
|
||||
// #define OCP_TUNED 0x38
|
||||
|
||||
#define HAS_DISPLAY true
|
||||
// #define HAS_CONSOLE true
|
||||
#define HAS_BLUETOOTH false
|
||||
#define HAS_BLE true
|
||||
// #define HAS_PMU true
|
||||
#define HAS_NP false
|
||||
#define HAS_SD false
|
||||
#define HAS_EEPROM true
|
||||
|
||||
#define HAS_INPUT false
|
||||
#define HAS_SLEEP false
|
||||
|
||||
// #define PMU_IRQ 40
|
||||
// #define I2C_SCL 41
|
||||
// #define I2C_SDA 42
|
||||
|
||||
const int pin_btn_usr1 = 0;
|
||||
|
||||
const int pin_cs = 41; //16;
|
||||
const int pin_reset = 42; //14;
|
||||
const int pin_sclk = 7; //11;
|
||||
const int pin_mosi = 9; //15;
|
||||
const int pin_miso = 8; //13;
|
||||
const int pin_tcxo_enable = -1;
|
||||
const int pin_dio = 39; //21;
|
||||
const int pin_busy = 40; //18;
|
||||
|
||||
// const int SD_MISO = 37;
|
||||
// const int SD_MOSI = 35;
|
||||
// const int SD_CLK = 36;
|
||||
// const int SD_CS = 47;
|
||||
|
||||
// const int IMU_CS = 34;
|
||||
|
||||
// HAS LED/tx on board - 47
|
||||
#if HAS_NP == false
|
||||
#if defined(EXTERNAL_LEDS)
|
||||
const int pin_led_rx = -1;
|
||||
const int pin_led_tx = 48; //47;
|
||||
#else
|
||||
const int pin_led_rx = -1;
|
||||
const int pin_led_tx = 48; //47;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#else
|
||||
#error An unsupported ESP32 board was selected. Cannot compile RNode firmware.
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue