Blame view

RIOT/boards/sodaq-explorer/Makefile.include 630 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
  # define the cpu used by the SODAQ ExpLoRer board
  export CPU = samd21
  export CPU_MODEL = samd21j18a
  
  #export needed for flash rule
  export PORT_LINUX ?= /dev/ttyACM0
  export PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
  
  # setup serial terminal
  include $(RIOTMAKE)/tools/serial.inc.mk
  
  # setup the flash tool used
  # we use BOSSA to flash this board since there's an Arduino bootloader
  # preflashed on it
  export LINKER_SCRIPT ?= $(RIOTCPU)/sam0_common/ldscripts/$(CPU_MODEL)_arduino_bootloader.ld
  include $(RIOTMAKE)/tools/bossa.inc.mk
  
  # setup the boards dependencies
  include $(RIOTBOARD)/$(BOARD)/Makefile.dep