mirror of
https://github.com/meshtastic/firmware.git
synced 2025-04-23 17:13:38 +00:00
61 lines
1.5 KiB
C
61 lines
1.5 KiB
C
#define HAS_SCREEN 0
|
|
#define HAS_WIRE 0
|
|
#define HAS_GPS 0
|
|
#undef GPS_RX_PIN
|
|
#undef GPS_TX_PIN
|
|
|
|
#define PIN_SPI_MISO 33
|
|
#define PIN_SPI_MOSI 32
|
|
#define PIN_SPI_SCK 25
|
|
#define PIN_SPI_NSS 27
|
|
|
|
#define LORA_RESET 15
|
|
#define LORA_DIO1 37
|
|
#define LORA_DIO2 36
|
|
#define LORA_SCK PIN_SPI_SCK
|
|
#define LORA_MISO PIN_SPI_MISO
|
|
#define LORA_MOSI PIN_SPI_MOSI
|
|
#define LORA_CS PIN_SPI_NSS
|
|
|
|
// supported modules list
|
|
#define USE_LR1121
|
|
|
|
#define LR1121_IRQ_PIN LORA_DIO1
|
|
#define LR1121_NRESET_PIN LORA_RESET
|
|
#define LR1121_BUSY_PIN LORA_DIO2
|
|
#define LR1121_SPI_NSS_PIN LORA_CS
|
|
#define LR1121_SPI_SCK_PIN LORA_SCK
|
|
#define LR1121_SPI_MOSI_PIN LORA_MOSI
|
|
#define LR1121_SPI_MISO_PIN LORA_MISO
|
|
|
|
// this is correct and sets the cap for the Sub-GHz part
|
|
#define LR1110_MAX_POWER 5
|
|
// 2.4G Part
|
|
#define LR1120_MAX_POWER 5
|
|
|
|
#define POWER_SHIFT -20
|
|
|
|
// not yet implemented
|
|
#define JANUS_RADIO
|
|
#define LR1121_IRQ2_PIN 34
|
|
#define LR1121_NRESET2_PIN 21
|
|
#define LR1121_BUSY2_PIN 39
|
|
#define LR1121_SPI_NSS2_PIN 13
|
|
|
|
// TODO: check if this is correct
|
|
// #define LR11X0_DIO3_TCXO_VOLTAGE 1.6
|
|
#define LR11X0_DIO_AS_RF_SWITCH
|
|
|
|
#define HAS_NEOPIXEL // Enable the use of neopixels
|
|
#define NEOPIXEL_COUNT 2 // How many neopixels are connected
|
|
#define NEOPIXEL_DATA 22 // GPIO pin used to send data to the neopixels
|
|
#define NEOPIXEL_TYPE (NEO_GRB + NEO_KHZ800) // Type of neopixels in use
|
|
#define ENABLE_AMBIENTLIGHTING // Turn on Ambient Lighting
|
|
|
|
#define BUTTON_PIN 34
|
|
#define BUTTON_NEED_PULLUP
|
|
|
|
#undef EXT_NOTIFY_OUT
|
|
|
|
#define RADIO_FAN_EN 2
|