mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-09-14 15:16:40 +00:00
Add RGB LED and haptic notifications for SenseCAP MeshTracker X1
This commit is contained in:
@@ -12,6 +12,9 @@ build_flags = ${nrf52_base.build_flags}
|
||||
-D PIN_USER_BTN=6
|
||||
-D USER_BTN_PRESSED=HIGH
|
||||
-D PIN_STATUS_LED=24
|
||||
-D PIN_STATUS_LED_R=3 ; P0.3 red
|
||||
-D PIN_STATUS_LED_G=24 ; P0.24 green
|
||||
-D PIN_STATUS_LED_B=28 ; P0.28 blue
|
||||
-D RADIO_CLASS=CustomLR2021
|
||||
-D USE_LR2021
|
||||
-D WRAPPER_CLASS=CustomLR2021Wrapper
|
||||
@@ -77,16 +80,20 @@ build_flags = ${MeshTracker_X1.build_flags}
|
||||
-D OFFLINE_QUEUE_SIZE=256
|
||||
-D DISPLAY_CLASS=NullDisplayDriver
|
||||
-D PIN_BUZZER=25
|
||||
-D HAS_DRV2605=1
|
||||
-D DRV2605_USE_LRA=1
|
||||
-D ENABLE_USB_INTERFACE
|
||||
build_src_filter = ${MeshTracker_X1.build_src_filter}
|
||||
+<helpers/ui/buzzer.cpp>
|
||||
+<helpers/ui/NullDisplayDriver.cpp>
|
||||
+<helpers/ui/DRV2605Vibration.cpp>
|
||||
+<../examples/companion_radio/*.cpp>
|
||||
+<../examples/companion_radio/ui-orig/*.cpp>
|
||||
lib_deps = ${MeshTracker_X1.lib_deps}
|
||||
densaugeo/base64 @ ~1.4.0
|
||||
stevemarple/MicroNMEA @ ^2.0.6
|
||||
end2endzone/NonBlockingRTTTL@^1.3.0
|
||||
adafruit/Adafruit DRV2605 Library @ ^1.2.4
|
||||
|
||||
[env:MeshTracker_X1_companion_radio_ble]
|
||||
extends = MeshTracker_X1
|
||||
@@ -104,14 +111,18 @@ build_flags = ${MeshTracker_X1.build_flags}
|
||||
-D OFFLINE_QUEUE_SIZE=256
|
||||
-D DISPLAY_CLASS=NullDisplayDriver
|
||||
-D PIN_BUZZER=25
|
||||
-D HAS_DRV2605=1
|
||||
-D DRV2605_USE_LRA=1
|
||||
-D ADVERT_NAME='"@@MAC"'
|
||||
build_src_filter = ${MeshTracker_X1.build_src_filter}
|
||||
+<helpers/nrf52/SerialBLEInterface.cpp>
|
||||
+<helpers/ui/buzzer.cpp>
|
||||
+<helpers/ui/NullDisplayDriver.cpp>
|
||||
+<helpers/ui/DRV2605Vibration.cpp>
|
||||
+<../examples/companion_radio/*.cpp>
|
||||
+<../examples/companion_radio/ui-orig/*.cpp>
|
||||
lib_deps = ${MeshTracker_X1.lib_deps}
|
||||
densaugeo/base64 @ ~1.4.0
|
||||
stevemarple/MicroNMEA @ ^2.0.6
|
||||
end2endzone/NonBlockingRTTTL@^1.3.0
|
||||
adafruit/Adafruit DRV2605 Library @ ^1.2.4
|
||||
|
||||
Reference in New Issue
Block a user