-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #18451 from maribu/boards/im880b
boards/im880b: refactor code
- Loading branch information
Showing
1 changed file
with
2 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,8 @@ | ||
# this board uses shared STM32 configuration snippets | ||
INCLUDES += -I$(RIOTBOARD)/common/stm32/include | ||
|
||
# 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 | ||
PROGRAMMER ?= openocd | ||
# openocd programmer is supported | ||
PROGRAMMERS_SUPPORTED += openocd | ||
|
||
OPENOCD_DEBUG_ADAPTER ?= stlink | ||
# Setup of programmer and serial is shared between STM32 based boards | ||
include $(RIOTMAKE)/boards/stm32.inc.mk |