aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDien-Nhung Nguyen-Phu <kein@kienlab.com>2024-06-02 18:27:36 +0700
committerDien-Nhung Nguyen-Phu <kein@kienlab.com>2024-06-10 19:26:48 +0700
commit799d8e43b54f68c61c7b63e43d4a3487754dfe60 (patch)
tree10e318535df7266e44c9d3ff4d3c4e8fe02cd235 /Makefile
parentf6d84a1ead1a57574c45bb80b6fd450c5b784e09 (diff)
button: add basic button functionalities
- Provided a way to set handler for each button one-press/long-press - Debouncing with RC filter and Schmitt trigger
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 44a2a17..3d82df9 100644
--- a/Makefile
+++ b/Makefile
@@ -50,7 +50,8 @@ CH5xx_ble_firmware_library/StdPeriphDriver/CH58x_usb2hostBase.c \
CH5xx_ble_firmware_library/StdPeriphDriver/CH58x_spi1.c \
CH5xx_ble_firmware_library/RVMSIS/core_riscv.c \
src/main.c \
-src/leddrv.c
+src/leddrv.c \
+src/button.c
# ASM sources