Error in makefile

This commit is contained in:
Adam Procházka
2023-02-23 14:34:10 +01:00
parent 9d50a83a78
commit 276d443bb1
1281 changed files with 269818 additions and 54 deletions

View File

@ -1,5 +1,5 @@
##########################################################################################################################
# File automatically-generated by tool: [projectgenerator] version: [3.18.0-B7] date: [Sat Feb 18 17:10:41 CET 2023]
# File automatically-generated by tool: [projectgenerator] version: [3.18.0-B7] date: [Thu Feb 23 10:07:32 CET 2023]
##########################################################################################################################
# ------------------------------------------------
@ -61,7 +61,27 @@ Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_tim_ex.c \
Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_uart.c \
Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_uart_ex.c \
Core/Src/system_stm32l4xx.c \
Core/Cam/Cam.c
Core/Cam/Cam.c \
Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_pcd.c \
Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_pcd_ex.c \
Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_ll_usb.c \
#Core/src/tusb.c \
Core/src/common/tusb_fifo.c \
Core/src/device/usbd.c \
Core/src/device/usbd_control.c \
Core/src/class/audio/audio_device.c \
Core/src/class/cdc/cdc_device.c \
Core/src/class/dfu/dfu_device.c \
Core/src/class/dfu/dfu_rt_device.c \
Core/src/class/hid/hid_device.c \
Core/src/class/midi/midi_device.c \
Core/src/class/msc/msc_device.c \
Core/src/class/net/ecm_rndis_device.c \
Core/src/class/net/ncm_device.c \
Core/src/class/usbtmc/usbtmc_device.c \
Core/src/class/video/video_device.c \
Core/src/class/vendor/vendor_device.c
# ASM sources
ASM_SOURCES = \
@ -123,12 +143,17 @@ C_INCLUDES = \
-IDrivers/STM32L4xx_HAL_Driver/Inc/Legacy \
-IDrivers/CMSIS/Device/ST/STM32L4xx/Include \
-IDrivers/CMSIS/Include \
-ICore/Cam
-ICore/Cam \
-ICore/tinyusb \
-ICore/tinyusb/src \
-ICore/tinyusb/src/common \
-ICore/tinyusb/src/class \
-ICore/tinyusb/src/device
# compile gcc flags
ASFLAGS = $(MCU) $(AS_DEFS) $(AS_INCLUDES) $(OPT) -Wall -fdata-sections -ffunction-sections
ASFLAGS = $(MCU) $(AS_DEFS) $(AS_INCLUDES) $(OPT) -Wall -fdata-sections -ffunction-sections -ggdb -fsingle-precision-constant -fno-strict-aliasing
CFLAGS += $(MCU) $(C_DEFS) $(C_INCLUDES) $(OPT) -Wall -fdata-sections -ffunction-sections
CFLAGS += $(MCU) $(C_DEFS) $(C_INCLUDES) $(OPT) -Wall -fdata-sections -ffunction-sections -ggdb -fsingle-precision-constant -fno-strict-aliasing
ifeq ($(DEBUG), 1)
CFLAGS += -g -gdwarf-2