|
|
@@ -32,13 +32,11 @@ build_flags = ${nrf52_base.build_flags}
|
|
|
build_src_filter = ${nrf52_base.build_src_filter}
|
|
|
+<helpers/*.cpp>
|
|
|
+<helpers/sensors>
|
|
|
- +<helpers/nrf52/SenseCapSolarBoard.cpp>
|
|
|
- +<../variants/SenseCap_Solar>
|
|
|
+ +<../variants/sensecap_solar>
|
|
|
debug_tool = jlink
|
|
|
upload_protocol = nrfutil
|
|
|
lib_deps =
|
|
|
${nrf52_base.lib_deps}
|
|
|
- rweather/Crypto @ ^0.4.0
|
|
|
adafruit/Adafruit INA3221 Library @ ^1.0.1
|
|
|
adafruit/Adafruit INA219 @ ^1.2.3
|
|
|
adafruit/Adafruit AHTX0 @ ^2.0.5
|
|
|
@@ -72,4 +70,37 @@ build_flags =
|
|
|
; -D MESH_PACKET_LOGGING=1
|
|
|
; -D MESH_DEBUG=1
|
|
|
build_src_filter = ${SenseCap_Solar.build_src_filter}
|
|
|
- +<../examples/simple_room_server/main.cpp>
|
|
|
+ +<../examples/simple_room_server/main.cpp>
|
|
|
+
|
|
|
+[env:SenseCap_Solar_companion_radio_ble]
|
|
|
+extends = SenseCap_Solar
|
|
|
+build_flags =
|
|
|
+ ${SenseCap_Solar.build_flags}
|
|
|
+ -D MAX_CONTACTS=100
|
|
|
+ -D MAX_GROUP_CHANNELS=8
|
|
|
+ -D BLE_PIN_CODE=123456
|
|
|
+ -D OFFLINE_QUEUE_SIZE=256
|
|
|
+; -D BLE_DEBUG_LOGGING=1
|
|
|
+; -D MESH_PACKET_LOGGING=1
|
|
|
+; -D MESH_DEBUG=1
|
|
|
+build_src_filter = ${SenseCap_Solar.build_src_filter}
|
|
|
+ +<helpers/nrf52/SerialBLEInterface.cpp>
|
|
|
+ +<../examples/companion_radio>
|
|
|
+lib_deps =
|
|
|
+ ${SenseCap_Solar.lib_deps}
|
|
|
+ densaugeo/base64 @ ~1.4.0
|
|
|
+
|
|
|
+[env:SenseCap_Solar_companion_radio_usb]
|
|
|
+extends = SenseCap_Solar
|
|
|
+build_flags =
|
|
|
+ ${SenseCap_Solar.build_flags}
|
|
|
+ -D MAX_CONTACTS=100
|
|
|
+ -D MAX_GROUP_CHANNELS=8
|
|
|
+; -D MESH_PACKET_LOGGING=1
|
|
|
+; -D MESH_DEBUG=1
|
|
|
+build_src_filter = ${SenseCap_Solar.build_src_filter}
|
|
|
+ +<helpers/nrf52/SerialBLEInterface.cpp>
|
|
|
+ +<../examples/companion_radio>
|
|
|
+lib_deps =
|
|
|
+ ${SenseCap_Solar.lib_deps}
|
|
|
+ densaugeo/base64 @ ~1.4.0
|