aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/Makefile.template
diff options
context:
space:
mode:
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))