config.mk (476B)
1 2 # name arch rambase ramsize flashbase flashsize linkscript 3 $(call chip,stm32f103-rom,stm32f1xx,0x20000000,0x00005000,0x08000000,0x00020000,rom) 4 5 6 ARCH_stm32f1xx_CFLAGS := -Iarch/stm32f1xx/include 7 ARCH_stm32f1xx_CFLAGS += -Iarch/arm-cm3/include 8 ARCH_stm32f1xx_CFLAGS += -DCONFIG_STACKTOP=0x20005000 9 ARCH_stm32f1xx_START := arch/arm-cm3/start.o 10 11 ARCH_stm32f1xx_OBJS := \ 12 arch/stm32f1xx/gpio.o \ 13 arch/stm32f1xx/serial.o \ 14 arch/stm32f1xx/usb.o