Skip to content

Commit

Permalink
Merge pull request #18451 from maribu/boards/im880b
Browse files Browse the repository at this point in the history
boards/im880b: refactor code
  • Loading branch information
aabadie committed Oct 15, 2022
2 parents 4d0c533 + 2cc8176 commit f8b2d42
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions boards/im880b/Makefile.include
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

0 comments on commit f8b2d42

Please sign in to comment.