1
0
mirror of https://github.com/rene-dev/stmbl.git synced 2024-12-25 10:02:18 +00:00
stmbl/plattform/stm32f405xG/plattform.mak
2016-06-18 13:30:18 +02:00

10 lines
475 B
Makefile

CPPFLAGS += -DSTM32F405xx
SOURCES += $(wildcard plattform/$(CPU)/src/*.c)
SOURCES += lib/CMSIS/Device/ST/STM32F4xx/Source/Templates/gcc/startup_stm32f405xx.s
SOURCES += lib/CMSIS/Device/ST/STM32F4xx/Source/Templates/system_stm32f4xx.c
HAL_DRV_DIR = lib/STM32F4xx_HAL_Driver
INCDIRS += lib/CMSIS/Device/ST/STM32F4xx/Include
INCDIRS += plattform/$(CPU)/inc
LDSCRIPT = plattform/$(CPU)/stm32f405xG_flash.ld
CPU_FLAGS = -mthumb -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16