mirror of https://github.com/meshcore-dev/MeshCore
committed by
GitHub
7 changed files with 26 additions and 41 deletions
@ -1,40 +1,40 @@ |
|||||
[nrf52840_t114] |
[Heltec_t114] |
||||
extends = nrf52_base |
extends = nrf52_base |
||||
platform_packages = framework-arduinoadafruitnrf52 |
board = heltec_t114 |
||||
|
board_build.ldscript = boards/nrf52840_s140_v6.ld |
||||
build_flags = ${nrf52_base.build_flags} |
build_flags = ${nrf52_base.build_flags} |
||||
-I src/helpers/nrf52 |
|
||||
-I lib/nrf52/s140_nrf52_6.1.1_API/include |
-I lib/nrf52/s140_nrf52_6.1.1_API/include |
||||
-I lib/nrf52/s140_nrf52_6.1.1_API/include/nrf52 |
-I lib/nrf52/s140_nrf52_6.1.1_API/include/nrf52 |
||||
lib_deps = |
-I variants/heltec_t114 |
||||
${nrf52_base.lib_deps} |
|
||||
rweather/Crypto @ ^0.4.0 |
|
||||
|
|
||||
[Heltec_t114] |
|
||||
extends = nrf52840_t114 |
|
||||
board = heltec_t114 |
|
||||
board_build.ldscript = boards/nrf52840_s140_v6.ld |
|
||||
build_flags = ${nrf52840_t114.build_flags} |
|
||||
-I variants/t114 |
|
||||
-I src/helpers/ui |
-I src/helpers/ui |
||||
-DHELTEC_T114 |
-D HELTEC_T114 |
||||
|
-D P_LORA_DIO_1=20 |
||||
|
-D P_LORA_NSS=24 |
||||
|
-D P_LORA_RESET=25 |
||||
|
-D P_LORA_BUSY=17 |
||||
|
-D P_LORA_SCLK=19 |
||||
|
-D P_LORA_MISO=23 |
||||
|
-D P_LORA_MOSI=22 |
||||
-D P_LORA_TX_LED=35 |
-D P_LORA_TX_LED=35 |
||||
-D RADIO_CLASS=CustomSX1262 |
-D RADIO_CLASS=CustomSX1262 |
||||
-D WRAPPER_CLASS=CustomSX1262Wrapper |
-D WRAPPER_CLASS=CustomSX1262Wrapper |
||||
-D LORA_TX_POWER=22 |
-D LORA_TX_POWER=22 |
||||
|
-D SX126X_POWER_EN=37 |
||||
|
-D SX126X_DIO2_AS_RF_SWITCH=true |
||||
|
-D SX126X_DIO3_TCXO_VOLTAGE=1.8 |
||||
-D SX126X_CURRENT_LIMIT=140 |
-D SX126X_CURRENT_LIMIT=140 |
||||
-D SX126X_RX_BOOSTED_GAIN=1 |
-D SX126X_RX_BOOSTED_GAIN=1 |
||||
-D ST7789 |
-D ST7789 |
||||
-D DISPLAY_CLASS=ST7789Display |
-D DISPLAY_CLASS=ST7789Display |
||||
build_src_filter = ${nrf52840_t114.build_src_filter} |
build_src_filter = ${nrf52_base.build_src_filter} |
||||
+<helpers/*.cpp> |
+<helpers/*.cpp> |
||||
+<helpers/nrf52/T114Board.cpp> |
+<../variants/heltec_t114> |
||||
+<../variants/t114> |
|
||||
+<helpers/ui/ST7789Display.cpp> |
+<helpers/ui/ST7789Display.cpp> |
||||
+<helpers/ui/MomentaryButton.cpp> |
+<helpers/ui/MomentaryButton.cpp> |
||||
+<helpers/ui/OLEDDisplay.cpp> |
+<helpers/ui/OLEDDisplay.cpp> |
||||
+<helpers/ui/OLEDDisplayFonts.cpp> |
+<helpers/ui/OLEDDisplayFonts.cpp> |
||||
lib_deps = |
lib_deps = |
||||
${nrf52840_t114.lib_deps} |
${nrf52_base.lib_deps} |
||||
stevemarple/MicroNMEA @ ^2.0.6 |
stevemarple/MicroNMEA @ ^2.0.6 |
||||
adafruit/Adafruit GFX Library @ ^1.12.1 |
adafruit/Adafruit GFX Library @ ^1.12.1 |
||||
debug_tool = jlink |
debug_tool = jlink |
||||
Loading…
Reference in new issue