-
-
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
5e6c80d
commit 5d06ce3
Showing
5 changed files
with
48 additions
and
5 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
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
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
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,34 @@ | ||
#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 14 | ||
#define RADIO_BUSY_PIN 26 | ||
|
||
// Display | ||
#undef OLED_SDA | ||
#undef OLED_SCL | ||
#undef OLED_RST | ||
|
||
#define OLED_SDA 4 | ||
#define OLED_SCL 15 | ||
#define OLED_RST 16 | ||
|
||
// GPS | ||
#define HAS_NO_GPS | ||
#define GPS_RX -1 | ||
#define GPS_TX -1 | ||
|
||
// OTHER | ||
#define BATTERY_PIN 37 | ||
#define BUTTON_PIN 0 | ||
#define ADC_CTRL 21 | ||
|
||
#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,9 @@ | ||
[env:heltec-lora32-v2_TNC] | ||
extends = env:esp32 | ||
board = heltec_wifi_lora_32_V2 | ||
build_flags = | ||
${common.build_flags} | ||
-D HELTEC_V2_TNC | ||
lib_deps = | ||
${common.lib_deps} | ||
${common.display_libs} |