Skip to content
Snippets Groups Projects
Commit c3813ff5 authored by Dave Hylands's avatar Dave Hylands
Browse files

Print an error if a non-valid BOARD is specified.

parent ee31f71d
No related branches found
No related tags found
No related merge requests found
...@@ -25,6 +25,9 @@ CFLAGS += -I$(FATFS_DIR) ...@@ -25,6 +25,9 @@ CFLAGS += -I$(FATFS_DIR)
#CFLAGS += -I$(CC3K_DIR) #CFLAGS += -I$(CC3K_DIR)
BOARD ?= PYBOARD4 BOARD ?= PYBOARD4
ifeq ($(wildcard boards/$(BOARD)/.),)
$(error Invalid BOARD specified)
endif
CFLAGS += -Iboards/$(BOARD) CFLAGS += -Iboards/$(BOARD)
#Debugging/Optimization #Debugging/Optimization
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment