aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/Makefile.template
diff options
context:
space:
mode:
authorGravatar David Garcia Quintas <dgq@google.com>2018-06-01 15:44:03 -0700
committerGravatar David Garcia Quintas <dgq@google.com>2018-06-01 15:44:03 -0700
commit00e045dbb2b066495dea5807d3fa838151227dc1 (patch)
tree8f548099d6e40c5b092db7db41f974404b8a83d2 /templates/Makefile.template
parent3351fe3a3f3836c8522e10536264c8ee2adb8fa6 (diff)
Fix the inclusion "third_party/nanopb/..." to simply "..."
Diffstat (limited to 'templates/Makefile.template')
-rw-r--r--templates/Makefile.template4
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/Makefile.template b/templates/Makefile.template
index 901dbfc9c8..8532adf789 100644
--- a/templates/Makefile.template
+++ b/templates/Makefile.template
@@ -221,7 +221,9 @@
% endif
% endfor
- DEFINES += PB_FIELD_16BIT
+ # nanopb tweaks
+ DEFINES += PB_FIELD_32BIT
+ CPPFLAGS += -Ithird_party/nanopb
CPPFLAGS += $(CPPFLAGS_$(CONFIG))
CFLAGS += $(CFLAGS_$(CONFIG))