[riot-notifications] [RIOT-OS/RIOT] b/c/particle-mesh: Switch default stdio to USB (#15394)
notifications at github.com
Fri Nov 6 15:41:31 CET 2020
@benpicco commented on this pull request.
> @@ -2,10 +2,6 @@
BOARD_NRFANTENNA_DEFAULT ?= BUILTIN
CFLAGS += -DBOARD_NRFANTENNA_DEFAULT=BOARD_NRFANTENNA_$(BOARD_NRFANTENNA_DEFAULT)
-# set default port depending on operating system
-PORT_LINUX ?= /dev/ttyUSB0
-PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
# add the common header files to the include path
INCLUDES += -I$(RIOTBOARD)/common/particle-mesh/include
@maribu had a nice idea for the AVR boards, you can do
# PROGRAMMER defaults to dfu-util which uses the particle bootloader
PROGRAMMER_PARTICLE_BORON ?= dfu-util
PROGRAMMER ?= $(PROGRAMMER_PARTICLE_BORON)
that way you can set `PROGRAMMER_PARTICLE_BORON` to something else in your `.bashrc` if you removed the bootloader, but users who just got the board don't have to do any additional configuration.
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications