refine peripherals processing. Use libs

This commit is contained in:
e.gavrin
2014-07-30 21:57:41 +04:00
parent e540590ddd
commit c25db6d7b9
7 changed files with 97 additions and 69 deletions
+6 -2
View File
@@ -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 \