mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
boards: remove not need PORT_LINUX/PORT_DARWIN
They defined the same in serial.inc.mk. Some Darwin default are changed because they are probably wrong
This commit is contained in:
parent
83bbe00d62
commit
f8822b5f8f
@ -1,6 +1,4 @@
|
|||||||
# configure the terminal program
|
# configure the terminal program
|
||||||
PORT_LINUX ?= /dev/ttyACM0
|
|
||||||
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
|
||||||
BAUD ?= 9600
|
BAUD ?= 9600
|
||||||
|
|
||||||
ARDUINO_MEGA2560_BOOTLOADER ?= stk500v2
|
ARDUINO_MEGA2560_BOOTLOADER ?= stk500v2
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
# configure the terminal program
|
# configure the terminal program
|
||||||
PORT_LINUX ?= /dev/ttyACM0
|
|
||||||
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
|
||||||
BAUD ?= 9600
|
BAUD ?= 9600
|
||||||
|
|
||||||
ARDUINO_UNO_BOOTLOADER ?= optiboot
|
ARDUINO_UNO_BOOTLOADER ?= optiboot
|
||||||
|
@ -1,7 +1,3 @@
|
|||||||
# configure the terminal program
|
|
||||||
PORT_LINUX ?= /dev/ttyACM0
|
|
||||||
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
|
||||||
BAUD ?= 115200
|
|
||||||
# Use EDBG (xplainedpro) programmer with avrdude
|
# Use EDBG (xplainedpro) programmer with avrdude
|
||||||
AVRDUDE_PROGRAMMER ?= xplainedpro
|
AVRDUDE_PROGRAMMER ?= xplainedpro
|
||||||
|
|
||||||
|
@ -1,10 +1,6 @@
|
|||||||
# we use shared STM32 configuration snippets
|
# we use shared STM32 configuration snippets
|
||||||
INCLUDES += -I$(RIOTBOARD)/common/stm32/include
|
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*)))
|
|
||||||
|
|
||||||
# this board has an on-board ST-link adapter
|
# this board has an on-board ST-link adapter
|
||||||
PROGRAMMER ?= openocd
|
PROGRAMMER ?= openocd
|
||||||
DEBUG_ADAPTER ?= stlink
|
DEBUG_ADAPTER ?= stlink
|
||||||
|
@ -1,10 +1,6 @@
|
|||||||
# we use shared STM32 configuration snippets
|
# we use shared STM32 configuration snippets
|
||||||
INCLUDES += -I$(RIOTBOARD)/common/stm32/include
|
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*)))
|
|
||||||
|
|
||||||
# this board has an on-board ST-link adapter
|
# this board has an on-board ST-link adapter
|
||||||
PROGRAMMER ?= openocd
|
PROGRAMMER ?= openocd
|
||||||
DEBUG_ADAPTER ?= stlink
|
DEBUG_ADAPTER ?= stlink
|
||||||
|
@ -1,7 +1,3 @@
|
|||||||
# define the default port depending on the host OS
|
|
||||||
PORT_LINUX ?= /dev/ttyACM0
|
|
||||||
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
|
||||||
|
|
||||||
# for this board we support flashing via openocd or pyocd
|
# for this board we support flashing via openocd or pyocd
|
||||||
PROGRAMMER ?= openocd
|
PROGRAMMER ?= openocd
|
||||||
|
|
||||||
|
@ -1,8 +1,4 @@
|
|||||||
XDEBUGGER = XDS110
|
XDEBUGGER = XDS110
|
||||||
|
|
||||||
# set default port depending on operating system
|
|
||||||
PORT_LINUX ?= /dev/ttyACM0
|
|
||||||
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
|
||||||
|
|
||||||
# configure the flash tool
|
# configure the flash tool
|
||||||
include $(RIOTBOARD)/common/cc26x2_cc13x2/Makefile.include
|
include $(RIOTBOARD)/common/cc26x2_cc13x2/Makefile.include
|
||||||
|
@ -1,8 +1,4 @@
|
|||||||
XDEBUGGER = XDS110
|
XDEBUGGER = XDS110
|
||||||
|
|
||||||
# set default port depending on operating system
|
|
||||||
PORT_LINUX ?= /dev/ttyACM0
|
|
||||||
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
|
||||||
|
|
||||||
# configure the flash tool
|
# configure the flash tool
|
||||||
include $(RIOTBOARD)/common/cc26x2_cc13x2/Makefile.include
|
include $(RIOTBOARD)/common/cc26x2_cc13x2/Makefile.include
|
||||||
|
@ -1,8 +1,4 @@
|
|||||||
XDEBUGGER = XDS110
|
XDEBUGGER = XDS110
|
||||||
|
|
||||||
# set default port depending on operating system
|
|
||||||
PORT_LINUX ?= /dev/ttyACM0
|
|
||||||
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
|
||||||
|
|
||||||
# configure the flash tool
|
# configure the flash tool
|
||||||
include $(RIOTBOARD)/common/cc26x2_cc13x2/Makefile.include
|
include $(RIOTBOARD)/common/cc26x2_cc13x2/Makefile.include
|
||||||
|
@ -1,8 +1,4 @@
|
|||||||
XDEBUGGER = XDS110
|
XDEBUGGER = XDS110
|
||||||
|
|
||||||
# set default port depending on operating system
|
|
||||||
PORT_LINUX ?= /dev/ttyACM0
|
|
||||||
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
|
||||||
|
|
||||||
# configure the flash tool
|
# configure the flash tool
|
||||||
PROGRAMMER ?= uniflash
|
PROGRAMMER ?= uniflash
|
||||||
|
@ -1,8 +1,4 @@
|
|||||||
XDEBUGGER = XDS110
|
XDEBUGGER = XDS110
|
||||||
|
|
||||||
# set default port depending on operating system
|
|
||||||
PORT_LINUX ?= /dev/ttyACM0
|
|
||||||
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
|
|
||||||
|
|
||||||
# configure the flash tool
|
# configure the flash tool
|
||||||
PROGRAMMER ?= uniflash
|
PROGRAMMER ?= uniflash
|
||||||
|
@ -1,10 +1,6 @@
|
|||||||
# export this module and its includes
|
# export this module and its includes
|
||||||
INCLUDES += -I$(RIOTBOARD)/common/arduino-due/include
|
INCLUDES += -I$(RIOTBOARD)/common/arduino-due/include
|
||||||
|
|
||||||
# define the default port depending on the host OS
|
|
||||||
PORT_LINUX ?= /dev/ttyACM0
|
|
||||||
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
|
||||||
|
|
||||||
# setup flasher (using BOSSA)
|
# setup flasher (using BOSSA)
|
||||||
PROGRAMMER ?= bossa
|
PROGRAMMER ?= bossa
|
||||||
BOSSA_VERSION = 1.8
|
BOSSA_VERSION = 1.8
|
||||||
|
@ -1,6 +1,3 @@
|
|||||||
PORT_LINUX ?= /dev/ttyACM0
|
|
||||||
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
|
||||||
|
|
||||||
# setup the flash tool used
|
# setup the flash tool used
|
||||||
ifeq ($(PROGRAMMER),jlink)
|
ifeq ($(PROGRAMMER),jlink)
|
||||||
# in case J-Link is attached to SWD pins, use a plain CPU memory model
|
# in case J-Link is attached to SWD pins, use a plain CPU memory model
|
||||||
|
@ -1,7 +1,3 @@
|
|||||||
# set default port depending on operating system
|
|
||||||
PORT_LINUX ?= /dev/ttyACM0
|
|
||||||
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
|
||||||
|
|
||||||
# Use OpenOCD by default
|
# Use OpenOCD by default
|
||||||
PROGRAMMER ?= openocd
|
PROGRAMMER ?= openocd
|
||||||
|
|
||||||
@ -28,6 +24,3 @@ PRE_FLASH_CHECK_SCRIPT = $(RIOTCPU)/$(CPU)/dist/check-fcfield.sh
|
|||||||
# The board can become un-flashable after some execution,
|
# The board can become un-flashable after some execution,
|
||||||
# use connect_assert_srst to always be able to flash or reset the board.
|
# use connect_assert_srst to always be able to flash or reset the board.
|
||||||
OPENOCD_RESET_USE_CONNECT_ASSERT_SRST ?= 1
|
OPENOCD_RESET_USE_CONNECT_ASSERT_SRST ?= 1
|
||||||
|
|
||||||
# setup serial terminal
|
|
||||||
include $(RIOTMAKE)/tools/serial.inc.mk
|
|
||||||
|
@ -6,10 +6,6 @@ ifeq (bmp,$(PROGRAMMER))
|
|||||||
# the second is the BMP's UART interface
|
# the second is the BMP's UART interface
|
||||||
PORT_LINUX ?= /dev/ttyACM1
|
PORT_LINUX ?= /dev/ttyACM1
|
||||||
PORT_DARWIN ?= $(wordlist 2, 2, $(sort $(wildcard /dev/tty.usbmodem*)))
|
PORT_DARWIN ?= $(wordlist 2, 2, $(sort $(wildcard /dev/tty.usbmodem*)))
|
||||||
else
|
|
||||||
# configure the serial terminal
|
|
||||||
PORT_LINUX ?= /dev/ttyACM0
|
|
||||||
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
PROGRAMMER ?= jlink
|
PROGRAMMER ?= jlink
|
||||||
|
@ -2,10 +2,6 @@ INCLUDES += -I$(RIOTBOARD)/common/slwstk6000b/include
|
|||||||
# add BOARD_MODULE specific includes
|
# add BOARD_MODULE specific includes
|
||||||
INCLUDES += -I$(RIOTBOARD)/common/slwstk6000b/modules/$(BOARD_MODULE)/include
|
INCLUDES += -I$(RIOTBOARD)/common/slwstk6000b/modules/$(BOARD_MODULE)/include
|
||||||
|
|
||||||
# set default port depending on operating system
|
|
||||||
PORT_LINUX ?= /dev/ttyACM0
|
|
||||||
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
|
||||||
|
|
||||||
# setup JLink for flashing
|
# setup JLink for flashing
|
||||||
include $(RIOTBOARD)/common/slwstk6000b/slwstk6000b.info.mk
|
include $(RIOTBOARD)/common/slwstk6000b/slwstk6000b.info.mk
|
||||||
JLINK_DEVICE = $(word 2, $(SLWSTK6000B_MAINBOARD_VARS_$(BOARD_MODULE)))
|
JLINK_DEVICE = $(word 2, $(SLWSTK6000B_MAINBOARD_VARS_$(BOARD_MODULE)))
|
||||||
|
@ -1,6 +1,3 @@
|
|||||||
PORT_LINUX ?= /dev/ttyACM0
|
|
||||||
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
|
||||||
|
|
||||||
# Add board common includes
|
# Add board common includes
|
||||||
INCLUDES += -I$(RIOTBOARD)/common/sodaq/include
|
INCLUDES += -I$(RIOTBOARD)/common/sodaq/include
|
||||||
|
|
||||||
|
@ -1,6 +1,2 @@
|
|||||||
#define the default port depending on the host OS
|
|
||||||
PORT_LINUX ?= /dev/ttyACM0
|
|
||||||
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
|
||||||
|
|
||||||
# this board uses openocd
|
# this board uses openocd
|
||||||
PROGRAMMER ?= openocd
|
PROGRAMMER ?= openocd
|
||||||
|
@ -1,6 +1,3 @@
|
|||||||
PORT_LINUX ?= /dev/ttyACM0
|
|
||||||
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
|
||||||
|
|
||||||
# setup the flash tool used
|
# setup the flash tool used
|
||||||
ifeq ($(PROGRAMMER),jlink)
|
ifeq ($(PROGRAMMER),jlink)
|
||||||
# in case J-Link is attached to SWD pins, use a plain CPU memory model
|
# in case J-Link is attached to SWD pins, use a plain CPU memory model
|
||||||
|
@ -1,7 +1,3 @@
|
|||||||
# set default port depending on operating system
|
|
||||||
PORT_LINUX ?= /dev/ttyACM0
|
|
||||||
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
|
||||||
|
|
||||||
# Set default programmer as jlink
|
# Set default programmer as jlink
|
||||||
PROGRAMMER ?= jlink
|
PROGRAMMER ?= jlink
|
||||||
|
|
||||||
|
@ -1,10 +1,6 @@
|
|||||||
# we use shared STM32 configuration snippets
|
# we use shared STM32 configuration snippets
|
||||||
INCLUDES += -I$(RIOTBOARD)/common/stm32/include
|
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*)))
|
|
||||||
|
|
||||||
# to flash this board, use an ST-link adapter
|
# to flash this board, use an ST-link adapter
|
||||||
DEBUG_ADAPTER ?= stlink
|
DEBUG_ADAPTER ?= stlink
|
||||||
|
|
||||||
|
@ -1,7 +1,3 @@
|
|||||||
# set default port depending on operating system
|
|
||||||
PORT_LINUX ?= /dev/ttyACM0
|
|
||||||
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
|
||||||
|
|
||||||
# setup JLink for flashing
|
# setup JLink for flashing
|
||||||
PROGRAMMER ?= jlink
|
PROGRAMMER ?= jlink
|
||||||
JLINK_DEVICE = EFR32MG1PxxxF256
|
JLINK_DEVICE = EFR32MG1PxxxF256
|
||||||
|
@ -1,10 +1,6 @@
|
|||||||
# we use shared STM32 configuration snippets
|
# we use shared STM32 configuration snippets
|
||||||
INCLUDES += -I$(RIOTBOARD)/common/stm32/include
|
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*)))
|
|
||||||
|
|
||||||
# this board uses openocd
|
# this board uses openocd
|
||||||
PROGRAMMER ?= openocd
|
PROGRAMMER ?= openocd
|
||||||
# this board can become un-flashable after a hardfault,
|
# this board can become un-flashable after a hardfault,
|
||||||
|
@ -1,10 +1,6 @@
|
|||||||
# Include shared STM32 headers
|
# Include shared STM32 headers
|
||||||
INCLUDES += -I$(RIOTBOARD)/common/stm32/include
|
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.SLAB_USBtoUART*)))
|
|
||||||
|
|
||||||
# this board uses openocd with st-link
|
# this board uses openocd with st-link
|
||||||
PROGRAMMER ?= openocd
|
PROGRAMMER ?= openocd
|
||||||
DEBUG_ADAPTER ?= stlink
|
DEBUG_ADAPTER ?= stlink
|
||||||
|
@ -7,5 +7,4 @@ FFLAGS = $(FLASHFILE)
|
|||||||
DEBUGGER_FLAGS =
|
DEBUGGER_FLAGS =
|
||||||
|
|
||||||
# define the default port depending on the host OS
|
# define the default port depending on the host OS
|
||||||
PORT_LINUX ?= /dev/ttyACM0
|
|
||||||
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
|
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
|
||||||
|
@ -18,8 +18,6 @@ else ifeq ($(OS),Darwin)
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
# configure the terminal program
|
# configure the terminal program
|
||||||
PORT_LINUX ?= /dev/ttyACM0
|
|
||||||
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
|
||||||
BAUD ?= 9600
|
BAUD ?= 9600
|
||||||
|
|
||||||
include $(RIOTBOARD)/common/atmega/Makefile.include
|
include $(RIOTBOARD)/common/atmega/Makefile.include
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
# define the default port depending on the host OS
|
# define the default port depending on the host OS
|
||||||
PORT_LINUX ?= /dev/ttyACM0
|
|
||||||
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
|
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
|
||||||
|
|
||||||
# for this board we support flashing via openocd or pyocd
|
# for this board we support flashing via openocd or pyocd
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
# define the default port depending on the host OS
|
# define the default port depending on the host OS
|
||||||
PORT_LINUX ?= /dev/ttyACM0
|
|
||||||
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
|
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
|
||||||
|
|
||||||
# use openocd by default to program this board
|
# use openocd by default to program this board
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
# define the default port depending on the host OS
|
# define the default port depending on the host OS
|
||||||
PORT_LINUX ?= /dev/ttyACM0
|
|
||||||
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
|
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
|
||||||
|
|
||||||
# use jlink to program this board
|
# use jlink to program this board
|
||||||
|
@ -1,7 +1,2 @@
|
|||||||
# stdio is not available over st-link but on the Arduino TX/RX pins
|
|
||||||
# A serial to USB converter plugged to the host is required
|
|
||||||
PORT_LINUX ?= /dev/ttyACM0
|
|
||||||
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
|
||||||
|
|
||||||
# load the common Makefile.include for Nucleo boards
|
# load the common Makefile.include for Nucleo boards
|
||||||
include $(RIOTBOARD)/common/nucleo144/Makefile.include
|
include $(RIOTBOARD)/common/nucleo144/Makefile.include
|
||||||
|
@ -1,6 +1,2 @@
|
|||||||
# stdio is available over st-link
|
|
||||||
PORT_LINUX ?= /dev/ttyACM0
|
|
||||||
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
|
||||||
|
|
||||||
# load the common Makefile.include for Nucleo boards
|
# load the common Makefile.include for Nucleo boards
|
||||||
include $(RIOTBOARD)/common/nucleo144/Makefile.include
|
include $(RIOTBOARD)/common/nucleo144/Makefile.include
|
||||||
|
@ -1,10 +1,6 @@
|
|||||||
# Include shared STM32 headers
|
# Include shared STM32 headers
|
||||||
INCLUDES += -I$(RIOTBOARD)/common/stm32/include
|
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*)))
|
|
||||||
|
|
||||||
# custom flasher to use with the bootloader
|
# custom flasher to use with the bootloader
|
||||||
PROGRAMMER ?= robotis-loader
|
PROGRAMMER ?= robotis-loader
|
||||||
|
|
||||||
|
@ -1,10 +1,6 @@
|
|||||||
# we use shared STM32 configuration snippets
|
# we use shared STM32 configuration snippets
|
||||||
INCLUDES += -I$(RIOTBOARD)/common/stm32/include
|
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*)))
|
|
||||||
|
|
||||||
# this board uses openocd with st-link
|
# this board uses openocd with st-link
|
||||||
PROGRAMMER ?= openocd
|
PROGRAMMER ?= openocd
|
||||||
DEBUG_ADAPTER ?= stlink
|
DEBUG_ADAPTER ?= stlink
|
||||||
|
@ -1,7 +1,3 @@
|
|||||||
# set default port depending on operating system
|
|
||||||
PORT_LINUX ?= /dev/ttyACM0
|
|
||||||
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
|
||||||
|
|
||||||
# Add board selector (USB serial) to OpenOCD options if specified.
|
# Add board selector (USB serial) to OpenOCD options if specified.
|
||||||
# Use /dist/tools/usb-serial/list-ttys.sh to find out serial number.
|
# Use /dist/tools/usb-serial/list-ttys.sh to find out serial number.
|
||||||
# Usage: SERIAL="0200..." BOARD="pba-d-01-kw2x" make flash
|
# Usage: SERIAL="0200..." BOARD="pba-d-01-kw2x" make flash
|
||||||
|
@ -1,6 +1,3 @@
|
|||||||
PORT_LINUX ?= /dev/ttyACM0
|
|
||||||
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
|
||||||
|
|
||||||
# by default, we use BOSSA to flash this board to take into account the
|
# by default, we use BOSSA to flash this board to take into account the
|
||||||
# pre-flashed Arduino bootloader
|
# pre-flashed Arduino bootloader
|
||||||
PROGRAMMER ?= bossa
|
PROGRAMMER ?= bossa
|
||||||
|
@ -1,7 +1,3 @@
|
|||||||
# set default port depending on operating system
|
|
||||||
PORT_LINUX ?= /dev/ttyACM0
|
|
||||||
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
|
||||||
|
|
||||||
# setup JLink for flashing
|
# setup JLink for flashing
|
||||||
JLINK_PRE_FLASH = r
|
JLINK_PRE_FLASH = r
|
||||||
|
|
||||||
|
@ -1,7 +1,3 @@
|
|||||||
# set default port depending on operating system
|
|
||||||
PORT_LINUX ?= /dev/ttyACM0
|
|
||||||
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
|
||||||
|
|
||||||
# setup JLink for flashing
|
# setup JLink for flashing
|
||||||
JLINK_PRE_FLASH = r
|
JLINK_PRE_FLASH = r
|
||||||
|
|
||||||
|
@ -1,7 +1,3 @@
|
|||||||
# set default port depending on operating system
|
|
||||||
PORT_LINUX ?= /dev/ttyACM0
|
|
||||||
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
|
||||||
|
|
||||||
# setup JLink for flashing
|
# setup JLink for flashing
|
||||||
JLINK_DEVICE = EFR32MG1PxxxF256
|
JLINK_DEVICE = EFR32MG1PxxxF256
|
||||||
JLINK_PRE_FLASH = r
|
JLINK_PRE_FLASH = r
|
||||||
|
@ -1,7 +1,3 @@
|
|||||||
# set default port depending on operating system
|
|
||||||
PORT_LINUX ?= /dev/ttyACM0
|
|
||||||
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
|
||||||
|
|
||||||
# setup JLink for flashing
|
# setup JLink for flashing
|
||||||
JLINK_PRE_FLASH = r
|
JLINK_PRE_FLASH = r
|
||||||
|
|
||||||
|
@ -1,7 +1,3 @@
|
|||||||
# set default port depending on operating system
|
|
||||||
PORT_LINUX ?= /dev/ttyACM0
|
|
||||||
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
|
||||||
|
|
||||||
# setup JLink for flashing
|
# setup JLink for flashing
|
||||||
JLINK_PRE_FLASH = r
|
JLINK_PRE_FLASH = r
|
||||||
|
|
||||||
|
@ -1,7 +1,3 @@
|
|||||||
# set default port depending on operating system
|
|
||||||
PORT_LINUX ?= /dev/ttyACM0
|
|
||||||
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
|
||||||
|
|
||||||
# setup JLink for flashing
|
# setup JLink for flashing
|
||||||
JLINK_PRE_FLASH = r
|
JLINK_PRE_FLASH = r
|
||||||
|
|
||||||
|
@ -1,7 +1,3 @@
|
|||||||
# set default port depending on operating system
|
|
||||||
PORT_LINUX ?= /dev/ttyACM0
|
|
||||||
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
|
||||||
|
|
||||||
# setup JLink for flashing
|
# setup JLink for flashing
|
||||||
JLINK_PRE_FLASH = r
|
JLINK_PRE_FLASH = r
|
||||||
|
|
||||||
|
@ -1,10 +1,6 @@
|
|||||||
# we use shared STM32 configuration snippets
|
# we use shared STM32 configuration snippets
|
||||||
INCLUDES += -I$(RIOTBOARD)/common/stm32/include
|
INCLUDES += -I$(RIOTBOARD)/common/stm32/include
|
||||||
|
|
||||||
# set default port depending on operating system
|
|
||||||
PORT_LINUX ?= /dev/ttyACM0
|
|
||||||
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
|
|
||||||
|
|
||||||
# this board uses openocd
|
# this board uses openocd
|
||||||
PROGRAMMER ?= openocd
|
PROGRAMMER ?= openocd
|
||||||
# this board has an on-board ST-link adapter
|
# this board has an on-board ST-link adapter
|
||||||
|
@ -1,10 +1,6 @@
|
|||||||
# we use shared STM32 configuration snippets
|
# we use shared STM32 configuration snippets
|
||||||
INCLUDES += -I$(RIOTBOARD)/common/stm32/include
|
INCLUDES += -I$(RIOTBOARD)/common/stm32/include
|
||||||
|
|
||||||
# set default port depending on operating system
|
|
||||||
PORT_LINUX ?= /dev/ttyACM0
|
|
||||||
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
|
|
||||||
|
|
||||||
# this board uses openocd
|
# this board uses openocd
|
||||||
PROGRAMMER ?= openocd
|
PROGRAMMER ?= openocd
|
||||||
|
|
||||||
|
@ -1,10 +1,6 @@
|
|||||||
# we use shared STM32 configuration snippets
|
# we use shared STM32 configuration snippets
|
||||||
INCLUDES += -I$(RIOTBOARD)/common/stm32/include
|
INCLUDES += -I$(RIOTBOARD)/common/stm32/include
|
||||||
|
|
||||||
# set default port depending on operating system
|
|
||||||
PORT_LINUX ?= /dev/ttyACM0
|
|
||||||
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
|
|
||||||
|
|
||||||
# this board uses openocd with st-link
|
# this board uses openocd with st-link
|
||||||
PROGRAMMER ?= openocd
|
PROGRAMMER ?= openocd
|
||||||
|
|
||||||
|
@ -1,10 +1,6 @@
|
|||||||
# we use shared STM32 configuration snippets
|
# we use shared STM32 configuration snippets
|
||||||
INCLUDES += -I$(RIOTBOARD)/common/stm32/include
|
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*)))
|
|
||||||
|
|
||||||
# this board uses openocd with st-link
|
# this board uses openocd with st-link
|
||||||
PROGRAMMER ?= openocd
|
PROGRAMMER ?= openocd
|
||||||
DEBUG_ADAPTER ?= stlink
|
DEBUG_ADAPTER ?= stlink
|
||||||
|
@ -1,10 +1,6 @@
|
|||||||
# we use shared STM32 configuration snippets
|
# we use shared STM32 configuration snippets
|
||||||
INCLUDES += -I$(RIOTBOARD)/common/stm32/include
|
INCLUDES += -I$(RIOTBOARD)/common/stm32/include
|
||||||
|
|
||||||
# set default port depending on operating system
|
|
||||||
PORT_LINUX ?= /dev/ttyACM0
|
|
||||||
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
|
|
||||||
|
|
||||||
# this board has an on-board ST-link adapter
|
# this board has an on-board ST-link adapter
|
||||||
DEBUG_ADAPTER = stlink-dap
|
DEBUG_ADAPTER = stlink-dap
|
||||||
OPENOCD_CORE = stm32mp15x.cm4
|
OPENOCD_CORE = stm32mp15x.cm4
|
||||||
|
@ -10,7 +10,6 @@ ifeq ($(TEENSY_LOADER),$(FLASHER))
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
# define the default port depending on the host OS
|
# define the default port depending on the host OS
|
||||||
PORT_LINUX ?= /dev/ttyACM0
|
|
||||||
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbserial-*)))
|
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbserial-*)))
|
||||||
|
|
||||||
$(TEENSY_LOADER):
|
$(TEENSY_LOADER):
|
||||||
|
@ -1,10 +1,6 @@
|
|||||||
# we use shared STM32 configuration snippets
|
# we use shared STM32 configuration snippets
|
||||||
INCLUDES += -I$(RIOTBOARD)/common/stm32/include
|
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*)))
|
|
||||||
|
|
||||||
# this board uses openocd with st-link
|
# this board uses openocd with st-link
|
||||||
PROGRAMMER ?= openocd
|
PROGRAMMER ?= openocd
|
||||||
|
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
# configure the terminal program
|
# configure the terminal program
|
||||||
PORT_LINUX ?= /dev/ttyACM0
|
|
||||||
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbserial*)))
|
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbserial*)))
|
||||||
BAUD ?= 9600
|
BAUD ?= 9600
|
||||||
WASPMOTE_PRO_BOOTLOADER ?= stk500v1
|
WASPMOTE_PRO_BOOTLOADER ?= stk500v1
|
||||||
|
@ -1,6 +1,3 @@
|
|||||||
# set default port depending on operating system
|
|
||||||
PORT_LINUX ?= /dev/ttyACM0
|
|
||||||
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
|
||||||
# Use DEBUG_ADAPTER_ID to specify the programmer serial number to use:
|
# Use DEBUG_ADAPTER_ID to specify the programmer serial number to use:
|
||||||
# DEBUG_ADAPTER_ID="ATML..."
|
# DEBUG_ADAPTER_ID="ATML..."
|
||||||
|
|
||||||
|
@ -11,10 +11,6 @@ ifeq (bmp,$(PROGRAMMER))
|
|||||||
# the second is the BMP's UART interface
|
# the second is the BMP's UART interface
|
||||||
PORT_LINUX ?= /dev/ttyACM1
|
PORT_LINUX ?= /dev/ttyACM1
|
||||||
PORT_DARWIN ?= $(wordlist 2, 2, $(sort $(wildcard /dev/tty.usbmodem*)))
|
PORT_DARWIN ?= $(wordlist 2, 2, $(sort $(wildcard /dev/tty.usbmodem*)))
|
||||||
else
|
|
||||||
# configure the serial terminal
|
|
||||||
PORT_LINUX ?= /dev/ttyACM0
|
|
||||||
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq (openocd,$(PROGRAMMER))
|
ifeq (openocd,$(PROGRAMMER))
|
||||||
|
Loading…
Reference in New Issue
Block a user