1234567891011121314151617181920212223242526 |
- VPATH += :$(HALPATH)/stm32f2
- SRC += stm32f2_hal.c stm32f2_hal_lowlevel.c stm32f2_sysmem.c
- EXTRAINCDIRS += $(HALPATH)/stm32f2 $(HALPATH)/stm32f2/CMSIS $(HALPATH)/stm32f2/CMSIS/core $(HALPATH)/stm32f2/CMSIS/device $(HALPATH)/stm32f2/Legacy
- ASRC += stm32f2_startup.S
- MCU_FLAGS = -mcpu=cortex-m3
- CC = arm-none-eabi-gcc
- OBJCOPY = arm-none-eabi-objcopy
- OBJDUMP = arm-none-eabi-objdump
- SIZE = arm-none-eabi-size
- AR = arm-none-eabi-ar rcs
- NM = arm-none-eabi-nm
- #Output Format = Binary for this target
- FORMAT = binary
- CFLAGS += -mthumb -mfloat-abi=soft -fmessage-length=0 -ffunction-sections
- CPPFLAGS += -mthumb -mfloat-abi=soft -fmessage-length=0 -ffunction-sections
- ASFLAGS += -mthumb -mfloat-abi=soft -fmessage-length=0 -ffunction-sections
- CDEFS += -DSTM32F205RETx -DSTM32F2 -DSTM32 -DDEBUG
- CPPDEFS += -DSTM32F205RETx -DSTM32F2 -DSTM32 -DDEBUG
- LDFLAGS += --specs=nano.specs -T $(HALPATH)/stm32f2/LinkerScript.ld -Wl,--gc-sections -lm
|