-
-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
74e0688
commit 029be29
Showing
2 changed files
with
42 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
#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 | ||
#undef OLED_SDA | ||
#undef OLED_SCL | ||
#undef OLED_RST | ||
|
||
#define OLED_SDA 21 | ||
#define OLED_SCL 22 | ||
#define OLED_RST 16 | ||
|
||
// GPS | ||
#define GPS_RX 12 | ||
#define GPS_TX 34 | ||
|
||
// OTHER | ||
#define BUTTON_PIN 15 | ||
#define BATTERY_PIN 35 //LoRa32 Battery PIN 100k/100k | ||
|
||
#define HAS_BT_CLASSIC | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
[env:TROY_LoRa_APRS] | ||
extends = env:esp32 | ||
board = esp32dev | ||
build_flags = | ||
${common.build_flags} | ||
-D TROY_LoRa_APRS | ||
lib_deps = | ||
${common.lib_deps} | ||
${common.display_libs} | ||
adafruit/Adafruit SH110X @ 2.1.10 |