Blame view

RIOT/boards/pca10000/Makefile.include 429 Bytes
a752c7ab   elopes   add first test an...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
  # define the used CPU
  export CPU = nrf51
  export CPU_MODEL = nrf51x22xxaa
  
  # define the default port depending on the host OS
  PORT_LINUX ?= /dev/ttyACM0
  PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
  
  # setup JLink for flashing
  export JLINK_DEVICE := nrf51822
  export JLINK_PRE_FLASH := w4 4001e504 1
  include $(RIOTMAKE)/tools/jlink.inc.mk
  
  # setup serial terminal
  include $(RIOTMAKE)/tools/serial.inc.mk