refine peripherals processing. Use libs
This commit is contained in:
+6
-2
@@ -269,12 +269,16 @@ CFLAGS_THIRDPARTY =
|
||||
ifeq ($(TARGET_SYSTEM),stm32f4)
|
||||
SOURCES_THIRDPARTY += \
|
||||
./third-party/STM32F4-Discovery_FW_V1.1.0/Libraries/CMSIS/ST/STM32F4xx/Source/Templates/system_stm32f4xx.c \
|
||||
./third-party/STM32F4-Discovery_FW_V1.1.0/Libraries/CMSIS/ST/STM32F4xx/Source/Templates/gcc_ride7/startup_stm32f4xx.s
|
||||
./third-party/STM32F4-Discovery_FW_V1.1.0/Libraries/CMSIS/ST/STM32F4xx/Source/Templates/gcc_ride7/startup_stm32f4xx.s \
|
||||
./third-party/STM32F4-Discovery_FW_V1.1.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_tim.c \
|
||||
./third-party/STM32F4-Discovery_FW_V1.1.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_gpio.c \
|
||||
./third-party/STM32F4-Discovery_FW_V1.1.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_rcc.c
|
||||
|
||||
INCLUDES_THIRDPARTY += \
|
||||
-I third-party/STM32F4-Discovery_FW_V1.1.0/Libraries/CMSIS/ST/STM32F4xx/Include \
|
||||
-I third-party/STM32F4-Discovery_FW_V1.1.0/Libraries/STM32F4xx_StdPeriph_Driver/inc \
|
||||
-I third-party/STM32F4-Discovery_FW_V1.1.0/Libraries/CMSIS/Include
|
||||
-I third-party/STM32F4-Discovery_FW_V1.1.0/Libraries/CMSIS/Include \
|
||||
-I third-party/STM32F4-Discovery_FW_V1.1.0/
|
||||
|
||||
#-I third-party/STM32F4-Discovery_FW_V1.1.0/Project/Demonstration \
|
||||
|
||||
|
||||
Reference in New Issue
Block a user