* Add heltec_mesh_tower_v2 board. * Added automatic detection for high and low power versions. * Fix low power consumption issues
28 lines
991 B
INI
28 lines
991 B
INI
; Heltec MeshTower V2 nrf52840/sx1262 device
|
|
[env:heltec-mesh-tower-v2]
|
|
custom_meshtastic_hw_model = 139
|
|
custom_meshtastic_hw_model_slug = HELTEC_MESH_TOWER_V2
|
|
custom_meshtastic_architecture = nrf52840
|
|
custom_meshtastic_actively_supported = false
|
|
custom_meshtastic_support_level = 1
|
|
custom_meshtastic_display_name = Heltec MeshTower V2
|
|
custom_meshtastic_images = heltec-mesh-tower-v2.svg
|
|
custom_meshtastic_tags = Heltec
|
|
|
|
extends = nrf52840_base
|
|
board = heltec_mesh_tower_v2
|
|
board_level = pr
|
|
debug_tool = jlink
|
|
|
|
# add -DCFG_SYSVIEW if you want to use the Segger systemview tool for OS profiling.
|
|
build_flags = ${nrf52840_base.build_flags}
|
|
-Ivariants/nrf52840/heltec_mesh_tower_v2
|
|
-DHELTEC_MESH_TOWER_V2
|
|
-D HAS_LORA_FEM=1
|
|
|
|
build_src_filter = ${nrf52_base.build_src_filter} +<../variants/nrf52840/heltec_mesh_tower_v2>
|
|
lib_deps =
|
|
${nrf52840_base.lib_deps}
|
|
# renovate: datasource=custom.pio depName=ArduinoJson packageName=bblanchon/library/ArduinoJson
|
|
bblanchon/ArduinoJson@6.21.6
|