Skip to content

Commit

Permalink
boards/im880b: refactor code
Browse files Browse the repository at this point in the history
Using the common STM32 board makefile provides all supported
programmers for STM32 boards. This allows e.g. to flash with
stm32flash via `make BOARD=im880b PROGRAMMER=stm32flash flash`.
  • Loading branch information
maribu committed Aug 12, 2022
1 parent 50e4498 commit 0efb168
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions boards/im880b/Makefile.include
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,4 @@ 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
include $(RIOTMAKE)/boards/stm32.inc.mk

0 comments on commit 0efb168

Please sign in to comment.