[wip] added encoder

This commit is contained in:
2023-05-01 13:26:02 +02:00
parent b4dd5c789c
commit f729829cb2
14 changed files with 981 additions and 443 deletions

View File

@@ -91,12 +91,15 @@ C_SOURCES += ../shared_libs/disp_layout/disp_layout.c
C_SOURCES += ../shared_libs/controllers/ctrl_bottom_button.c
C_SOURCES += ../shared_libs/controllers/ctrl_channel_button.c
C_SOURCES += ../shared_libs/controllers/ctrl_app.c
C_SOURCES += ../shared_libs/controllers/ctrl_encoder.c
# utils/printf
C_SOURCES += ../shared_libs/utils/printf/printf.c
# utils/rtt
C_SOURCES += ../shared_libs/utils/rtt/SEGGER_RTT.c
C_SOURCES += ../shared_libs/utils/rtt/SEGGER_RTT_printf.c
# utils/ulog
C_SOURCES += ../shared_libs/utils/ulog/ulog.c
# ASM sources
ASM_SOURCES = \
@@ -145,7 +148,8 @@ AS_DEFS =
# C defines
C_DEFS = \
-DUSE_HAL_DRIVER \
-DSTM32F303xE
-DSTM32F303xE \
-DULOG_ENABLED
# AS includes
@@ -181,6 +185,7 @@ C_INCLUDES += -I../shared_libs/controllers
# utils includes
C_INCLUDES += -I../shared_libs/utils/printf
C_INCLUDES += -I../shared_libs/utils/rtt
C_INCLUDES += -I../shared_libs/utils/ulog
# compile gcc flags