mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
7306dbd382
DEBUGGER/DEBUGGER_FLAGS/DEBUGSERVER/DEBUGSERVER_FLAGS are evaluated by the main Makefile.include or by file included by it. Their value does not need to be exported. Testing ------- `git diff --word-diff` only reports `export` being removed. `git show --stat` reports `55 insertions(+), 55 deletions(-)` Which is the same amount as lines that where matching `export[[:blank::]]\+VARIABLE`.
23 lines
558 B
Makefile
23 lines
558 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 =
|
|
|
|
HEXFILE = $(BINFILE)
|
|
FFLAGS = $(PORT) $(HEXFILE)
|
|
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
|