# define the cpu used by the yunjia-nrf51822 board export CPU = nrf51822 export CPU_MODEL = nrf51822qfaa # define the default port depending on the host OS PORT_LINUX ?= /dev/ttyUSB0 PORT_DARWIN ?= $(shell ls -1 /dev/tty.SLAB_USBtoUART* | head -n 1) # setup serial terminal include $(RIOTBOARD)/Makefile.include.serial # this board uses openocd include $(RIOTBOARD)/Makefile.include.openocd # include cortex defaults include $(RIOTBOARD)/Makefile.include.cortexm_common