Makersense rp2040 variant fixes (#2997)

* WIP

* Do the right things

* Add to build matrix

* Yaml lint has annoyed me for the final time

* Fixes to variant
This commit is contained in:
Ben Meadors
2023-12-07 17:12:51 -06:00
committed by GitHub
parent a54e3826e9
commit 8f57cfaaf4
3 changed files with 59 additions and 22 deletions
+8 -20
View File
@@ -1,20 +1,9 @@
// #define RADIOLIB_CUSTOM_ARDUINO 1
// #define RADIOLIB_TONE_UNSUPPORTED 1
// #define RADIOLIB_SOFTWARE_SERIAL_UNSUPPORTED 1
#define ARDUINO_ARCH_AVR
#define USE_SSD1306 1
#define USE_SSD1306
#define BUTTON_PIN 2
#define I2C_SDA1 6
#define I2C_SCL1 7
#define PIN_SPI_MISO (16u)
#define PIN_SPI_MOSI (19u)
#define PIN_SPI_SCK (18u)
#define PIN_SPI_SS (17u)
#define BUTTON_NEED_PULLUP
#define LED_PIN PIN_LED
@@ -26,13 +15,12 @@
#undef LORA_CS
#define USE_RF95
#define LORA_SCK PIN_SPI_SCK
#define LORA_MISO PIN_SPI_MISO
#define LORA_MOSI PIN_SPI_MOSI
#define LORA_CS PIN_SPI_SS
#define LORA_SCK PIN_SPI0_SCK
#define LORA_MISO PIN_SPI0_MISO
#define LORA_MOSI PIN_SPI0_MOSI
#define LORA_CS PIN_SPI0_SS
#define LORA_DIO0 21
#define LORA_DIO1 22
#define LORA_DIO2 23
#define LORA_DIO5 24
#define LORA_RST 20
#define LORA_DIO2 RADIOLIB_NC
#define LORA_RESET 20