Update changelog
[SCSI2SD-V6.git] / Makefile.2021
index 7483ef61998e03dc1a4820250853cd6e30309cbb..084efda9cd8a74e6911c79db1e89f28b5e135831 100644 (file)
@@ -2,7 +2,8 @@
 ARMCC=arm-none-eabi-gcc
 OBJCOPY=arm-none-eabi-objcopy
 
-CPPFLAGS=-DSTM32F446xx -DSTM32F4xx -DUSE_HAL_DRIVER -Wall 
+CPPFLAGS=-DSTM32F446xx -DSTM32F4xx -DUSE_HAL_DRIVER -Wall -DS2S_USB_HS
+#CPPFLAGS=-DSTM32F446xx -DSTM32F4xx -DUSE_HAL_DRIVER -Wall -DS2S_USB_FS
 CFLAGS=-mcpu=cortex-m4 -mthumb -mslow-flash-data \
        -std=gnu11 \
        -specs=nosys.specs \
@@ -28,6 +29,7 @@ STM32CubeMX_INCUDE = \
 
 all: build/firmware.V6.2021.dfu
 
+build/2021/stm32cubemx/dma.o: STM32CubeMX/2021/Src/dma.c
 build/2021/stm32cubemx/fmc.o: STM32CubeMX/2021/Src/fmc.c
 build/2021/stm32cubemx/gpio.o: STM32CubeMX/2021/Src/gpio.c
 build/2021/stm32cubemx/main.o: STM32CubeMX/2021/Src/main.c
@@ -46,13 +48,16 @@ build/2021/stm32cubemx/stm32f4xx_hal_gpio.o: STM32CubeMX/2021/Drivers/STM32F4xx_
 build/2021/stm32cubemx/stm32f4xx_hal_hcd.o: STM32CubeMX/2021/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_hcd.c
 build/2021/stm32cubemx/stm32f4xx_hal_pcd.o: STM32CubeMX/2021/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.c
 build/2021/stm32cubemx/stm32f4xx_hal_pcd_ex.o: STM32CubeMX/2021/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c
+build/2021/stm32cubemx/stm32f4xx_hal_pwr_ex.o: STM32CubeMX/2021/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr_ex.c
 build/2021/stm32cubemx/stm32f4xx_hal_rcc.o: STM32CubeMX/2021/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c
+build/2021/stm32cubemx/stm32f4xx_hal_rcc_ex.o: STM32CubeMX/2021/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc_ex.c
 build/2021/stm32cubemx/stm32f4xx_hal_sd.o: STM32CubeMX/2021/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_sd.c
 build/2021/stm32cubemx/stm32f4xx_hal_spi.o: STM32CubeMX/2021/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_spi.c
 build/2021/stm32cubemx/stm32f4xx_hal_sram.o: STM32CubeMX/2021/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_sram.c
 build/2021/stm32cubemx/stm32f4xx_hal_tim.o: STM32CubeMX/2021/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim.c
 build/2021/stm32cubemx/stm32f4xx_hal_tim_ex.o: STM32CubeMX/2021/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim_ex.c
 build/2021/stm32cubemx/stm32f4xx_hal_uart.o: STM32CubeMX/2021/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.c
+build/2021/stm32cubemx/stm32f4xx_ll_fmc.o: STM32CubeMX/2021/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_fmc.c
 build/2021/stm32cubemx/stm32f4xx_ll_fsmc.o: STM32CubeMX/2021/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_fsmc.c
 build/2021/stm32cubemx/stm32f4xx_ll_sdmmc.o: STM32CubeMX/2021/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_sdmmc.c
 build/2021/stm32cubemx/stm32f4xx_ll_usb.o: STM32CubeMX/2021/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.c
@@ -63,6 +68,7 @@ build/2021/stm32cubemx/system_stm32f4xx.o: STM32CubeMX/2021/Drivers/CMSIS/Device
 build/2021/stm32cubemx/startup_stm32f446xx.o: STM32CubeMX/2021/Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/gcc/startup_stm32f446xx.s
 
 STM32OBJS = \
+       build/2021/stm32cubemx/dma.o \
        build/2021/stm32cubemx/fmc.o \
        build/2021/stm32cubemx/gpio.o \
        build/2021/stm32cubemx/main.o \
@@ -81,13 +87,16 @@ STM32OBJS = \
        build/2021/stm32cubemx/stm32f4xx_hal_hcd.o \
        build/2021/stm32cubemx/stm32f4xx_hal_pcd.o \
        build/2021/stm32cubemx/stm32f4xx_hal_pcd_ex.o \
+       build/2021/stm32cubemx/stm32f4xx_hal_pwr_ex.o \
        build/2021/stm32cubemx/stm32f4xx_hal_rcc.o \
+       build/2021/stm32cubemx/stm32f4xx_hal_rcc_ex.o \
        build/2021/stm32cubemx/stm32f4xx_hal_sd.o \
        build/2021/stm32cubemx/stm32f4xx_hal_spi.o \
        build/2021/stm32cubemx/stm32f4xx_hal_sram.o \
        build/2021/stm32cubemx/stm32f4xx_hal_tim.o \
        build/2021/stm32cubemx/stm32f4xx_hal_tim_ex.o \
        build/2021/stm32cubemx/stm32f4xx_hal_uart.o \
+       build/2021/stm32cubemx/stm32f4xx_ll_fmc.o \
        build/2021/stm32cubemx/stm32f4xx_ll_fsmc.o \
        build/2021/stm32cubemx/stm32f4xx_ll_sdmmc.o \
        build/2021/stm32cubemx/stm32f4xx_ll_usb.o \