1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

boards: remove include of serial.inc.mk

This commit is contained in:
Alexandre Abadie 2020-11-20 08:03:39 +01:00
parent d709ec78f6
commit 4c290e1f92
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405
72 changed files with 0 additions and 193 deletions

View File

@ -5,9 +5,6 @@ INCLUDES += -I$(RIOTBOARD)/common/stm32/include
PORT_LINUX ?= /dev/ttyACM0
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
# setup serial terminal
include $(RIOTMAKE)/tools/serial.inc.mk
# this board has an on-board ST-link adapter
PROGRAMMER ?= openocd
DEBUG_ADAPTER ?= stlink

View File

@ -5,9 +5,6 @@ INCLUDES += -I$(RIOTBOARD)/common/stm32/include
PORT_LINUX ?= /dev/ttyACM0
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
# setup serial terminal
include $(RIOTMAKE)/tools/serial.inc.mk
# this board has an on-board ST-link adapter
PROGRAMMER ?= openocd
DEBUG_ADAPTER ?= stlink

View File

@ -4,8 +4,5 @@ XDEBUGGER = XDS110
PORT_LINUX ?= /dev/ttyACM0
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
# setup serial terminal
include $(RIOTMAKE)/tools/serial.inc.mk
# configure the flash tool
include $(RIOTBOARD)/common/cc26x2_cc13x2/Makefile.include

View File

@ -4,8 +4,5 @@ XDEBUGGER = XDS110
PORT_LINUX ?= /dev/ttyACM0
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
# setup serial terminal
include $(RIOTMAKE)/tools/serial.inc.mk
# configure the flash tool
include $(RIOTBOARD)/common/cc26x2_cc13x2/Makefile.include

View File

@ -4,8 +4,5 @@ XDEBUGGER = XDS110
PORT_LINUX ?= /dev/ttyACM0
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
# setup serial terminal
include $(RIOTMAKE)/tools/serial.inc.mk
# configure the flash tool
include $(RIOTBOARD)/common/cc26x2_cc13x2/Makefile.include

View File

@ -4,8 +4,5 @@ XDEBUGGER = XDS110
PORT_LINUX ?= /dev/ttyACM0
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
# setup serial terminal
include $(RIOTMAKE)/tools/serial.inc.mk
# configure the flash tool
PROGRAMMER ?= uniflash

View File

@ -4,8 +4,5 @@ XDEBUGGER = XDS110
PORT_LINUX ?= /dev/ttyACM0
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
# setup serial terminal
include $(RIOTMAKE)/tools/serial.inc.mk
# configure the flash tool
PROGRAMMER ?= uniflash

View File

@ -5,9 +5,6 @@ INCLUDES += -I$(RIOTBOARD)/common/arduino-due/include
PORT_LINUX ?= /dev/ttyACM0
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
# setup serial terminal
include $(RIOTMAKE)/tools/serial.inc.mk
# setup flasher (using BOSSA)
PROGRAMMER ?= bossa
BOSSA_VERSION = 1.8

View File

@ -1,9 +1,6 @@
PORT_LINUX ?= /dev/ttyACM0
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
# setup serial terminal
include $(RIOTMAKE)/tools/serial.inc.mk
# setup the flash tool used
ifeq ($(PROGRAMMER),jlink)
# in case J-Link is attached to SWD pins, use a plain CPU memory model

View File

@ -51,5 +51,3 @@ endif
BOOTLOADER_SIZE ?= 0
ROM_RESERVED ?= $(BOOTLOADER_SIZE)
include $(RIOTMAKE)/tools/serial.inc.mk

View File

@ -1,9 +1,6 @@
# define the default flash-tool
PROGRAMMER ?= cc2538-bsl
# setup serial terminal
include $(RIOTMAKE)/tools/serial.inc.mk
# For backward compatibility
ifneq (,$(PORT_BSL))
$(warning Warning! PORT_BSL is deprecated use PROG_DEV)

View File

@ -1,4 +1,3 @@
# configure the serial interface
PORT_LINUX ?= /dev/ttyUSB0
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
include $(RIOTMAKE)/tools/serial.inc.mk

View File

@ -1,4 +1,3 @@
# configure the serial interface
PORT_LINUX ?= /dev/ttyUSB0
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
include $(RIOTMAKE)/tools/serial.inc.mk

View File

@ -4,7 +4,6 @@ PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbserial*B)))
# setup serial terminal
BAUD ?= 500000
include $(RIOTMAKE)/tools/serial.inc.mk
# Use openocd by default
PROGRAMMER ?= openocd

View File

@ -3,8 +3,6 @@ INCLUDES += -I$(RIOTBOARD)/common/msb-430/include
# set default port depending on operating system
PORT_LINUX ?= /dev/ttyUSB0
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
# setup serial terminal
include $(RIOTMAKE)/tools/serial.inc.mk
# setup flash tool
PROGRAMMER ?= mspdebug

View File

@ -10,4 +10,3 @@ PROGRAMMER ?= lpc2k_pgm
MINITERMFLAGS += --rts 0 --dtr 0
PYTERMFLAGS += -tg
include $(RIOTMAKE)/tools/serial.inc.mk

View File

@ -1,6 +1,3 @@
# setup serial terminal
include $(RIOTMAKE)/tools/serial.inc.mk
# include common nrf51 headers
INCLUDES += -I$(RIOTBOARD)/common/nrf51/include

View File

@ -12,9 +12,6 @@ else
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
endif
# setup serial terminal
include $(RIOTMAKE)/tools/serial.inc.mk
PROGRAMMER ?= jlink
ifeq (jlink,$(PROGRAMMER))
# setup JLink for flashing

View File

@ -6,9 +6,6 @@ INCLUDES += -I$(RIOTBOARD)/common/slwstk6000b/modules/$(BOARD_MODULE)/include
PORT_LINUX ?= /dev/ttyACM0
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
# setup serial terminal
include $(RIOTMAKE)/tools/serial.inc.mk
# setup JLink for flashing
include $(RIOTBOARD)/common/slwstk6000b/slwstk6000b.info.mk
JLINK_DEVICE = $(word 2, $(SLWSTK6000B_MAINBOARD_VARS_$(BOARD_MODULE)))

View File

@ -1,9 +1,6 @@
PORT_LINUX ?= /dev/ttyACM0
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
# setup serial terminal
include $(RIOTMAKE)/tools/serial.inc.mk
# Add board common includes
INCLUDES += -I$(RIOTBOARD)/common/sodaq/include

View File

@ -2,9 +2,6 @@
PORT_LINUX ?= /dev/ttyUSB0
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
# setup serial terminal
include $(RIOTMAKE)/tools/serial.inc.mk
# setup JLink for flashing
JLINK_DEVICE = EFR32MG1BxxxF256
JLINK_PRE_FLASH = r

View File

@ -2,8 +2,5 @@
PORT_LINUX ?= /dev/ttyACM0
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
# setup serial terminal
include $(RIOTMAKE)/tools/serial.inc.mk
# this board uses openocd
PROGRAMMER ?= openocd

View File

@ -5,9 +5,6 @@ INCLUDES += -I$(RIOTBOARD)/common/stm32/include
PORT_LINUX ?= /dev/ttyUSB0
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
# setup serial terminal
include $(RIOTMAKE)/tools/serial.inc.mk
# st-flash
FLASHER = st-flash
DEBUGGER = $(RIOTBOARD)/f4vi1/dist/debug.sh

View File

@ -1,9 +1,6 @@
PORT_LINUX ?= /dev/ttyACM0
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
# setup serial terminal
include $(RIOTMAKE)/tools/serial.inc.mk
# setup the flash tool used
ifeq ($(PROGRAMMER),jlink)
# in case J-Link is attached to SWD pins, use a plain CPU memory model

View File

@ -5,6 +5,4 @@ ifeq (,$(filter stdio_%,$(DISABLE_MODULE) $(USEMODULE)))
RIOT_TERMINAL ?= jlink
endif
include $(RIOTMAKE)/tools/serial.inc.mk
include $(RIOTBOARD)/common/nrf52/Makefile.include

View File

@ -5,8 +5,5 @@ INCLUDES += -I$(RIOTBOARD)/common/stm32/include
PORT_LINUX ?= /dev/ttyUSB1
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbserial*)))
# setup serial terminal
include $(RIOTMAKE)/tools/serial.inc.mk
# this board uses openocd
PROGRAMMER ?= openocd

View File

@ -6,4 +6,3 @@ OFLAGS := --gap-fill 0xff
# use JLink Segger RTT by default
RIOT_TERMINAL ?= jlink
include $(RIOTMAKE)/tools/serial.inc.mk

View File

@ -2,9 +2,6 @@
PORT_LINUX ?= /dev/ttyUSB1
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
# setup serial terminal
include $(RIOTMAKE)/tools/serial.inc.mk
# this board uses openocd with a custom reset command
PROGRAMMER ?= openocd
OPENOCD_CMD_RESET_RUN =-c _reset

View File

@ -2,9 +2,6 @@
PORT_LINUX ?= /dev/ttyACM0
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
# setup serial terminal
include $(RIOTMAKE)/tools/serial.inc.mk
# Set default programmer as jlink
PROGRAMMER ?= jlink

View File

@ -5,9 +5,6 @@ INCLUDES += -I$(RIOTBOARD)/common/stm32/include
PORT_LINUX ?= /dev/ttyACM0
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
# setup serial terminal
include $(RIOTMAKE)/tools/serial.inc.mk
# to flash this board, use an ST-link adapter
DEBUG_ADAPTER ?= stlink

View File

@ -6,6 +6,3 @@ PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
PROGRAMMER ?= jlink
JLINK_DEVICE = EFR32MG1PxxxF256
JLINK_PRE_FLASH = r
# setup serial terminal
include $(RIOTMAKE)/tools/serial.inc.mk

View File

@ -5,9 +5,6 @@ INCLUDES += -I$(RIOTBOARD)/common/stm32/include
PORT_LINUX ?= /dev/ttyUSB0
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
# setup serial terminal
include $(RIOTMAKE)/tools/serial.inc.mk
CFLAGS+=-DSX127X_TX_SWITCH
CFLAGS+=-DSX127X_RX_SWITCH

View File

@ -5,9 +5,6 @@ INCLUDES += -I$(RIOTBOARD)/common/stm32/include
PORT_LINUX ?= /dev/ttyUSB0
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
# setup serial terminal
include $(RIOTMAKE)/tools/serial.inc.mk
# this board uses openocd with st-link
PROGRAMMER ?= openocd
DEBUG_ADAPTER ?= stlink

View File

@ -5,9 +5,6 @@ INCLUDES += -I$(RIOTBOARD)/common/stm32/include
PORT_LINUX ?= /dev/ttyUSB0
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
# setup serial terminal
include $(RIOTMAKE)/tools/serial.inc.mk
# Configure programmer
PROGRAMMER ?= stm32loader

View File

@ -5,9 +5,6 @@ INCLUDES += -I$(RIOTBOARD)/common/stm32/include
PORT_LINUX ?= /dev/ttyACM0
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
# setup serial terminal
include $(RIOTMAKE)/tools/serial.inc.mk
# this board uses openocd
PROGRAMMER ?= openocd
# this board can become un-flashable after a hardfault,

View File

@ -5,9 +5,6 @@ INCLUDES += -I$(RIOTBOARD)/common/stm32/include
PORT_LINUX ?= /dev/ttyACM0
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
# setup serial terminal
include $(RIOTMAKE)/tools/serial.inc.mk
# this board uses openocd with st-link
PROGRAMMER ?= openocd
DEBUG_ADAPTER ?= stlink

View File

@ -9,6 +9,3 @@ DEBUGGER_FLAGS =
# define the default port depending on the host OS
PORT_LINUX ?= /dev/ttyACM0
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
# setup serial terminal
include $(RIOTMAKE)/tools/serial.inc.mk

View File

@ -24,6 +24,3 @@ DEBUG_ADAPTER_ID ?= $(PROGRAMMER_SERIAL)
# Define the default port depending on the host OS
PORT_LINUX ?= /dev/ttyUSB0
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbserial*)))
# setup serial terminal
include $(RIOTMAKE)/tools/serial.inc.mk

View File

@ -8,6 +8,3 @@ PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
# this board is flashed using DFU
PROGRAMMER ?= dfu-util
DFU_USB_ID = 0483:df11
# setup serial terminal
include $(RIOTMAKE)/tools/serial.inc.mk

View File

@ -4,8 +4,6 @@ INCLUDES += -I$(RIOTBOARD)/common/stm32/include
# define the default port depending on the host OS
PORT_LINUX ?= /dev/ttyACM0
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
# setup serial terminal
include $(RIOTMAKE)/tools/serial.inc.mk
# custom flasher to use with the bootloader
PROGRAMMER ?= robotis-loader

View File

@ -5,9 +5,6 @@ INCLUDES += -I$(RIOTBOARD)/common/stm32/include
PORT_LINUX ?= /dev/ttyACM0
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
# setup serial terminal
include $(RIOTMAKE)/tools/serial.inc.mk
# this board uses openocd with st-link
PROGRAMMER ?= openocd
DEBUG_ADAPTER ?= stlink

View File

@ -15,9 +15,6 @@ ifneq (,$(SERIAL))
PORT_LINUX := $(SERIAL_TTY)
endif
# setup serial terminal
include $(RIOTMAKE)/tools/serial.inc.mk
# this board uses openocd
PROGRAMMER ?= openocd

View File

@ -1,5 +1,4 @@
PORT_LINUX ?= /dev/ttyUSB0
include $(RIOTMAKE)/tools/serial.inc.mk
# use pic32prog by default to program this board
PROGRAMMER ?= pic32prog

View File

@ -1,6 +1,5 @@
# use JLink Segger RTT by default
RIOT_TERMINAL ?= jlink
include $(RIOTMAKE)/tools/serial.inc.mk
# define pyocd as programmer to program with stlink
ifeq (pyocd,$(PROGRAMMER))

View File

@ -5,9 +5,6 @@ INCLUDES += -I$(RIOTBOARD)/common/stm32/include
PORT_LINUX ?= /dev/ttyUSB0
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
# setup serial terminal
include $(RIOTMAKE)/tools/serial.inc.mk
# this board is flashed using DFU
PROGRAMMER ?= dfu-util
DFU_USB_ID = 1d50:607f

View File

@ -5,7 +5,5 @@ ifeq (,$(filter stdio_%,$(DISABLE_MODULE) $(USEMODULE)))
RIOT_TERMINAL ?= jlink
endif
include $(RIOTMAKE)/tools/serial.inc.mk
# use shared Makefile.include
include $(RIOTBOARD)/common/nrf52xxxdk/Makefile.include

View File

@ -2,10 +2,6 @@
PORT_LINUX ?= /dev/ttyUSB0
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
# setup serial terminal
include $(RIOTMAKE)/tools/serial.inc.mk
# this board uses openocd with an HEXFILE
PROGRAMMER ?= openocd
FLASHFILE ?= $(HEXFILE)

View File

@ -1,9 +1,6 @@
PORT_LINUX ?= /dev/ttyACM0
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
# setup serial terminal
include $(RIOTMAKE)/tools/serial.inc.mk
# by default, we use BOSSA to flash this board to take into account the
# pre-flashed Arduino bootloader
PROGRAMMER ?= bossa

View File

@ -2,9 +2,6 @@
PORT_LINUX ?= /dev/ttyACM0
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
# setup serial terminal
include $(RIOTMAKE)/tools/serial.inc.mk
# setup JLink for flashing
JLINK_PRE_FLASH = r

View File

@ -2,9 +2,6 @@
PORT_LINUX ?= /dev/ttyACM0
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
# setup serial terminal
include $(RIOTMAKE)/tools/serial.inc.mk
# setup JLink for flashing
JLINK_PRE_FLASH = r

View File

@ -2,9 +2,6 @@
PORT_LINUX ?= /dev/ttyACM0
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
# setup serial terminal
include $(RIOTMAKE)/tools/serial.inc.mk
# setup JLink for flashing
JLINK_DEVICE = EFR32MG1PxxxF256
JLINK_PRE_FLASH = r

View File

@ -2,9 +2,6 @@
PORT_LINUX ?= /dev/ttyACM0
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
# setup serial terminal
include $(RIOTMAKE)/tools/serial.inc.mk
# setup JLink for flashing
JLINK_PRE_FLASH = r

View File

@ -5,8 +5,6 @@ INCLUDES += -I$(RIOTBOARD)/common/stm32/include
PORT_LINUX ?= /dev/ttyUSB0
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
include $(RIOTMAKE)/tools/serial.inc.mk
# Skip the space needed by the embedded bootloader
ROM_OFFSET ?= 0x5000

View File

@ -2,9 +2,6 @@
PORT_LINUX ?= /dev/ttyACM0
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
# setup serial terminal
include $(RIOTMAKE)/tools/serial.inc.mk
# setup JLink for flashing
JLINK_PRE_FLASH = r

View File

@ -2,9 +2,6 @@
PORT_LINUX ?= /dev/ttyACM0
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
# setup serial terminal
include $(RIOTMAKE)/tools/serial.inc.mk
# setup JLink for flashing
JLINK_PRE_FLASH = r

View File

@ -2,9 +2,6 @@
PORT_LINUX ?= /dev/ttyACM0
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
# setup serial terminal
include $(RIOTMAKE)/tools/serial.inc.mk
# setup JLink for flashing
JLINK_PRE_FLASH = r

View File

@ -5,9 +5,6 @@ INCLUDES += -I$(RIOTBASE)/boards/common/stm32/include
PORT_LINUX ?= /dev/ttyUSB0
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
# setup serial terminal
include $(RIOTMAKE)/tools/serial.inc.mk
# this board uses openocd
PROGRAMMER ?= openocd
DEBUG_ADAPTER ?= stlink

View File

@ -5,9 +5,6 @@ INCLUDES += -I$(RIOTBOARD)/common/stm32/include
PORT_LINUX ?= /dev/ttyUSB0
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
# setup serial terminal
include $(RIOTMAKE)/tools/serial.inc.mk
# this board uses openocd
PROGRAMMER ?= openocd
DEBUG_ADAPTER ?= stlink

View File

@ -5,9 +5,6 @@ INCLUDES += -I$(RIOTBOARD)/common/stm32/include
PORT_LINUX ?= /dev/ttyACM0
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
# setup serial terminal
include $(RIOTMAKE)/tools/serial.inc.mk
# this board uses openocd
PROGRAMMER ?= openocd
# this board has an on-board ST-link adapter

View File

@ -5,9 +5,6 @@ INCLUDES += -I$(RIOTBOARD)/common/stm32/include
PORT_LINUX ?= /dev/ttyUSB0
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
# setup serial terminal
include $(RIOTMAKE)/tools/serial.inc.mk
# this board uses openocd with st-link
PROGRAMMER ?= openocd
DEBUG_ADAPTER ?= stlink

View File

@ -5,9 +5,6 @@ INCLUDES += -I$(RIOTBOARD)/common/stm32/include
PORT_LINUX ?= /dev/ttyACM0
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
# setup serial terminal
include $(RIOTMAKE)/tools/serial.inc.mk
# this board uses openocd
PROGRAMMER ?= openocd

View File

@ -5,9 +5,6 @@ INCLUDES += -I$(RIOTBOARD)/common/stm32/include
PORT_LINUX ?= /dev/ttyACM0
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
# setup serial terminal
include $(RIOTMAKE)/tools/serial.inc.mk
# this board uses openocd with st-link
PROGRAMMER ?= openocd

View File

@ -5,9 +5,6 @@ INCLUDES += -I$(RIOTBOARD)/common/stm32/include
PORT_LINUX ?= /dev/ttyUSB0
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
# setup serial terminal
include $(RIOTMAKE)/tools/serial.inc.mk
# this board uses openocd with st-link
PROGRAMMER ?= openocd

View File

@ -5,9 +5,6 @@ INCLUDES += -I$(RIOTBOARD)/common/stm32/include
PORT_LINUX ?= /dev/ttyACM0
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
# setup serial terminal
include $(RIOTMAKE)/tools/serial.inc.mk
# this board uses openocd with st-link
PROGRAMMER ?= openocd
DEBUG_ADAPTER ?= stlink

View File

@ -5,9 +5,6 @@ INCLUDES += -I$(RIOTBOARD)/common/stm32/include
PORT_LINUX ?= /dev/ttyACM0
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
# setup serial terminal
include $(RIOTMAKE)/tools/serial.inc.mk
# this board has an on-board ST-link adapter
DEBUG_ADAPTER = stlink-dap
OPENOCD_CORE = stm32mp15x.cm4

View File

@ -17,6 +17,3 @@ $(TEENSY_LOADER):
@echo "[INFO] teensy_loader binary not found - building it from source now"
CC= CFLAGS= $(MAKE) -C $(RIOTTOOLS)/teensy-loader-cli
@echo "[INFO] teensy_loader binary successfully build!"
# setup serial terminal
include $(RIOTMAKE)/tools/serial.inc.mk

View File

@ -3,7 +3,6 @@ PORT_LINUX ?= /dev/ttyUSB0
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbserial-MXV*)))
# setup serial terminal
BAUD ?= 9600
include $(RIOTMAKE)/tools/serial.inc.mk
# flash tool configuration
PROGRAMMER ?= goodfet

View File

@ -5,7 +5,5 @@ ifeq (,$(filter stdio_%,$(DISABLE_MODULE) $(USEMODULE)))
RIOT_TERMINAL ?= jlink
endif
include $(RIOTMAKE)/tools/serial.inc.mk
# use shared Makefile.include
include $(RIOTBOARD)/common/nrf52/Makefile.include

View File

@ -5,9 +5,6 @@ INCLUDES += -I$(RIOTBOARD)/common/stm32/include
PORT_LINUX ?= /dev/ttyACM0
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
# setup serial terminal
include $(RIOTMAKE)/tools/serial.inc.mk
# this board uses openocd with st-link
PROGRAMMER ?= openocd

View File

@ -1,8 +1,6 @@
# set default port depending on operating system
PORT_LINUX ?= /dev/ttyUSB0
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
# setup serial terminal
include $(RIOTMAKE)/tools/serial.inc.mk
# setup flash tool
PROGRAMMER ?= goodfet

View File

@ -18,9 +18,6 @@ ifneq (,$(filter debug% flash% %term test,$(MAKECMDGOALS)))
endif
endif
# setup serial terminal
include $(RIOTMAKE)/tools/serial.inc.mk
# Default for these boards is to use a CMSIS-DAP programmer
DEBUG_ADAPTER ?= dap

View File

@ -17,9 +17,6 @@ else
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
endif
# setup serial terminal
include $(RIOTMAKE)/tools/serial.inc.mk
ifeq (openocd,$(PROGRAMMER))
# STM32 boards can become un-flashable after a hardfault,
# use connect_assert_srst to always be able to flash or reset the boards.