mirror of
https://github.com/kelvinlawson/atomthreads.git
synced 2026-07-22 15:15:23 +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
15 lines
438 B
Makefile
15 lines
438 B
Makefile
TARGET ?= stm32f103rb
|
|
LIBNAME ?= opencm3_stm32f1
|
|
DEFS ?= -DSTM32F1
|
|
DEFS += -DSTD_CON=USART2
|
|
DEFS += -DMST_SIZE=0x400
|
|
|
|
FP_FLAGS ?= -msoft-float
|
|
ARCH_FLAGS ?= -mthumb -mcpu=cortex-m3 $(FP_FLAGS) -mfix-cortex-m3-ldrd
|
|
|
|
OOCD ?= openocd
|
|
OOCD_INTERFACE ?= stlink-v2-1
|
|
OOCD_BOARD ?= st_nucleo_f103rb
|
|
|
|
objs += board_setup.o
|
|
# aobjs += helloworld.o
|