Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
4273498c
Commit
4273498c
authored
Feb 26, 2014
by
Damien George
Browse files
Merge pull request #324 from dhylands/board-check
Print an error if an invalid BOARD is specified
parents
c4361227
c3813ff5
Changes
1
Hide whitespace changes
Inline
Side-by-side
stm/Makefile
View file @
4273498c
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment