aboutsummaryrefslogtreecommitdiffstats
path: root/board/board.mk
diff options
context:
space:
mode:
authorClyne Sullivan <clyne@bitgloo.com>2021-03-10 19:42:18 -0500
committerClyne Sullivan <clyne@bitgloo.com>2021-03-10 19:42:18 -0500
commit1a7d45b9130251119874df8b15424ec41306d8f2 (patch)
tree6eadd9d6ef2f6ff3e4cf1854088deb8f882a0542 /board/board.mk
parenteeeb04fa1a202c68279d4b4ee0a1e3ff34c62c7f (diff)
support H7 and L4; use second ADC for input
Diffstat (limited to 'board/board.mk')
-rw-r--r--board/board.mk12
1 files changed, 10 insertions, 2 deletions
diff --git a/board/board.mk b/board/board.mk
index b410cdb..f6df51a 100644
--- a/board/board.mk
+++ b/board/board.mk
@@ -1,8 +1,16 @@
# List of all the board related files.
-BOARDSRC = ./board/board.c
+ifeq ($(TARGET_PLATFORM),H7)
+ BOARDSRC = ./board/board_h7.c
+else
+ BOARDSRC = ./board/board_l4.c
+endif
# Required include directories
-BOARDINC = ./board
+ifeq ($(TARGET_PLATFORM),H7)
+ BOARDINC = ./board/h7
+else
+ BOARDINC = ./board/l4
+endif
# Shared variables
ALLCSRC += $(BOARDSRC)