bluepill: start HAL, update skeleton.

This commit is contained in:
2018-03-07 08:06:25 -08:00
parent 4be849722a
commit 899a1813d1
9 changed files with 201 additions and 8 deletions

View File

@@ -16,7 +16,7 @@ ARMSIZE := $(ARMTC)-size
OBJCOPY := $(ARMTC)-objcopy
# compiler options
CPUFLAGS := -mcpu=cortex-m3 -mthumb
CPUFLAGS := -mcpu=cortex-m3 -mthumb -std=c99
CFLAGS := -Wall -Wextra -Os -MD $(CPUFLAGS)
LDFLAGS := $(CPUFLAGS) -nostartfiles -Wl,-T,bluepill.ld
LDLIBS := -lc -lnosys