mirror of
https://github.com/meshtastic/firmware.git
synced 2026-01-05 17:40:51 +00:00
Simplify SX126x variant configuration (#2813)
* Update SX126xInterface.cpp * Update variant.h * Update variant.h * Update variant.h * Update variant.h * Update variant.h * Update variant.h * Update variant.h * Update variant.h * Update variant.h * Update variant.h * Update variant.h * Update variant.h * Update variant.h * Update variant.h * Update variant.h * Update variant.h * Update variant.h * Update variant.h * Update variant.h * Update variant.h * Update variant.h * Update variant.h * Update variant.h * Update variant.h * Update variant.h * Update variant.h * Update variant.h * Update variant.h * Update variant.h * Update variant.h * Update variant.h * Update variant.h * Update variant.h * Update variant.h * Update variant.h * Update variant.h * Update variant.h * Update variant.h * Update SX126xInterface.cpp * Update SX126xInterface.cpp * Update variant.h * Update variant.h * trunk fmt * trunk fmt * Update variant.h * trunk fmt * trunk fmt * Update variant.h * Update variant.h * Update variant.h * Update variant.h * Update variant.h * Update variant.h * Update variant.h * Update pins_arduino.h * Update pins_arduino.h * Update variant.h * Update variant.h * Update variant.h * Update variant.h * Update variant.h * Update variant.h * trunk fmt * Update variant.h * Update variant.h * Update variant.h * Update variant.h * trunk fmt * trunk fmt * Update variant.h * Update variant.h * Update variant.h * Update variant.h Specify behavior * Update variant.h Maintain behavior * trunk fmt * Update variant.h * Update variant.h * Update variant.h * Update variant.h * Update variant.h --------- Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
#define BUTTON_PIN 3 // M5Stack STAMP C3 built in button
|
||||
#define BUTTON_NEED_PULLUP
|
||||
|
||||
//#define HAS_SCREEN 0
|
||||
// #define HAS_SCREEN 0
|
||||
#define HAS_GPS 0
|
||||
#undef GPS_RX_PIN
|
||||
#undef GPS_TX_PIN
|
||||
@@ -28,45 +28,46 @@
|
||||
|
||||
// WaveShare Core1262-868M OK
|
||||
// https://www.waveshare.com/wiki/Core1262-868M
|
||||
//#define USE_SX1262
|
||||
//#define RF95_SCK 4
|
||||
//#define RF95_MISO 5
|
||||
//#define RF95_MOSI 6
|
||||
//#define RF95_NSS 7
|
||||
//#define LORA_DIO0 RADIOLIB_NC
|
||||
//#define LORA_RESET 8
|
||||
//#define LORA_DIO1 10
|
||||
//#define LORA_DIO2 RADIOLIB_NC
|
||||
//#define LORA_BUSY 18
|
||||
//#define SX126X_CS RF95_NSS
|
||||
//#define SX126X_DIO1 LORA_DIO1
|
||||
//#define SX126X_BUSY LORA_BUSY
|
||||
//#define SX126X_RESET LORA_RESET
|
||||
//#define SX126X_E22
|
||||
// #define USE_SX1262
|
||||
// #define RF95_SCK 4
|
||||
// #define RF95_MISO 5
|
||||
// #define RF95_MOSI 6
|
||||
// #define RF95_NSS 7
|
||||
// #define LORA_DIO0 RADIOLIB_NC
|
||||
// #define LORA_RESET 8
|
||||
// #define LORA_DIO1 10
|
||||
// #define LORA_DIO2 RADIOLIB_NC
|
||||
// #define LORA_BUSY 18
|
||||
// #define SX126X_CS RF95_NSS
|
||||
// #define SX126X_DIO1 LORA_DIO1
|
||||
// #define SX126X_BUSY LORA_BUSY
|
||||
// #define SX126X_RESET LORA_RESET
|
||||
// #define SX126X_DIO2_AS_RF_SWITCH
|
||||
// #define SX126X_DIO3_TCXO_VOLTAGE 1.8
|
||||
|
||||
// SX128X 2.4 Ghz LoRa module Not OK - RadioLib issue ? still to confirm
|
||||
//#define USE_SX1280
|
||||
//#define RF95_SCK 4
|
||||
//#define RF95_MISO 5
|
||||
//#define RF95_MOSI 6
|
||||
//#define RF95_NSS 7
|
||||
//#define LORA_DIO0 -1
|
||||
//#define LORA_DIO1 10
|
||||
//#define LORA_DIO2 21
|
||||
//#define LORA_RESET 8
|
||||
//#define LORA_BUSY 1
|
||||
//#define SX128X_CS RF95_NSS
|
||||
//#define SX128X_DIO1 LORA_DIO1
|
||||
//#define SX128X_BUSY LORA_BUSY
|
||||
//#define SX128X_RESET LORA_RESET
|
||||
//#define SX128X_MAX_POWER 10
|
||||
// #define USE_SX1280
|
||||
// #define RF95_SCK 4
|
||||
// #define RF95_MISO 5
|
||||
// #define RF95_MOSI 6
|
||||
// #define RF95_NSS 7
|
||||
// #define LORA_DIO0 -1
|
||||
// #define LORA_DIO1 10
|
||||
// #define LORA_DIO2 21
|
||||
// #define LORA_RESET 8
|
||||
// #define LORA_BUSY 1
|
||||
// #define SX128X_CS RF95_NSS
|
||||
// #define SX128X_DIO1 LORA_DIO1
|
||||
// #define SX128X_BUSY LORA_BUSY
|
||||
// #define SX128X_RESET LORA_RESET
|
||||
// #define SX128X_MAX_POWER 10
|
||||
|
||||
// Not yet tested
|
||||
//#define USE_EINK
|
||||
//#define PIN_EINK_EN -1 // N/C
|
||||
//#define PIN_EINK_CS 9 // EPD_CS
|
||||
//#define PIN_EINK_BUSY 18 // EPD_BUSY
|
||||
//#define PIN_EINK_DC 19 // EPD_D/C
|
||||
//#define PIN_EINK_RES -1 // Connected but not needed
|
||||
//#define PIN_EINK_SCLK 4 // EPD_SCLK
|
||||
//#define PIN_EINK_MOSI 6 // EPD_MOSI
|
||||
// #define USE_EINK
|
||||
// #define PIN_EINK_EN -1 // N/C
|
||||
// #define PIN_EINK_CS 9 // EPD_CS
|
||||
// #define PIN_EINK_BUSY 18 // EPD_BUSY
|
||||
// #define PIN_EINK_DC 19 // EPD_D/C
|
||||
// #define PIN_EINK_RES -1 // Connected but not needed
|
||||
// #define PIN_EINK_SCLK 4 // EPD_SCLK
|
||||
// #define PIN_EINK_MOSI 6 // EPD_MOSI
|
||||
|
||||
Reference in New Issue
Block a user