Camera_driver: remove legacy driver

This commit is contained in:
Petr Malanik
2023-01-23 21:04:33 +01:00
parent 28345045ba
commit 5f7f569ae7
1304 changed files with 501 additions and 1099768 deletions

View File

@ -1,5 +1,5 @@
##########################################################################################################################
# File automatically-generated by tool: [projectgenerator] version: [3.13.0-B3] date: [Fri Aug 12 09:52:20 CEST 2022]
# File automatically-generated by tool: [projectgenerator] version: [3.18.0-B7] date: [Mon Jan 23 20:54:47 CET 2023]
##########################################################################################################################
# ------------------------------------------------
@ -13,7 +13,7 @@
######################################
# target
######################################
TARGET = Camera_driver
TARGET = FC_camera
######################################
@ -63,11 +63,11 @@ Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_tim.c \
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 \
Src/system_stm32l4xx.c
Src/system_stm32l4xx.c
# ASM sources
ASM_SOURCES = \
startup_stm32l432xx.s
startup_stm32l452xx.s
#######################################
@ -101,31 +101,27 @@ MCU = $(CPU) -mthumb $(FPU) $(FLOAT-ABI)
# macros for gcc
# AS defines
AS_DEFS =
AS_DEFS =
# C defines
C_DEFS = \
-DSTM32_L4 \
-DUSE_HAL_DRIVER \
-DSTM32L432xx
-DSTM32L452xx
# AS includes
AS_INCLUDES =
ALOHAL_INC := $(addprefix -I,$(shell find alohal -type d -print))
# C includes
C_INCLUDES = \
-I$(ALOHAL_INC) \
-Ialohal \
-I. \
-IInc \
-IDrivers/STM32L4xx_HAL_Driver/Inc \
-IDrivers/STM32L4xx_HAL_Driver/Inc/Legacy \
-IDrivers/CMSIS/Device/ST/STM32L4xx/Include \
-IDrivers/CMSIS/Include
-IDrivers/CMSIS/Include \
-ICamera_driver \
-IApp
# compile gcc flags
ASFLAGS = $(MCU) $(AS_DEFS) $(AS_INCLUDES) $(OPT) -Wall -fdata-sections -ffunction-sections
@ -149,7 +145,7 @@ $(eval CPP_SOURCES=$(shell $(CC) $(C_INCLUDES) $(C_DEFS) -MM Src/main.c | sed '
# LDFLAGS
#######################################
# link script
LDSCRIPT = STM32L432KCUx_FLASH.ld
LDSCRIPT = STM32L452CEUx_FLASH.ld
# libraries
LIBS = -lc -lm -lnosys
@ -217,7 +213,7 @@ $(BUILD_DIR):
#######################################
clean:
-rm -fR $(BUILD_DIR)
#######################################
# dependencies
#######################################