# the cpu to build for export CPU = stm32l4 export CPU_MODEL = stm32l475vg # define the default port depending on the host OS PORT_LINUX ?= /dev/ttyACM0 PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*))) # setup serial terminal include $(RIOTMAKE)/tools/serial.inc.mk # this board has an on-board ST-link adapter export DEBUG_ADAPTER ?= stlink # this board uses openocd include $(RIOTMAKE)/tools/openocd.inc.mk