-
-
Notifications
You must be signed in to change notification settings - Fork 80
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
f325c54
commit ad6aed7
Showing
6 changed files
with
58 additions
and
15 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
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_SX1262 | ||
#define RADIO_SCLK_PIN 9 | ||
#define RADIO_MISO_PIN 11 | ||
#define RADIO_MOSI_PIN 10 | ||
#define RADIO_CS_PIN 8 | ||
#define RADIO_RST_PIN 12 | ||
#define RADIO_DIO1_PIN 14 | ||
#define RADIO_BUSY_PIN 13 | ||
|
||
// Display | ||
#define HAS_DISPLAY | ||
|
||
#undef OLED_SDA | ||
#undef OLED_SCL | ||
#undef OLED_RST | ||
|
||
#define OLED_SDA 17 | ||
#define OLED_SCL 18 | ||
#define OLED_RST 21 | ||
#define OLED_DISPLAY_HAS_RST_PIN | ||
|
||
// Aditional Config | ||
#define INTERNAL_LED_PIN 35 | ||
#define BATTERY_PIN 1 | ||
#define VEXT_CTRL 36 | ||
#define ADC_CTRL 37 | ||
#define BOARD_I2C_SDA 41 | ||
#define BOARD_I2C_SCL 42 | ||
|
||
#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_wifi_lora_32_V3_2] | ||
board = heltec_wifi_lora_32_V3 | ||
board_build.mcu = esp32s3 | ||
build_flags = | ||
${common.build_flags} | ||
-D HELTEC_V3_2 | ||
lib_deps = | ||
${common.lib_deps} | ||
${common.display_libs} |