[fix] driver: st7565

added controller class instead of constants
This commit is contained in:
2023-03-26 09:36:10 +02:00
parent ea5e75d8fc
commit a54a54286e
3 changed files with 53 additions and 41 deletions

View File

@@ -77,6 +77,8 @@ C_SOURCES += ../shared_libs/drivers/mcp41x/mcp41x.c
C_SOURCES += ../shared_libs/drivers/st7565/st7565.c
# hw_button
C_SOURCES += ../shared_libs/drivers/hw_button/hw_button.c
# display
C_SOURCES += ../shared_libs/display/display_gfx.c
# ASM sources
ASM_SOURCES = \
@@ -149,6 +151,8 @@ C_INCLUDES += -I../shared_libs/drivers/mcp41x
C_INCLUDES += -I../shared_libs/drivers/st7565
# hw_button includes
C_INCLUDES += -I../shared_libs/drivers/hw_button
# display includes
C_INCLUDES += -I../shared_libs/display
# compile gcc flags
ASFLAGS = $(MCU) $(AS_DEFS) $(AS_INCLUDES) $(OPT) -Wall -fdata-sections -ffunction-sections