Skip to content
Snippets Groups Projects
Commit 4273498c authored by Damien George's avatar Damien George
Browse files

Merge pull request #324 from dhylands/board-check

Print an error if an invalid BOARD is specified
parents c4361227 c3813ff5
No related branches found
No related tags found
No related merge requests found
......@@ -25,6 +25,9 @@ CFLAGS += -I$(FATFS_DIR)
#CFLAGS += -I$(CC3K_DIR)
BOARD ?= PYBOARD4
ifeq ($(wildcard boards/$(BOARD)/.),)
$(error Invalid BOARD specified)
endif
CFLAGS += -Iboards/$(BOARD)
#Debugging/Optimization
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment