driver: mcp41x

This commit is contained in:
2023-03-26 01:53:19 +01:00
parent d387c26596
commit 66935e66ce
3 changed files with 128 additions and 0 deletions

View File

@@ -71,6 +71,8 @@ Core/Src/i2c.c
C_SOURCES += ../shared_libs/drivers/ad9833/ad9833.c
# ltc2631
C_SOURCES += ../shared_libs/drivers/ltc2631/ltc2631.c
# mcp41x
C_SOURCES += ../shared_libs/drivers/mcp41x/mcp41x.c
# ASM sources
ASM_SOURCES = \
@@ -137,6 +139,8 @@ C_INCLUDES = \
C_INCLUDES += -I../shared_libs/drivers/ad9833
# ltc2631 includes
C_INCLUDES += -I../shared_libs/drivers/ltc2631
# mcp41x includes
C_INCLUDES += -I../shared_libs/drivers/mcp41x
# compile gcc flags
ASFLAGS = $(MCU) $(AS_DEFS) $(AS_INCLUDES) $(OPT) -Wall -fdata-sections -ffunction-sections