driver: hw_button

This commit is contained in:
2023-03-26 03:04:58 +02:00
parent 762a4da61e
commit 79e27902ec
3 changed files with 156 additions and 0 deletions

View File

@@ -73,6 +73,10 @@ C_SOURCES += ../shared_libs/drivers/ad9833/ad9833.c
C_SOURCES += ../shared_libs/drivers/ltc2631/ltc2631.c
# mcp41x
C_SOURCES += ../shared_libs/drivers/mcp41x/mcp41x.c
# st7565
C_SOURCES += ../shared_libs/drivers/st7565/st7565.c
# hw_button
C_SOURCES += ../shared_libs/drivers/hw_button/hw_button.c
# ASM sources
ASM_SOURCES = \
@@ -141,6 +145,10 @@ C_INCLUDES += -I../shared_libs/drivers/ad9833
C_INCLUDES += -I../shared_libs/drivers/ltc2631
# mcp41x includes
C_INCLUDES += -I../shared_libs/drivers/mcp41x
# st7565 includes
C_INCLUDES += -I../shared_libs/drivers/st7565
# hw_button includes
C_INCLUDES += -I../shared_libs/drivers/hw_button
# compile gcc flags
ASFLAGS = $(MCU) $(AS_DEFS) $(AS_INCLUDES) $(OPT) -Wall -fdata-sections -ffunction-sections