diff options
author | Clyne Sullivan <clyne@bitgloo.com> | 2021-03-10 19:42:18 -0500 |
---|---|---|
committer | Clyne Sullivan <clyne@bitgloo.com> | 2021-03-10 19:42:18 -0500 |
commit | 1a7d45b9130251119874df8b15424ec41306d8f2 (patch) | |
tree | 6eadd9d6ef2f6ff3e4cf1854088deb8f882a0542 /board/board.mk | |
parent | eeeb04fa1a202c68279d4b4ee0a1e3ff34c62c7f (diff) |
support H7 and L4; use second ADC for input
Diffstat (limited to 'board/board.mk')
-rw-r--r-- | board/board.mk | 12 |
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)
|