driver: ltc2631

This commit is contained in:
2023-03-26 00:35:58 +01:00
parent 7d30ec0355
commit d387c26596
11 changed files with 362 additions and 31 deletions

View File

@@ -1,5 +1,5 @@
##########################################################################################################################
# File automatically-generated by tool: [projectgenerator] version: [3.17.1] date: [Sat Mar 25 18:27:37 CET 2023]
# File automatically-generated by tool: [projectgenerator] version: [3.17.1] date: [Sat Mar 25 21:51:05 CET 2023]
##########################################################################################################################
# ------------------------------------------------
@@ -61,13 +61,16 @@ Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_exti.c \
Core/Src/system_stm32f3xx.c \
Core/Src/spi.c \
Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_spi.c \
Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_spi_ex.c
Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_spi_ex.c \
Core/Src/i2c.c
######################################
# shared libs source
######################################
# ad9833
C_SOURCES += ../shared_libs/drivers/ad9833/ad9833.c
# ltc2631
C_SOURCES += ../shared_libs/drivers/ltc2631/ltc2631.c
# ASM sources
ASM_SOURCES = \
@@ -132,11 +135,13 @@ C_INCLUDES = \
# ad9833 includes
C_INCLUDES += -I../shared_libs/drivers/ad9833
# ltc2631 includes
C_INCLUDES += -I../shared_libs/drivers/ltc2631
# compile gcc flags
ASFLAGS = $(MCU) $(AS_DEFS) $(AS_INCLUDES) $(OPT) -Wall -fdata-sections -ffunction-sections
CFLAGS += $(MCU) $(C_DEFS) $(C_INCLUDES) $(OPT) -Wall -fdata-sections -ffunction-sections
CFLAGS += $(MCU) $(C_DEFS) $(C_INCLUDES) $(OPT) -Wall -fdata-sections -ffunction-sections -Wdouble-promotion
ifeq ($(DEBUG), 1)
CFLAGS += -g -gdwarf-2