We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0b3c515 + 1a138da commit cb04d53Copy full SHA for cb04d53
Makefile
@@ -63,7 +63,8 @@ GDB_BMP = $(GDB) -ex 'target extended-remote $(BMP_PORT)' -ex 'monitor swdp_scan
63
#---------------------------------
64
# Select the board to build
65
66
-BOARD_LIST = $(sort $(subst src/boards/,,$(wildcard src/boards/*)))
+# Note: whitespace is not allowed in the filenames... it WILL break this part of the script
67
+BOARD_LIST = $(sort $(filter-out boards.h boards.c,$(notdir $(wildcard src/boards/*))))
68
69
ifeq ($(filter $(BOARD),$(BOARD_LIST)),)
70
$(info You must provide a BOARD parameter with 'BOARD='. Supported boards are:)
0 commit comments