Skip to content

Commit acf6110

Browse files
committed
add companion usb to ThinkNode M1
1 parent 8462393 commit acf6110

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

variants/thinknode_m1/platformio.ini

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,3 +96,30 @@ lib_deps =
9696
zinggjm/GxEPD2 @ 1.6.2
9797
bakercp/CRC32 @ ^2.0.0
9898
end2endzone/NonBlockingRTTTL@^1.3.0
99+
100+
[env:ThinkNode_M1_companion_radio_usb]
101+
extends = ThinkNode_M1
102+
build_flags =
103+
${ThinkNode_M1.build_flags}
104+
-I src/helpers/ui
105+
-I examples/companion_radio/ui-new
106+
-D MAX_CONTACTS=350
107+
-D MAX_GROUP_CHANNELS=40
108+
-D DISPLAY_ROTATION=4
109+
-D QSPIFLASH=1
110+
-D DISPLAY_CLASS=GxEPDDisplay
111+
-D OFFLINE_QUEUE_SIZE=256
112+
-D PIN_BUZZER=6
113+
-D AUTO_SHUTDOWN_MILLIVOLTS=3300
114+
build_src_filter = ${ThinkNode_M1.build_src_filter}
115+
+<helpers/ui/GxEPDDisplay.cpp>
116+
+<helpers/ui/buzzer.cpp>
117+
+<helpers/ui/MomentaryButton.cpp>
118+
+<../examples/companion_radio/*.cpp>
119+
+<../examples/companion_radio/ui-new/*.cpp>
120+
lib_deps =
121+
${ThinkNode_M1.lib_deps}
122+
densaugeo/base64 @ ~1.4.0
123+
zinggjm/GxEPD2 @ 1.6.2
124+
bakercp/CRC32 @ ^2.0.0
125+
end2endzone/NonBlockingRTTTL@^1.3.0

0 commit comments

Comments
 (0)