2020-08-27 16:01:10 +02:00
|
|
|
# this board uses shared STM32 configuration snippets
|
|
|
|
INCLUDES += -I$(RIOTBOARD)/common/stm32/include
|
|
|
|
|
2019-03-08 16:35:44 +01:00
|
|
|
# define the default port depending on the host OS
|
|
|
|
PORT_LINUX ?= /dev/ttyUSB0
|
|
|
|
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
|
|
|
|
|
|
|
|
CFLAGS+=-DSX127X_TX_SWITCH
|
|
|
|
CFLAGS+=-DSX127X_RX_SWITCH
|
|
|
|
|
|
|
|
# this board uses openocd
|
2020-11-19 18:38:41 +01:00
|
|
|
PROGRAMMER ?= openocd
|
2021-02-11 14:21:17 +01:00
|
|
|
# openocd programmer is supported
|
|
|
|
PROGRAMMERS_SUPPORTED += openocd
|
|
|
|
|
2021-02-18 17:15:55 +01:00
|
|
|
OPENOCD_DEBUG_ADAPTER ?= stlink
|