diff --git a/variants/TROY_LoRa_APRS/board_pinout.h b/variants/TROY_LoRa_APRS/board_pinout.h new file mode 100644 index 0000000..07499d9 --- /dev/null +++ b/variants/TROY_LoRa_APRS/board_pinout.h @@ -0,0 +1,28 @@ +#ifndef BOARD_PINOUT_H_ +#define BOARD_PINOUT_H_ + + // LoRa Radio + #define HAS_SX1278 + #define RADIO_SCLK_PIN 5 + #define RADIO_MISO_PIN 19 + #define RADIO_MOSI_PIN 27 + #define RADIO_CS_PIN 18 + #define RADIO_RST_PIN 23 + #define RADIO_BUSY_PIN 26 + + // Display + #define HAS_DISPLAY + + #undef OLED_SDA + #undef OLED_SCL + #undef OLED_RST + + #define OLED_SDA 21 + #define OLED_SCL 22 + #define OLED_RST -1 + + // OTHER + #define INTERNAL_LED_PIN 2 + #define BATTERY_PIN 35 + +#endif \ No newline at end of file diff --git a/variants/TROY_LoRa_APRS/platformio.ini b/variants/TROY_LoRa_APRS/platformio.ini new file mode 100644 index 0000000..66c9d5a --- /dev/null +++ b/variants/TROY_LoRa_APRS/platformio.ini @@ -0,0 +1,8 @@ +[env:TROY_LoRa_APRS] +board = esp32dev +build_flags = + ${common.build_flags} + -D TROY_LoRa_APRS +lib_deps = + ${common.lib_deps} + ${common.display_libs} \ No newline at end of file