|
|
@ -36,11 +36,10 @@ lib_deps = |
|
|
${esp32_base.lib_deps} |
|
|
${esp32_base.lib_deps} |
|
|
${sensor_base.lib_deps} |
|
|
${sensor_base.lib_deps} |
|
|
|
|
|
|
|
|
[env:RAK3112_repeater] |
|
|
[env:RAK_3112_repeater] |
|
|
extends = rak3112 |
|
|
extends = rak3112 |
|
|
build_flags = |
|
|
build_flags = |
|
|
${rak3112.build_flags} |
|
|
${rak3112.build_flags} |
|
|
-D DISPLAY_CLASS=SSD1306Display |
|
|
|
|
|
-D ADVERT_NAME='"RAK3112 Repeater"' |
|
|
-D ADVERT_NAME='"RAK3112 Repeater"' |
|
|
-D ADVERT_LAT=0.0 |
|
|
-D ADVERT_LAT=0.0 |
|
|
-D ADVERT_LON=0.0 |
|
|
-D ADVERT_LON=0.0 |
|
|
@ -49,18 +48,16 @@ build_flags = |
|
|
; -D MESH_PACKET_LOGGING=1 |
|
|
; -D MESH_PACKET_LOGGING=1 |
|
|
; -D MESH_DEBUG=1 |
|
|
; -D MESH_DEBUG=1 |
|
|
build_src_filter = ${rak3112.build_src_filter} |
|
|
build_src_filter = ${rak3112.build_src_filter} |
|
|
+<helpers/ui/SSD1306Display.cpp> |
|
|
|
|
|
+<../examples/simple_repeater> |
|
|
+<../examples/simple_repeater> |
|
|
lib_deps = |
|
|
lib_deps = |
|
|
${rak3112.lib_deps} |
|
|
${rak3112.lib_deps} |
|
|
${esp32_ota.lib_deps} |
|
|
${esp32_ota.lib_deps} |
|
|
bakercp/CRC32 @ ^2.0.0 |
|
|
bakercp/CRC32 @ ^2.0.0 |
|
|
|
|
|
|
|
|
[env:RAK3112_repeater_bridge_rs232] |
|
|
[env:RAK_3112_repeater_bridge_rs232] |
|
|
extends = rak3112 |
|
|
extends = rak3112 |
|
|
build_flags = |
|
|
build_flags = |
|
|
${rak3112.build_flags} |
|
|
${rak3112.build_flags} |
|
|
-D DISPLAY_CLASS=SSD1306Display |
|
|
|
|
|
-D ADVERT_NAME='"RS232 Bridge"' |
|
|
-D ADVERT_NAME='"RS232 Bridge"' |
|
|
-D ADVERT_LAT=0.0 |
|
|
-D ADVERT_LAT=0.0 |
|
|
-D ADVERT_LON=0.0 |
|
|
-D ADVERT_LON=0.0 |
|
|
@ -74,17 +71,15 @@ build_flags = |
|
|
; -D MESH_DEBUG=1 |
|
|
; -D MESH_DEBUG=1 |
|
|
build_src_filter = ${rak3112.build_src_filter} |
|
|
build_src_filter = ${rak3112.build_src_filter} |
|
|
+<helpers/bridges/RS232Bridge.cpp> |
|
|
+<helpers/bridges/RS232Bridge.cpp> |
|
|
+<helpers/ui/SSD1306Display.cpp> |
|
|
|
|
|
+<../examples/simple_repeater> |
|
|
+<../examples/simple_repeater> |
|
|
lib_deps = |
|
|
lib_deps = |
|
|
${rak3112.lib_deps} |
|
|
${rak3112.lib_deps} |
|
|
${esp32_ota.lib_deps} |
|
|
${esp32_ota.lib_deps} |
|
|
|
|
|
|
|
|
[env:RAK3112_repeater_bridge_espnow] |
|
|
[env:RAK_3112_repeater_bridge_espnow] |
|
|
extends = rak3112 |
|
|
extends = rak3112 |
|
|
build_flags = |
|
|
build_flags = |
|
|
${rak3112.build_flags} |
|
|
${rak3112.build_flags} |
|
|
-D DISPLAY_CLASS=SSD1306Display |
|
|
|
|
|
-D ADVERT_NAME='"ESPNow Bridge"' |
|
|
-D ADVERT_NAME='"ESPNow Bridge"' |
|
|
-D ADVERT_LAT=0.0 |
|
|
-D ADVERT_LAT=0.0 |
|
|
-D ADVERT_LON=0.0 |
|
|
-D ADVERT_LON=0.0 |
|
|
@ -96,17 +91,15 @@ build_flags = |
|
|
; -D MESH_DEBUG=1 |
|
|
; -D MESH_DEBUG=1 |
|
|
build_src_filter = ${rak3112.build_src_filter} |
|
|
build_src_filter = ${rak3112.build_src_filter} |
|
|
+<helpers/bridges/ESPNowBridge.cpp> |
|
|
+<helpers/bridges/ESPNowBridge.cpp> |
|
|
+<helpers/ui/SSD1306Display.cpp> |
|
|
|
|
|
+<../examples/simple_repeater> |
|
|
+<../examples/simple_repeater> |
|
|
lib_deps = |
|
|
lib_deps = |
|
|
${rak3112.lib_deps} |
|
|
${rak3112.lib_deps} |
|
|
${esp32_ota.lib_deps} |
|
|
${esp32_ota.lib_deps} |
|
|
|
|
|
|
|
|
[env:RAK3112_room_server] |
|
|
[env:RAK_3112_room_server] |
|
|
extends = rak3112 |
|
|
extends = rak3112 |
|
|
build_flags = |
|
|
build_flags = |
|
|
${rak3112.build_flags} |
|
|
${rak3112.build_flags} |
|
|
-D DISPLAY_CLASS=SSD1306Display |
|
|
|
|
|
-D ADVERT_NAME='"RAK3112 Room"' |
|
|
-D ADVERT_NAME='"RAK3112 Room"' |
|
|
-D ADVERT_LAT=0.0 |
|
|
-D ADVERT_LAT=0.0 |
|
|
-D ADVERT_LON=0.0 |
|
|
-D ADVERT_LON=0.0 |
|
|
@ -115,13 +108,12 @@ build_flags = |
|
|
; -D MESH_PACKET_LOGGING=1 |
|
|
; -D MESH_PACKET_LOGGING=1 |
|
|
; -D MESH_DEBUG=1 |
|
|
; -D MESH_DEBUG=1 |
|
|
build_src_filter = ${rak3112.build_src_filter} |
|
|
build_src_filter = ${rak3112.build_src_filter} |
|
|
+<helpers/ui/SSD1306Display.cpp> |
|
|
|
|
|
+<../examples/simple_room_server> |
|
|
+<../examples/simple_room_server> |
|
|
lib_deps = |
|
|
lib_deps = |
|
|
${rak3112.lib_deps} |
|
|
${rak3112.lib_deps} |
|
|
${esp32_ota.lib_deps} |
|
|
${esp32_ota.lib_deps} |
|
|
|
|
|
|
|
|
[env:RAK3112_terminal_chat] |
|
|
[env:RAK_3112_terminal_chat] |
|
|
extends = rak3112 |
|
|
extends = rak3112 |
|
|
build_flags = |
|
|
build_flags = |
|
|
${rak3112.build_flags} |
|
|
${rak3112.build_flags} |
|
|
@ -135,33 +127,29 @@ lib_deps = |
|
|
${rak3112.lib_deps} |
|
|
${rak3112.lib_deps} |
|
|
densaugeo/base64 @ ~1.4.0 |
|
|
densaugeo/base64 @ ~1.4.0 |
|
|
|
|
|
|
|
|
[env:RAK3112_companion_radio_usb] |
|
|
[env:RAK_3112_companion_radio_usb] |
|
|
extends = rak3112 |
|
|
extends = rak3112 |
|
|
build_flags = |
|
|
build_flags = |
|
|
${rak3112.build_flags} |
|
|
${rak3112.build_flags} |
|
|
-I examples/companion_radio/ui-new |
|
|
-I examples/companion_radio/ui-new |
|
|
-D MAX_CONTACTS=350 |
|
|
-D MAX_CONTACTS=350 |
|
|
-D MAX_GROUP_CHANNELS=40 |
|
|
-D MAX_GROUP_CHANNELS=40 |
|
|
-D DISPLAY_CLASS=SSD1306Display |
|
|
|
|
|
; NOTE: DO NOT ENABLE --> -D MESH_PACKET_LOGGING=1 |
|
|
; NOTE: DO NOT ENABLE --> -D MESH_PACKET_LOGGING=1 |
|
|
; NOTE: DO NOT ENABLE --> -D MESH_DEBUG=1 |
|
|
; NOTE: DO NOT ENABLE --> -D MESH_DEBUG=1 |
|
|
build_src_filter = ${rak3112.build_src_filter} |
|
|
build_src_filter = ${rak3112.build_src_filter} |
|
|
+<helpers/ui/SSD1306Display.cpp> |
|
|
|
|
|
+<helpers/ui/MomentaryButton.cpp> |
|
|
|
|
|
+<../examples/companion_radio/*.cpp> |
|
|
+<../examples/companion_radio/*.cpp> |
|
|
+<../examples/companion_radio/ui-new/*.cpp> |
|
|
+<../examples/companion_radio/ui-new/*.cpp> |
|
|
lib_deps = |
|
|
lib_deps = |
|
|
${rak3112.lib_deps} |
|
|
${rak3112.lib_deps} |
|
|
densaugeo/base64 @ ~1.4.0 |
|
|
densaugeo/base64 @ ~1.4.0 |
|
|
|
|
|
|
|
|
[env:RAK3112_companion_radio_ble] |
|
|
[env:RAK_3112_companion_radio_ble] |
|
|
extends = rak3112 |
|
|
extends = rak3112 |
|
|
build_flags = |
|
|
build_flags = |
|
|
${rak3112.build_flags} |
|
|
${rak3112.build_flags} |
|
|
-I examples/companion_radio/ui-new |
|
|
-I examples/companion_radio/ui-new |
|
|
-D MAX_CONTACTS=350 |
|
|
-D MAX_CONTACTS=350 |
|
|
-D MAX_GROUP_CHANNELS=40 |
|
|
-D MAX_GROUP_CHANNELS=40 |
|
|
-D DISPLAY_CLASS=SSD1306Display |
|
|
|
|
|
-D BLE_PIN_CODE=123456 ; dynamic, random PIN |
|
|
-D BLE_PIN_CODE=123456 ; dynamic, random PIN |
|
|
-D AUTO_SHUTDOWN_MILLIVOLTS=3400 |
|
|
-D AUTO_SHUTDOWN_MILLIVOLTS=3400 |
|
|
-D BLE_DEBUG_LOGGING=1 |
|
|
-D BLE_DEBUG_LOGGING=1 |
|
|
@ -169,8 +157,6 @@ build_flags = |
|
|
; -D MESH_PACKET_LOGGING=1 |
|
|
; -D MESH_PACKET_LOGGING=1 |
|
|
; -D MESH_DEBUG=1 |
|
|
; -D MESH_DEBUG=1 |
|
|
build_src_filter = ${rak3112.build_src_filter} |
|
|
build_src_filter = ${rak3112.build_src_filter} |
|
|
+<helpers/ui/SSD1306Display.cpp> |
|
|
|
|
|
+<helpers/ui/MomentaryButton.cpp> |
|
|
|
|
|
+<helpers/esp32/*.cpp> |
|
|
+<helpers/esp32/*.cpp> |
|
|
+<../examples/companion_radio/*.cpp> |
|
|
+<../examples/companion_radio/*.cpp> |
|
|
+<../examples/companion_radio/ui-new/*.cpp> |
|
|
+<../examples/companion_radio/ui-new/*.cpp> |
|
|
@ -178,14 +164,13 @@ lib_deps = |
|
|
${rak3112.lib_deps} |
|
|
${rak3112.lib_deps} |
|
|
densaugeo/base64 @ ~1.4.0 |
|
|
densaugeo/base64 @ ~1.4.0 |
|
|
|
|
|
|
|
|
[env:RAK3112_companion_radio_wifi] |
|
|
[env:RAK_3112_companion_radio_wifi] |
|
|
extends = rak3112 |
|
|
extends = rak3112 |
|
|
build_flags = |
|
|
build_flags = |
|
|
${rak3112.build_flags} |
|
|
${rak3112.build_flags} |
|
|
-I examples/companion_radio/ui-new |
|
|
-I examples/companion_radio/ui-new |
|
|
-D MAX_CONTACTS=350 |
|
|
-D MAX_CONTACTS=350 |
|
|
-D MAX_GROUP_CHANNELS=40 |
|
|
-D MAX_GROUP_CHANNELS=40 |
|
|
-D DISPLAY_CLASS=SSD1306Display |
|
|
|
|
|
-D WIFI_DEBUG_LOGGING=1 |
|
|
-D WIFI_DEBUG_LOGGING=1 |
|
|
-D WIFI_SSID='"myssid"' |
|
|
-D WIFI_SSID='"myssid"' |
|
|
-D WIFI_PWD='"mypwd"' |
|
|
-D WIFI_PWD='"mypwd"' |
|
|
@ -193,8 +178,6 @@ build_flags = |
|
|
; -D MESH_PACKET_LOGGING=1 |
|
|
; -D MESH_PACKET_LOGGING=1 |
|
|
; -D MESH_DEBUG=1 |
|
|
; -D MESH_DEBUG=1 |
|
|
build_src_filter = ${rak3112.build_src_filter} |
|
|
build_src_filter = ${rak3112.build_src_filter} |
|
|
+<helpers/ui/SSD1306Display.cpp> |
|
|
|
|
|
+<helpers/ui/MomentaryButton.cpp> |
|
|
|
|
|
+<helpers/esp32/*.cpp> |
|
|
+<helpers/esp32/*.cpp> |
|
|
+<../examples/companion_radio/*.cpp> |
|
|
+<../examples/companion_radio/*.cpp> |
|
|
+<../examples/companion_radio/ui-new/*.cpp> |
|
|
+<../examples/companion_radio/ui-new/*.cpp> |
|
|
@ -202,7 +185,7 @@ lib_deps = |
|
|
${rak3112.lib_deps} |
|
|
${rak3112.lib_deps} |
|
|
densaugeo/base64 @ ~1.4.0 |
|
|
densaugeo/base64 @ ~1.4.0 |
|
|
|
|
|
|
|
|
[env:RAK3112_sensor] |
|
|
[env:RAK_3112_sensor] |
|
|
extends = rak3112 |
|
|
extends = rak3112 |
|
|
build_flags = |
|
|
build_flags = |
|
|
${rak3112.build_flags} |
|
|
${rak3112.build_flags} |
|
|
@ -212,11 +195,9 @@ build_flags = |
|
|
-D ADMIN_PASSWORD='"password"' |
|
|
-D ADMIN_PASSWORD='"password"' |
|
|
-D ENV_PIN_SDA=33 |
|
|
-D ENV_PIN_SDA=33 |
|
|
-D ENV_PIN_SCL=34 |
|
|
-D ENV_PIN_SCL=34 |
|
|
-D DISPLAY_CLASS=SSD1306Display |
|
|
|
|
|
; -D MESH_PACKET_LOGGING=1 |
|
|
; -D MESH_PACKET_LOGGING=1 |
|
|
; -D MESH_DEBUG=1 |
|
|
; -D MESH_DEBUG=1 |
|
|
build_src_filter = ${rak3112.build_src_filter} |
|
|
build_src_filter = ${rak3112.build_src_filter} |
|
|
+<helpers/ui/SSD1306Display.cpp> |
|
|
|
|
|
+<../examples/simple_sensor> |
|
|
+<../examples/simple_sensor> |
|
|
lib_deps = |
|
|
lib_deps = |
|
|
${rak3112.lib_deps} |
|
|
${rak3112.lib_deps} |
|
|
|