dac to adc test
This commit is contained in:
13
Makefile
13
Makefile
@@ -1,5 +1,5 @@
|
||||
##########################################################################################################################
|
||||
# File automatically-generated by tool: [projectgenerator] version: [4.1.0] date: [Tue Dec 12 23:07:03 CET 2023]
|
||||
# File automatically-generated by tool: [projectgenerator] version: [4.1.0] date: [Thu Dec 14 20:03:10 CET 2023]
|
||||
##########################################################################################################################
|
||||
|
||||
# ------------------------------------------------
|
||||
@@ -66,8 +66,13 @@ Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_opamp_ex.c \
|
||||
Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim.c \
|
||||
Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_tim_ex.c \
|
||||
Core/Src/system_stm32g4xx.c \
|
||||
Core/Src/dma.c
|
||||
Core/Src/dma.c \
|
||||
Core/Src/adc.c \
|
||||
Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_adc.c \
|
||||
Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_adc_ex.c \
|
||||
Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_ll_adc.c
|
||||
|
||||
C_SOURCES += utils/printf/printf.c
|
||||
# ASM sources
|
||||
ASM_SOURCES = \
|
||||
startup_stm32g474xx.s
|
||||
@@ -129,11 +134,13 @@ C_INCLUDES = \
|
||||
-IDrivers/CMSIS/Device/ST/STM32G4xx/Include \
|
||||
-IDrivers/CMSIS/Include
|
||||
|
||||
C_INCLUDES += -Iutils/printf
|
||||
|
||||
|
||||
# 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 -Werror
|
||||
|
||||
ifeq ($(DEBUG), 1)
|
||||
CFLAGS += -g -gdwarf-2
|
||||
|
||||
Reference in New Issue
Block a user