Browse Source

new add support of Meshpocket 5000 mah. variant with LiHV 4.35V battery

pull/1929/head
Mike B. 5 months ago
parent
commit
f06b25ce4e
  1. 26
      variants/mesh_pocket/platformio.ini

26
variants/mesh_pocket/platformio.ini

@ -81,6 +81,32 @@ build_flags =
; -D MESH_PACKET_LOGGING=1 ; -D MESH_PACKET_LOGGING=1
; -D MESH_DEBUG=1 ; -D MESH_DEBUG=1
build_src_filter = ${Mesh_pocket.build_src_filter}
+<helpers/nrf52/SerialBLEInterface.cpp>
+<../examples/companion_radio/*.cpp>
+<../examples/companion_radio/ui-new/*.cpp>
lib_deps =
${Mesh_pocket.lib_deps}
densaugeo/base64 @ ~1.4.0
[env:Mesh_pocket_5000_companion_ble]
extends = Mesh_pocket
board_build.ldscript = boards/nrf52840_s140_v6_extrafs.ld
board_upload.maximum_size = 712704
build_flags =
${Mesh_pocket.build_flags}
-I examples/companion_radio/ui-new
-D MAX_CONTACTS=350
-D MAX_GROUP_CHANNELS=40
-D BLE_PIN_CODE=123456
-D OFFLINE_QUEUE_SIZE=256
-D AUTO_OFF_MILLIS=0
; 4.35 Volts is usually upper indicated limit for LiHV
-D BATT_MAX_MILLIVOLTS=4350
; -D BLE_DEBUG_LOGGING=1
; -D MESH_PACKET_LOGGING=1
; -D MESH_DEBUG=1
build_src_filter = ${Mesh_pocket.build_src_filter} build_src_filter = ${Mesh_pocket.build_src_filter}
+<helpers/nrf52/SerialBLEInterface.cpp> +<helpers/nrf52/SerialBLEInterface.cpp>
+<../examples/companion_radio/*.cpp> +<../examples/companion_radio/*.cpp>

Loading…
Cancel
Save