2019-10-15 14:29:51 +02:00
|
|
|
# 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
|
|
|
|
|
2017-01-20 18:10:54 +01:00
|
|
|
# custom flasher to use with the bootloader
|
2019-12-20 18:36:34 +01:00
|
|
|
FLASHER = $(RIOTBOARD)/opencm904/dist/robotis-loader.py
|
2019-05-17 13:52:34 +02:00
|
|
|
DEBUGGER =
|
|
|
|
DEBUGSERVER =
|
2017-01-20 18:10:54 +01:00
|
|
|
|
2018-12-19 19:24:45 +01:00
|
|
|
FLASHFILE ?= $(BINFILE)
|
2019-10-15 14:29:51 +02:00
|
|
|
FFLAGS = $(PROG_DEV) $(FLASHFILE)
|
2019-05-17 13:52:34 +02:00
|
|
|
DEBUGGER_FLAGS =
|
2017-01-20 18:10:54 +01:00
|
|
|
|
2017-10-24 14:24:19 +02:00
|
|
|
# Skip the space needed by the embedded bootloader
|
|
|
|
export ROM_OFFSET ?= 0x3000
|