summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorAditya Naik2020-06-09 12:40:35 -0400
committerAditya Naik2020-06-09 12:40:35 -0400
commit16d4cd12cb4bdfc3eda3ec6019d093f971d8aca8 (patch)
tree92fae283c999bee95ea0760db7b5cbb55c71e92d /makefile
parentda242057530c1181d07d72c710ec362163b4fb47 (diff)
Moved nanopb files to library dir; changed main filenames
Diffstat (limited to 'makefile')
-rw-r--r--makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/makefile b/makefile
index 640d80d..43f5d4d 100644
--- a/makefile
+++ b/makefile
@@ -36,13 +36,13 @@ BUILD_DIR = build
######################################
# C sources
C_SOURCES = \
-src/main-master.c \
+src/master.c \
src/stm32f4xx_it.c \
src/stm32f4xx_hal_msp.c \
src/system_stm32f4xx.c \
-src/pb_decode.c \
-src/pb_encode.c \
-src/pb_common.c \
+lib/nanopb/pb_decode.c \
+lib/nanopb/pb_encode.c \
+lib/nanopb/pb_common.c \
src/handshake.pb.c \
src/data.pb.c \
lib/f4/stm32f4xx_hal_i2c.c \
@@ -123,7 +123,8 @@ C_INCLUDES = \
-Ilib/f4 \
-Ilib/f4/Legacy \
-Ilib/cmsis \
--Ilib/cmsis/f4
+-Ilib/cmsis/f4 \
+-Ilib/nanopb