|
|
@ -1,4 +1,4 @@ |
|
|
[Ebyte_EoRa-hub] |
|
|
[Ebyte_EoRa_hub] |
|
|
extends = esp32_base |
|
|
extends = esp32_base |
|
|
board = esp32-s3-devkitc-1 |
|
|
board = esp32-s3-devkitc-1 |
|
|
|
|
|
|
|
|
@ -38,29 +38,29 @@ lib_deps = |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
; === Repeater role === |
|
|
; === Repeater role === |
|
|
[env:Ebyte_EoRa-hub_repeater] |
|
|
[env:Ebyte_EoRa_hub_repeater] |
|
|
extends = Ebyte_EoRa-hub |
|
|
extends = Ebyte_EoRa_hub |
|
|
build_flags = |
|
|
build_flags = |
|
|
${Ebyte_EoRa-hub.build_flags} |
|
|
${Ebyte_EoRa_hub.build_flags} |
|
|
-D ADVERT_NAME='"EORA_HUB-1121 Repeater"' |
|
|
-D ADVERT_NAME='"EORA_HUB-1121 Repeater"' |
|
|
-D ADVERT_LAT=0.0 |
|
|
-D ADVERT_LAT=0.0 |
|
|
-D ADVERT_LON=0.0 |
|
|
-D ADVERT_LON=0.0 |
|
|
-D ADMIN_PASSWORD='"password"' |
|
|
-D ADMIN_PASSWORD='"password"' |
|
|
-D MAX_NEIGHBOURS=50 |
|
|
-D MAX_NEIGHBOURS=50 |
|
|
build_src_filter = |
|
|
build_src_filter = |
|
|
${Ebyte_EoRa-hub.build_src_filter} |
|
|
${Ebyte_EoRa_hub.build_src_filter} |
|
|
+<helpers/ui/SSD1306Display.cpp> |
|
|
+<helpers/ui/SSD1306Display.cpp> |
|
|
+<../examples/simple_repeater> |
|
|
+<../examples/simple_repeater> |
|
|
lib_deps = |
|
|
lib_deps = |
|
|
${Ebyte_EoRa-hub.lib_deps} |
|
|
${Ebyte_EoRa_hub.lib_deps} |
|
|
${esp32_ota.lib_deps} |
|
|
${esp32_ota.lib_deps} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
; === ESP-NOW Bridge role === |
|
|
; === ESP-NOW Bridge role === |
|
|
[env:Ebyte_EoRa-hub_repeater_bridge_espnow] |
|
|
[env:Ebyte_EoRa_hub_repeater_bridge_espnow] |
|
|
extends = Ebyte_EoRa-hub |
|
|
extends = Ebyte_EoRa_hub |
|
|
build_flags = |
|
|
build_flags = |
|
|
${Ebyte_EoRa-hub.build_flags} |
|
|
${Ebyte_EoRa_hub.build_flags} |
|
|
-D DISPLAY_CLASS=SSD1306Display |
|
|
-D DISPLAY_CLASS=SSD1306Display |
|
|
-D ADVERT_NAME='"ESPNow Bridge"' |
|
|
-D ADVERT_NAME='"ESPNow Bridge"' |
|
|
-D ADVERT_LAT=0.0 |
|
|
-D ADVERT_LAT=0.0 |
|
|
@ -69,74 +69,74 @@ build_flags = |
|
|
-D MAX_NEIGHBOURS=50 |
|
|
-D MAX_NEIGHBOURS=50 |
|
|
-D WITH_ESPNOW_BRIDGE=1 |
|
|
-D WITH_ESPNOW_BRIDGE=1 |
|
|
build_src_filter = |
|
|
build_src_filter = |
|
|
${Ebyte_EoRa-hub.build_src_filter} |
|
|
${Ebyte_EoRa_hub.build_src_filter} |
|
|
+<helpers/bridges/ESPNowBridge.cpp> |
|
|
+<helpers/bridges/ESPNowBridge.cpp> |
|
|
+<helpers/ui/SSD1306Display.cpp> |
|
|
+<helpers/ui/SSD1306Display.cpp> |
|
|
+<../examples/simple_repeater> |
|
|
+<../examples/simple_repeater> |
|
|
lib_deps = |
|
|
lib_deps = |
|
|
${Ebyte_EoRa-hub.lib_deps} |
|
|
${Ebyte_EoRa_hub.lib_deps} |
|
|
${esp32_ota.lib_deps} |
|
|
${esp32_ota.lib_deps} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
; === Terminal chat role === |
|
|
; === Terminal chat role === |
|
|
[env:Ebyte_EoRa-hub_terminal_chat] |
|
|
[env:Ebyte_EoRa_hub_terminal_chat] |
|
|
extends = Ebyte_EoRa-hub |
|
|
extends = Ebyte_EoRa_hub |
|
|
build_flags = |
|
|
build_flags = |
|
|
${Ebyte_EoRa-hub.build_flags} |
|
|
${Ebyte_EoRa_hub.build_flags} |
|
|
-D MAX_CONTACTS=300 |
|
|
-D MAX_CONTACTS=300 |
|
|
-D MAX_GROUP_CHANNELS=1 |
|
|
-D MAX_GROUP_CHANNELS=1 |
|
|
build_src_filter = |
|
|
build_src_filter = |
|
|
${Ebyte_EoRa-hub.build_src_filter} |
|
|
${Ebyte_EoRa_hub.build_src_filter} |
|
|
+<../examples/simple_secure_chat/main.cpp> |
|
|
+<../examples/simple_secure_chat/main.cpp> |
|
|
lib_deps = |
|
|
lib_deps = |
|
|
${Ebyte_EoRa-hub.lib_deps} |
|
|
${Ebyte_EoRa_hub.lib_deps} |
|
|
densaugeo/base64 @ ~1.4.0 |
|
|
densaugeo/base64 @ ~1.4.0 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
; === Room server role === |
|
|
; === Room server role === |
|
|
[env:Ebyte_EoRa-hub_room_server] |
|
|
[env:Ebyte_EoRa_hub_room_server] |
|
|
extends = Ebyte_EoRa-hub |
|
|
extends = Ebyte_EoRa_hub |
|
|
build_flags = |
|
|
build_flags = |
|
|
${Ebyte_EoRa-hub.build_flags} |
|
|
${Ebyte_EoRa_hub.build_flags} |
|
|
-D ADVERT_NAME='"EORA_HUB-1121 Room"' |
|
|
-D ADVERT_NAME='"EORA_HUB-1121 Room"' |
|
|
-D ADVERT_LAT=0.0 |
|
|
-D ADVERT_LAT=0.0 |
|
|
-D ADVERT_LON=0.0 |
|
|
-D ADVERT_LON=0.0 |
|
|
-D ADMIN_PASSWORD='"password"' |
|
|
-D ADMIN_PASSWORD='"password"' |
|
|
-D ROOM_PASSWORD='"hello"' |
|
|
-D ROOM_PASSWORD='"hello"' |
|
|
build_src_filter = |
|
|
build_src_filter = |
|
|
${Ebyte_EoRa-hub.build_src_filter} |
|
|
${Ebyte_EoRa_hub.build_src_filter} |
|
|
+<helpers/ui/SSD1306Display.cpp> |
|
|
+<helpers/ui/SSD1306Display.cpp> |
|
|
+<../examples/simple_room_server> |
|
|
+<../examples/simple_room_server> |
|
|
lib_deps = |
|
|
lib_deps = |
|
|
${Ebyte_EoRa-hub.lib_deps} |
|
|
${Ebyte_EoRa_hub.lib_deps} |
|
|
${esp32_ota.lib_deps} |
|
|
${esp32_ota.lib_deps} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
; === Companion radio (USB) === |
|
|
; === Companion radio (USB) === |
|
|
[env:Ebyte_EoRa-hub_companion_radio_usb] |
|
|
[env:Ebyte_EoRa_hub_companion_radio_usb] |
|
|
extends = Ebyte_EoRa-hub |
|
|
extends = Ebyte_EoRa_hub |
|
|
upload_speed = 115200 |
|
|
upload_speed = 115200 |
|
|
build_flags = |
|
|
build_flags = |
|
|
${Ebyte_EoRa-hub.build_flags} |
|
|
${Ebyte_EoRa_hub.build_flags} |
|
|
-I examples/companion_radio/ui-new |
|
|
-I examples/companion_radio/ui-new |
|
|
-D MAX_CONTACTS=300 |
|
|
-D MAX_CONTACTS=300 |
|
|
-D MAX_GROUP_CHANNELS=8 |
|
|
-D MAX_GROUP_CHANNELS=8 |
|
|
build_src_filter = |
|
|
build_src_filter = |
|
|
${Ebyte_EoRa-hub.build_src_filter} |
|
|
${Ebyte_EoRa_hub.build_src_filter} |
|
|
+<helpers/ui/SSD1306Display.cpp> |
|
|
+<helpers/ui/SSD1306Display.cpp> |
|
|
+<helpers/ui/MomentaryButton.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 = |
|
|
${Ebyte_EoRa-hub.lib_deps} |
|
|
${Ebyte_EoRa_hub.lib_deps} |
|
|
densaugeo/base64 @ ~1.4.0 |
|
|
densaugeo/base64 @ ~1.4.0 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
; === Companion radio (BLE) === |
|
|
; === Companion radio (BLE) === |
|
|
[env:Ebyte_EoRa-hub_companion_radio_ble] |
|
|
[env:Ebyte_EoRa_hub_companion_radio_ble] |
|
|
extends = Ebyte_EoRa-hub |
|
|
extends = Ebyte_EoRa_hub |
|
|
build_flags = |
|
|
build_flags = |
|
|
${Ebyte_EoRa-hub.build_flags} |
|
|
${Ebyte_EoRa_hub.build_flags} |
|
|
-I examples/companion_radio/ui-new |
|
|
-I examples/companion_radio/ui-new |
|
|
-D MAX_CONTACTS=300 |
|
|
-D MAX_CONTACTS=300 |
|
|
-D MAX_GROUP_CHANNELS=8 |
|
|
-D MAX_GROUP_CHANNELS=8 |
|
|
@ -144,22 +144,22 @@ build_flags = |
|
|
-D BLE_DEBUG_LOGGING=1 |
|
|
-D BLE_DEBUG_LOGGING=1 |
|
|
-D OFFLINE_QUEUE_SIZE=256 |
|
|
-D OFFLINE_QUEUE_SIZE=256 |
|
|
build_src_filter = |
|
|
build_src_filter = |
|
|
${Ebyte_EoRa-hub.build_src_filter} |
|
|
${Ebyte_EoRa_hub.build_src_filter} |
|
|
+<helpers/esp32/*.cpp> |
|
|
+<helpers/esp32/*.cpp> |
|
|
+<helpers/ui/SSD1306Display.cpp> |
|
|
+<helpers/ui/SSD1306Display.cpp> |
|
|
+<helpers/ui/MomentaryButton.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 = |
|
|
${Ebyte_EoRa-hub.lib_deps} |
|
|
${Ebyte_EoRa_hub.lib_deps} |
|
|
densaugeo/base64 @ ~1.4.0 |
|
|
densaugeo/base64 @ ~1.4.0 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
; === Companion radio (WiFi) === |
|
|
; === Companion radio (WiFi) === |
|
|
[env:Ebyte_EoRa-hub_companion_radio_wifi] |
|
|
[env:Ebyte_EoRa_hub_companion_radio_wifi] |
|
|
extends = Ebyte_EoRa-hub |
|
|
extends = Ebyte_EoRa_hub |
|
|
build_flags = |
|
|
build_flags = |
|
|
${Ebyte_EoRa-hub.build_flags} |
|
|
${Ebyte_EoRa_hub.build_flags} |
|
|
-I examples/companion_radio/ui-new |
|
|
-I examples/companion_radio/ui-new |
|
|
-D MAX_CONTACTS=300 |
|
|
-D MAX_CONTACTS=300 |
|
|
-D MAX_GROUP_CHANNELS=8 |
|
|
-D MAX_GROUP_CHANNELS=8 |
|
|
@ -169,22 +169,22 @@ build_flags = |
|
|
-D WIFI_SSID='"myssid"' |
|
|
-D WIFI_SSID='"myssid"' |
|
|
-D WIFI_PWD='"mypwd"' |
|
|
-D WIFI_PWD='"mypwd"' |
|
|
build_src_filter = |
|
|
build_src_filter = |
|
|
${Ebyte_EoRa-hub.build_src_filter} |
|
|
${Ebyte_EoRa_hub.build_src_filter} |
|
|
+<helpers/ui/SSD1306Display.cpp> |
|
|
+<helpers/ui/SSD1306Display.cpp> |
|
|
+<helpers/ui/MomentaryButton.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> |
|
|
lib_deps = |
|
|
lib_deps = |
|
|
${Ebyte_EoRa-hub.lib_deps} |
|
|
${Ebyte_EoRa_hub.lib_deps} |
|
|
densaugeo/base64 @ ~1.4.0 |
|
|
densaugeo/base64 @ ~1.4.0 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
; === Sensor role === |
|
|
; === Sensor role === |
|
|
[env:Ebyte_EoRa-hub_sensor] |
|
|
[env:Ebyte_EoRa_hub_sensor] |
|
|
extends = Ebyte_EoRa-hub |
|
|
extends = Ebyte_EoRa_hub |
|
|
build_flags = |
|
|
build_flags = |
|
|
${Ebyte_EoRa-hub.build_flags} |
|
|
${Ebyte_EoRa_hub.build_flags} |
|
|
-D ADVERT_NAME='"EoRaHub Sensor"' |
|
|
-D ADVERT_NAME='"EoRaHub Sensor"' |
|
|
-D ADVERT_LAT=0.0 |
|
|
-D ADVERT_LAT=0.0 |
|
|
-D ADVERT_LON=0.0 |
|
|
-D ADVERT_LON=0.0 |
|
|
@ -193,9 +193,9 @@ build_flags = |
|
|
-D ENV_PIN_SCL=4 |
|
|
-D ENV_PIN_SCL=4 |
|
|
-D DISPLAY_CLASS=SSD1306Display |
|
|
-D DISPLAY_CLASS=SSD1306Display |
|
|
build_src_filter = |
|
|
build_src_filter = |
|
|
${Ebyte_EoRa-hub.build_src_filter} |
|
|
${Ebyte_EoRa_hub.build_src_filter} |
|
|
+<helpers/ui/SSD1306Display.cpp> |
|
|
+<helpers/ui/SSD1306Display.cpp> |
|
|
+<../examples/simple_sensor> |
|
|
+<../examples/simple_sensor> |
|
|
lib_deps = |
|
|
lib_deps = |
|
|
${Ebyte_EoRa-hub.lib_deps} |
|
|
${Ebyte_EoRa_hub.lib_deps} |
|
|
${esp32_ota.lib_deps} |
|
|
${esp32_ota.lib_deps} |
|
|
|