mirror of
https://github.com/kelvinlawson/atomthreads.git
synced 2026-09-17 19:07:07 +02:00
Improved dependency tracking in build system Added ability to build single target application Added abililty to build non-testsuite applications Added 'helloworld' example application
17 lines
476 B
Makefile
17 lines
476 B
Makefile
TARGET ?= stm32f411re
|
|
|
|
LIBNAME ?= opencm3_stm32f4
|
|
DEFS ?= -DSTM32F4
|
|
DEFS += -DSTD_CON=USART2
|
|
DEFS += -DMST_SIZE=0x400
|
|
|
|
FP_FLAGS ?= -mfloat-abi=hard -mfpu=fpv4-sp-d16
|
|
ARCH_FLAGS ?= -mthumb -mcpu=cortex-m4 $(FP_FLAGS)
|
|
|
|
OOCD ?= openocd
|
|
OOCD_INTERFACE ?= stlink-v2-1
|
|
OOCD_BOARD ?= st_nucleo_f4
|
|
|
|
objs += board_setup.o
|
|
objs += stubs.o stm32_con.o
|
|
# aobjs += helloworld.o
|