mirror of
https://github.com/meshtastic/firmware.git
synced 2025-07-31 02:45:41 +00:00

Some checks are pending
CI / setup (check) (push) Waiting to run
CI / setup (esp32) (push) Waiting to run
CI / setup (esp32c3) (push) Waiting to run
CI / setup (esp32c6) (push) Waiting to run
CI / setup (esp32s3) (push) Waiting to run
CI / setup (nrf52840) (push) Waiting to run
CI / setup (rp2040) (push) Waiting to run
CI / setup (stm32) (push) Waiting to run
CI / check (push) Blocked by required conditions
CI / build-esp32 (push) Blocked by required conditions
CI / build-esp32-s3 (push) Blocked by required conditions
CI / build-esp32-c3 (push) Blocked by required conditions
CI / build-esp32-c6 (push) Blocked by required conditions
CI / build-nrf52 (push) Blocked by required conditions
CI / build-rpi2040 (push) Blocked by required conditions
CI / build-stm32 (push) Blocked by required conditions
CI / build-debian-src (push) Waiting to run
CI / package-pio-deps-native-tft (push) Waiting to run
CI / test-native (push) Waiting to run
CI / docker-deb-amd64 (push) Waiting to run
CI / docker-deb-amd64-tft (push) Waiting to run
CI / docker-alp-amd64 (push) Waiting to run
CI / docker-alp-amd64-tft (push) Waiting to run
CI / docker-deb-arm64 (push) Waiting to run
CI / docker-deb-armv7 (push) Waiting to run
CI / gather-artifacts (esp32) (push) Blocked by required conditions
CI / gather-artifacts (esp32c3) (push) Blocked by required conditions
CI / gather-artifacts (esp32c6) (push) Blocked by required conditions
CI / gather-artifacts (esp32s3) (push) Blocked by required conditions
CI / gather-artifacts (nrf52840) (push) Blocked by required conditions
CI / gather-artifacts (rp2040) (push) Blocked by required conditions
CI / gather-artifacts (stm32) (push) Blocked by required conditions
CI / release-artifacts (push) Blocked by required conditions
CI / release-firmware (esp32) (push) Blocked by required conditions
CI / release-firmware (esp32c3) (push) Blocked by required conditions
CI / release-firmware (esp32c6) (push) Blocked by required conditions
CI / release-firmware (esp32s3) (push) Blocked by required conditions
CI / release-firmware (nrf52840) (push) Blocked by required conditions
CI / release-firmware (rp2040) (push) Blocked by required conditions
CI / release-firmware (stm32) (push) Blocked by required conditions
CI / publish-firmware (push) Blocked by required conditions
75 lines
1.5 KiB
C
75 lines
1.5 KiB
C
#define HAS_GPS 0
|
|
#undef GPS_RX_PIN
|
|
#undef GPS_TX_PIN
|
|
|
|
// #define HAS_SCREEN 0
|
|
|
|
// #define HAS_SDCARD
|
|
// #define SDCARD_USE_SPI1
|
|
|
|
#define USE_SSD1306
|
|
#define I2C_SDA 12
|
|
#define I2C_SCL 14
|
|
|
|
#define LED_PIN 46
|
|
#define LED_STATE_ON 0 // State when LED is litted
|
|
|
|
// #define BUTTON_PIN 15 // Pico OLED 1.3 User key 0 - removed User key 1 (17)
|
|
|
|
#define BUTTON_PIN 40
|
|
// #define BUTTON_PIN 0 // This is the BOOT button pad at the moment
|
|
// #define BUTTON_NEED_PULLUP
|
|
|
|
// #define USE_RF95 // RFM95/SX127x
|
|
|
|
#undef LORA_SCK
|
|
#undef LORA_MISO
|
|
#undef LORA_MOSI
|
|
#undef LORA_CS
|
|
|
|
// WaveShare Core1262-868M OK
|
|
// https://www.waveshare.com/wiki/Core1262-868M
|
|
#define USE_SX1262
|
|
|
|
#ifdef USE_SX1262
|
|
#define LORA_MISO 39
|
|
#define LORA_SCK 21
|
|
#define LORA_MOSI 38
|
|
#define LORA_CS 17
|
|
#define LORA_RESET 42
|
|
#define LORA_DIO1 5
|
|
#define LORA_BUSY 47
|
|
#define SX126X_CS LORA_CS
|
|
#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
|
|
#endif
|
|
|
|
// #define USE_SX1280
|
|
#ifdef USE_SX1280
|
|
#define LORA_MISO 1
|
|
#define LORA_SCK 3
|
|
#define LORA_MOSI 4
|
|
#define LORA_CS 2
|
|
#define LORA_RESET 17
|
|
#define LORA_DIO1 12
|
|
#define LORA_BUSY 47
|
|
#define SX128X_CS LORA_CS
|
|
#define SX128X_DIO1 LORA_DIO1
|
|
#define SX128X_BUSY LORA_BUSY
|
|
#define SX128X_RESET LORA_RESET
|
|
#endif
|
|
|
|
// #define USE_EINK
|
|
/*
|
|
* eink display pins
|
|
*/
|
|
// #define PIN_EINK_CS
|
|
// #define PIN_EINK_BUSY
|
|
// #define PIN_EINK_DC
|
|
// #define PIN_EINK_RES (-1)
|
|
// #define PIN_EINK_SCLK 3
|
|
// #define PIN_EINK_MOSI 4
|