demo: SPI Flash interface working
This commit is contained in:
parent
2964bda23c
commit
fcbdab4ab2
4 changed files with 95 additions and 60 deletions
|
|
@ -24,7 +24,7 @@ GDB := $(PREFIX)gdb
|
|||
|
||||
CFLAGS += -I$(OPENCM3_DIR)/include -Imspdebug/util -Imspdebug/drivers
|
||||
|
||||
CFLAGS += -Os -std=c11 -g -DSTM32F4
|
||||
CFLAGS += -Os -std=gnu11 -g -DSTM32F4
|
||||
# Note: libopencm3 requires some standard libc definitions from stdint.h and stdbool.h, so we don't pass -nostdinc here.
|
||||
CFLAGS += -nostdlib -ffreestanding
|
||||
CFLAGS += -mthumb -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -g
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue