1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/boards/opencm904/Makefile.include
Gaëtan Harter 785a9546ae
boards/opencm904: use FLASHFILE for boards using robotis-loader.py
Update to use FLASHFILE as file to be flashed on the board.
2019-06-17 18:26:36 +02:00

23 lines
563 B
Makefile

# the cpu to build for
export CPU = stm32f1
export CPU_MODEL = stm32f103cb
# custom flasher to use with the bootloader
FLASHER = $(RIOTBOARD)/$(BOARD)/dist/robotis-loader.py
DEBUGGER =
DEBUGSERVER =
FLASHFILE ?= $(BINFILE)
FFLAGS = $(PORT) $(FLASHFILE)
DEBUGGER_FLAGS =
# define the default port depending on the host OS
PORT_LINUX ?= /dev/ttyACM0
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
# Skip the space needed by the embedded bootloader
export ROM_OFFSET ?= 0x3000
# setup serial terminal
include $(RIOTMAKE)/tools/serial.inc.mk