|
|
|
@ -1,9 +1,9 @@ |
|
|
|
[Faketec] |
|
|
|
[Promicro] |
|
|
|
extends = nrf52_base |
|
|
|
board = promicro_nrf52840 |
|
|
|
build_flags = ${nrf52_base.build_flags} |
|
|
|
-I variants/promicro |
|
|
|
-D FAKETEC |
|
|
|
-D PROMICRO |
|
|
|
-D RADIO_CLASS=CustomSX1262 |
|
|
|
-D WRAPPER_CLASS=CustomSX1262Wrapper |
|
|
|
-D LORA_TX_POWER=22 |
|
|
|
@ -34,14 +34,14 @@ lib_deps= ${nrf52_base.lib_deps} |
|
|
|
adafruit/Adafruit BMP280 Library@^2.6.8 |
|
|
|
stevemarple/MicroNMEA @ ^2.0.6 |
|
|
|
|
|
|
|
[env:Faketec_repeater] |
|
|
|
extends = Faketec |
|
|
|
build_src_filter = ${Faketec.build_src_filter} |
|
|
|
[env:ProMicro_repeater] |
|
|
|
extends = Promicro |
|
|
|
build_src_filter = ${Promicro.build_src_filter} |
|
|
|
+<../examples/simple_repeater> |
|
|
|
+<helpers/ui/SSD1306Display.cpp> |
|
|
|
+<helpers/ui/MomentaryButton.cpp> |
|
|
|
build_flags = |
|
|
|
${Faketec.build_flags} |
|
|
|
${Promicro.build_flags} |
|
|
|
-D ADVERT_NAME='"Faketec Repeater"' |
|
|
|
-D ADVERT_LAT=0.0 |
|
|
|
-D ADVERT_LON=0.0 |
|
|
|
@ -50,16 +50,16 @@ build_flags = |
|
|
|
-D DISPLAY_CLASS=SSD1306Display |
|
|
|
; -D MESH_PACKET_LOGGING=1 |
|
|
|
; -D MESH_DEBUG=1 |
|
|
|
lib_deps = ${Faketec.lib_deps} |
|
|
|
lib_deps = ${Promicro.lib_deps} |
|
|
|
adafruit/RTClib @ ^2.1.3 |
|
|
|
|
|
|
|
[env:Faketec_room_server] |
|
|
|
extends = Faketec |
|
|
|
build_src_filter = ${Faketec.build_src_filter} |
|
|
|
[env:ProMicro_room_server] |
|
|
|
extends = Promicro |
|
|
|
build_src_filter = ${Promicro.build_src_filter} |
|
|
|
+<../examples/simple_room_server> |
|
|
|
+<helpers/ui/SSD1306Display.cpp> |
|
|
|
+<helpers/ui/MomentaryButton.cpp> |
|
|
|
build_flags = ${Faketec.build_flags} |
|
|
|
build_flags = ${Promicro.build_flags} |
|
|
|
-D ADVERT_NAME='"Faketec Room"' |
|
|
|
-D ADVERT_LAT=0.0 |
|
|
|
-D ADVERT_LON=0.0 |
|
|
|
@ -68,47 +68,47 @@ build_flags = ${Faketec.build_flags} |
|
|
|
-D DISPLAY_CLASS=SSD1306Display |
|
|
|
; -D MESH_PACKET_LOGGING=1 |
|
|
|
; -D MESH_DEBUG=1 |
|
|
|
lib_deps = ${Faketec.lib_deps} |
|
|
|
lib_deps = ${Promicro.lib_deps} |
|
|
|
adafruit/RTClib @ ^2.1.3 |
|
|
|
|
|
|
|
[env:Faketec_terminal_chat] |
|
|
|
extends = Faketec |
|
|
|
build_flags = ${Faketec.build_flags} |
|
|
|
[env:ProMicro_terminal_chat] |
|
|
|
extends = Promicro |
|
|
|
build_flags = ${Promicro.build_flags} |
|
|
|
-D MAX_CONTACTS=100 |
|
|
|
-D MAX_GROUP_CHANNELS=1 |
|
|
|
; -D MESH_PACKET_LOGGING=1 |
|
|
|
; -D MESH_DEBUG=1 |
|
|
|
build_src_filter = ${Faketec.build_src_filter} |
|
|
|
build_src_filter = ${Promicro.build_src_filter} |
|
|
|
+<../examples/simple_secure_chat/main.cpp> |
|
|
|
lib_deps = ${Faketec.lib_deps} |
|
|
|
lib_deps = ${Promicro.lib_deps} |
|
|
|
densaugeo/base64 @ ~1.4.0 |
|
|
|
adafruit/RTClib @ ^2.1.3 |
|
|
|
|
|
|
|
[env:Faketec_companion_radio_usb] |
|
|
|
extends = Faketec |
|
|
|
[env:ProMicro_companion_radio_usb] |
|
|
|
extends = Promicro |
|
|
|
board_build.ldscript = boards/nrf52840_s140_v6_extrafs.ld |
|
|
|
board_upload.maximum_size = 712704 |
|
|
|
build_flags = ${Faketec.build_flags} |
|
|
|
build_flags = ${Promicro.build_flags} |
|
|
|
-I examples/companion_radio/ui-new |
|
|
|
-D MAX_CONTACTS=350 |
|
|
|
-D MAX_GROUP_CHANNELS=40 |
|
|
|
-D DISPLAY_CLASS=SSD1306Display |
|
|
|
; NOTE: DO NOT ENABLE --> -D MESH_PACKET_LOGGING=1 |
|
|
|
; NOTE: DO NOT ENABLE --> -D MESH_DEBUG=1 |
|
|
|
build_src_filter = ${Faketec.build_src_filter} |
|
|
|
build_src_filter = ${Promicro.build_src_filter} |
|
|
|
+<helpers/ui/SSD1306Display.cpp> |
|
|
|
+<helpers/ui/MomentaryButton.cpp> |
|
|
|
+<../examples/companion_radio/*.cpp> |
|
|
|
+<../examples/companion_radio/ui-new/*.cpp> |
|
|
|
lib_deps = ${Faketec.lib_deps} |
|
|
|
lib_deps = ${Promicro.lib_deps} |
|
|
|
adafruit/RTClib @ ^2.1.3 |
|
|
|
densaugeo/base64 @ ~1.4.0 |
|
|
|
|
|
|
|
[env:Faketec_companion_radio_ble] |
|
|
|
extends = Faketec |
|
|
|
[env:ProMicro_companion_radio_ble] |
|
|
|
extends = Promicro |
|
|
|
board_build.ldscript = boards/nrf52840_s140_v6_extrafs.ld |
|
|
|
board_upload.maximum_size = 712704 |
|
|
|
build_flags = ${Faketec.build_flags} |
|
|
|
build_flags = ${Promicro.build_flags} |
|
|
|
-I examples/companion_radio/ui-new |
|
|
|
-D MAX_CONTACTS=350 |
|
|
|
-D MAX_GROUP_CHANNELS=40 |
|
|
|
@ -118,20 +118,20 @@ build_flags = ${Faketec.build_flags} |
|
|
|
-D DISPLAY_CLASS=SSD1306Display |
|
|
|
; -D MESH_PACKET_LOGGING=1 |
|
|
|
-D MESH_DEBUG=1 |
|
|
|
build_src_filter = ${Faketec.build_src_filter} |
|
|
|
build_src_filter = ${Promicro.build_src_filter} |
|
|
|
+<helpers/nrf52/SerialBLEInterface.cpp> |
|
|
|
+<helpers/ui/SSD1306Display.cpp> |
|
|
|
+<helpers/ui/MomentaryButton.cpp> |
|
|
|
+<../examples/companion_radio/*.cpp> |
|
|
|
+<../examples/companion_radio/ui-new/*.cpp> |
|
|
|
lib_deps = ${Faketec.lib_deps} |
|
|
|
lib_deps = ${Promicro.lib_deps} |
|
|
|
adafruit/RTClib @ ^2.1.3 |
|
|
|
densaugeo/base64 @ ~1.4.0 |
|
|
|
|
|
|
|
[env:Faketec_sensor] |
|
|
|
extends = Faketec |
|
|
|
[env:ProMicro_sensor] |
|
|
|
extends = Promicro |
|
|
|
build_flags = |
|
|
|
${Faketec.build_flags} |
|
|
|
${Promicro.build_flags} |
|
|
|
-D ADVERT_NAME='"Faketec Sensor"' |
|
|
|
-D ADVERT_LAT=0.0 |
|
|
|
-D ADVERT_LON=0.0 |
|
|
|
@ -139,9 +139,9 @@ build_flags = |
|
|
|
-D DISPLAY_CLASS=SSD1306Display |
|
|
|
; -D MESH_PACKET_LOGGING=1 |
|
|
|
; -D MESH_DEBUG=1 |
|
|
|
build_src_filter = ${Faketec.build_src_filter} |
|
|
|
build_src_filter = ${Promicro.build_src_filter} |
|
|
|
+<helpers/ui/SSD1306Display.cpp> |
|
|
|
+<helpers/ui/MomentaryButton.cpp> |
|
|
|
+<../examples/simple_sensor> |
|
|
|
lib_deps = |
|
|
|
${Faketec.lib_deps} |
|
|
|
${Promicro.lib_deps} |
|
|
|
|