diff --git a/variants/mesh_pocket/platformio.ini b/variants/mesh_pocket/platformio.ini index 52a0d835..dd08af0a 100644 --- a/variants/mesh_pocket/platformio.ini +++ b/variants/mesh_pocket/platformio.ini @@ -81,6 +81,32 @@ build_flags = ; -D MESH_PACKET_LOGGING=1 ; -D MESH_DEBUG=1 +build_src_filter = ${Mesh_pocket.build_src_filter} + + + +<../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} + +<../examples/companion_radio/*.cpp>