|
|
|
@ -116,92 +116,19 @@ lib_deps = ${Faketec.lib_deps} |
|
|
|
adafruit/RTClib @ ^2.1.3 |
|
|
|
densaugeo/base64 @ ~1.4.0 |
|
|
|
|
|
|
|
[ProMicroLLCC68] |
|
|
|
extends = nrf52_base |
|
|
|
board = promicro_nrf52840 |
|
|
|
build_flags = ${nrf52_base.build_flags} |
|
|
|
-I variants/promicro |
|
|
|
-D PROMICROLLCC68 |
|
|
|
-D RADIO_CLASS=CustomLLCC68 |
|
|
|
-D WRAPPER_CLASS=CustomLLCC68Wrapper |
|
|
|
-D LORA_TX_POWER=22 |
|
|
|
-D SX126X_CURRENT_LIMIT=140 |
|
|
|
-D SX126X_RX_BOOSTED_GAIN=1 |
|
|
|
build_src_filter = |
|
|
|
${nrf52_base.build_src_filter} |
|
|
|
+<helpers/sensors> |
|
|
|
+<../variants/promicro> |
|
|
|
lib_deps= ${nrf52_base.lib_deps} |
|
|
|
adafruit/Adafruit INA3221 Library @ ^1.0.1 |
|
|
|
adafruit/Adafruit INA219 @ ^1.2.3 |
|
|
|
adafruit/Adafruit AHTX0 @ ^2.0.5 |
|
|
|
adafruit/Adafruit BME280 Library @ ^2.3.0 |
|
|
|
|
|
|
|
[env:ProMicroLLCC68_Repeater] |
|
|
|
extends = ProMicroLLCC68 |
|
|
|
build_src_filter = ${ProMicroLLCC68.build_src_filter} |
|
|
|
+<../examples/simple_repeater/main.cpp> |
|
|
|
build_flags = ${ProMicroLLCC68.build_flags} |
|
|
|
-D ADVERT_NAME='"ProMicroLLCC68 Repeater"' |
|
|
|
-D ADMIN_PASSWORD='"password"' |
|
|
|
-D MAX_NEIGHBOURS=8 |
|
|
|
; -D MESH_PACKET_LOGGING=1 |
|
|
|
; -D MESH_DEBUG=1 |
|
|
|
lib_deps = ${ProMicroLLCC68.lib_deps} |
|
|
|
adafruit/RTClib @ ^2.1.3 |
|
|
|
|
|
|
|
[env:ProMicroLLCC68_room_server] |
|
|
|
extends = ProMicroLLCC68 |
|
|
|
build_src_filter = ${ProMicroLLCC68.build_src_filter} |
|
|
|
+<../examples/simple_room_server/main.cpp> |
|
|
|
build_flags = ${ProMicroLLCC68.build_flags} |
|
|
|
-D ADVERT_NAME='"ProMicroLLCC68 Room"' |
|
|
|
[env:Faketec_sensor] |
|
|
|
extends = Faketec |
|
|
|
build_flags = |
|
|
|
${Faketec.build_flags} |
|
|
|
-D ADVERT_NAME='"Faketec Sensor"' |
|
|
|
-D ADVERT_LAT=0.0 |
|
|
|
-D ADVERT_LON=0.0 |
|
|
|
-D ADMIN_PASSWORD='"password"' |
|
|
|
-D ROOM_PASSWORD='"hello"' |
|
|
|
; -D MESH_PACKET_LOGGING=1 |
|
|
|
; -D MESH_DEBUG=1 |
|
|
|
lib_deps = ${ProMicroLLCC68.lib_deps} |
|
|
|
adafruit/RTClib @ ^2.1.3 |
|
|
|
|
|
|
|
[env:ProMicroLLCC68_terminal_chat] |
|
|
|
extends = ProMicroLLCC68 |
|
|
|
build_flags = ${ProMicroLLCC68.build_flags} |
|
|
|
-D MAX_CONTACTS=100 |
|
|
|
-D MAX_GROUP_CHANNELS=1 |
|
|
|
; -D MESH_PACKET_LOGGING=1 |
|
|
|
; -D MESH_DEBUG=1 |
|
|
|
build_src_filter = ${ProMicroLLCC68.build_src_filter} |
|
|
|
+<../examples/simple_secure_chat/main.cpp> |
|
|
|
lib_deps = ${ProMicroLLCC68.lib_deps} |
|
|
|
densaugeo/base64 @ ~1.4.0 |
|
|
|
adafruit/RTClib @ ^2.1.3 |
|
|
|
|
|
|
|
[env:ProMicroLLCC68_companion_radio_usb] |
|
|
|
extends = ProMicroLLCC68 |
|
|
|
build_flags = ${ProMicroLLCC68.build_flags} |
|
|
|
-D MAX_CONTACTS=100 |
|
|
|
-D MAX_GROUP_CHANNELS=8 |
|
|
|
; NOTE: DO NOT ENABLE --> -D MESH_PACKET_LOGGING=1 |
|
|
|
; NOTE: DO NOT ENABLE --> -D MESH_DEBUG=1 |
|
|
|
build_src_filter = ${ProMicroLLCC68.build_src_filter} |
|
|
|
+<../examples/companion_radio> |
|
|
|
lib_deps = ${ProMicroLLCC68.lib_deps} |
|
|
|
adafruit/RTClib @ ^2.1.3 |
|
|
|
densaugeo/base64 @ ~1.4.0 |
|
|
|
|
|
|
|
[env:ProMicroLLCC68_companion_radio_ble] |
|
|
|
extends = ProMicroLLCC68 |
|
|
|
build_flags = ${ProMicroLLCC68.build_flags} |
|
|
|
-D MAX_CONTACTS=100 |
|
|
|
-D MAX_GROUP_CHANNELS=8 |
|
|
|
-D BLE_PIN_CODE=123456 |
|
|
|
-D BLE_DEBUG_LOGGING=1 |
|
|
|
-D OFFLINE_QUEUE_SIZE=256 |
|
|
|
-D DISPLAY_CLASS=SSD1306Display |
|
|
|
; -D MESH_PACKET_LOGGING=1 |
|
|
|
; -D MESH_DEBUG=1 |
|
|
|
build_src_filter = ${ProMicroLLCC68.build_src_filter} |
|
|
|
+<helpers/nrf52/SerialBLEInterface.cpp> |
|
|
|
+<../examples/companion_radio> |
|
|
|
lib_deps = ${ProMicroLLCC68.lib_deps} |
|
|
|
adafruit/RTClib @ ^2.1.3 |
|
|
|
densaugeo/base64 @ ~1.4.0 |
|
|
|
build_src_filter = ${Faketec.build_src_filter} |
|
|
|
+<helpers/ui/SSD1306Display.cpp> |
|
|
|
+<../examples/simple_sensor> |
|
|
|
lib_deps = |
|
|
|
${Faketec.lib_deps} |
|
|
|
|