Browse Source
Merge pull request #384 from recrof/patch-6
Add companion roles to Station G2
pull/399/head
ripplebiz
12 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
36 additions and
0 deletions
-
variants/station_g2/platformio.ini
|
|
|
@ -60,3 +60,39 @@ build_flags = |
|
|
|
lib_deps = |
|
|
|
${Station_G2.lib_deps} |
|
|
|
${esp32_ota.lib_deps} |
|
|
|
|
|
|
|
[env:Station_G2_companion_radio_usb] |
|
|
|
extends = Station_G2 |
|
|
|
build_flags = |
|
|
|
${Station_G2.build_flags} |
|
|
|
-D DISPLAY_CLASS=SH1106Display |
|
|
|
-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 = ${Station_G2.build_src_filter} |
|
|
|
+<helpers/ui/SH1106Display.cpp> |
|
|
|
+<../examples/companion_radio> |
|
|
|
lib_deps = |
|
|
|
${Station_G2.lib_deps} |
|
|
|
densaugeo/base64 @ ~1.4.0 |
|
|
|
|
|
|
|
[env:Station_G2_companion_radio_ble] |
|
|
|
extends = Station_G2 |
|
|
|
build_flags = |
|
|
|
${Station_G2.build_flags} |
|
|
|
-D DISPLAY_CLASS=SH1106Display |
|
|
|
-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 MESH_PACKET_LOGGING=1 |
|
|
|
; -D MESH_DEBUG=1 |
|
|
|
build_src_filter = ${Station_G2.build_src_filter} |
|
|
|
+<helpers/esp32/*.cpp> |
|
|
|
+<helpers/ui/SH1106Display.cpp> |
|
|
|
+<../examples/companion_radio> |
|
|
|
lib_deps = |
|
|
|
${Station_G2.lib_deps} |
|
|
|
densaugeo/base64 @ ~1.4.0 |
|
|
|
|