diff options
author | Clyne Sullivan <clyne@bitgloo.com> | 2023-08-08 23:10:02 -0400 |
---|---|---|
committer | Clyne Sullivan <clyne@bitgloo.com> | 2023-08-08 23:10:02 -0400 |
commit | f440728644ad3698ffd6af1abcfcc07aad5793c3 (patch) | |
tree | 68aff014ff17933717616f2f8d407b51611afe2b /firmware/source/board/board.mk |
initial commit
* combine all source files into this monorepo
* convert all third-party source packages into submodules
* small fixes due to changes in latest third-part packages
Diffstat (limited to 'firmware/source/board/board.mk')
-rw-r--r-- | firmware/source/board/board.mk | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/firmware/source/board/board.mk b/firmware/source/board/board.mk new file mode 100644 index 0000000..155285a --- /dev/null +++ b/firmware/source/board/board.mk @@ -0,0 +1,17 @@ +# List of all the board related files.
+ifeq ($(TARGET_PLATFORM),H7)
+ BOARDSRC = ./source/board/board_h7.c
+else
+ BOARDSRC = ./source/board/board_l4.c
+endif
+
+# Required include directories
+ifeq ($(TARGET_PLATFORM),H7)
+ BOARDINC = ./source/board/h7
+else
+ BOARDINC = ./source/board/l4
+endif
+
+# Shared variables
+ALLCSRC += $(BOARDSRC)
+ALLINC += $(BOARDINC)
|