Blame view

RIOT/boards/f4vi1/Makefile.include 652 Bytes
a752c7ab   elopes   add first test an...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
  # define the cpu used by the stm32f4-discovery board
  export CPU = stm32f4
  export CPU_MODEL = stm32f415rg
  
  # define the default port depending on the host OS
  PORT_LINUX ?= /dev/ttyUSB0
  PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
  
  # setup serial terminal
  include $(RIOTMAKE)/tools/serial.inc.mk
  
  # st-flash
  export FLASHER = st-flash
  export DEBUGGER = $(RIOTBOARD)/$(BOARD)/dist/debug.sh
  export DEBUGSERVER = st-util
  
  # define st-flash parameters
  export OFLAGS = -O binary
  export FFLAGS = write bin/$(BOARD)/$(APPLICATION).hex 0x8000000
  export DEBUGGER_FLAGS = $(RIOTBOARD)/$(BOARD)/dist/gdb.conf $(BINDIR)/$(APPLICATION).elf