Browse Source
Merge pull request #749 from oltaco/thinknode-m1-companion-usb
Add companion usb to ThinkNode M1
pull/756/head
ripplebiz
9 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
27 additions and
0 deletions
-
variants/thinknode_m1/platformio.ini
|
|
|
@ -96,3 +96,30 @@ lib_deps = |
|
|
|
zinggjm/GxEPD2 @ 1.6.2 |
|
|
|
bakercp/CRC32 @ ^2.0.0 |
|
|
|
end2endzone/NonBlockingRTTTL@^1.3.0 |
|
|
|
|
|
|
|
[env:ThinkNode_M1_companion_radio_usb] |
|
|
|
extends = ThinkNode_M1 |
|
|
|
build_flags = |
|
|
|
${ThinkNode_M1.build_flags} |
|
|
|
-I src/helpers/ui |
|
|
|
-I examples/companion_radio/ui-new |
|
|
|
-D MAX_CONTACTS=350 |
|
|
|
-D MAX_GROUP_CHANNELS=40 |
|
|
|
-D DISPLAY_ROTATION=4 |
|
|
|
-D QSPIFLASH=1 |
|
|
|
-D DISPLAY_CLASS=GxEPDDisplay |
|
|
|
-D OFFLINE_QUEUE_SIZE=256 |
|
|
|
-D PIN_BUZZER=6 |
|
|
|
-D AUTO_SHUTDOWN_MILLIVOLTS=3300 |
|
|
|
build_src_filter = ${ThinkNode_M1.build_src_filter} |
|
|
|
+<helpers/ui/GxEPDDisplay.cpp> |
|
|
|
+<helpers/ui/buzzer.cpp> |
|
|
|
+<helpers/ui/MomentaryButton.cpp> |
|
|
|
+<../examples/companion_radio/*.cpp> |
|
|
|
+<../examples/companion_radio/ui-new/*.cpp> |
|
|
|
lib_deps = |
|
|
|
${ThinkNode_M1.lib_deps} |
|
|
|
densaugeo/base64 @ ~1.4.0 |
|
|
|
zinggjm/GxEPD2 @ 1.6.2 |
|
|
|
bakercp/CRC32 @ ^2.0.0 |
|
|
|
end2endzone/NonBlockingRTTTL@^1.3.0 |