diff --git a/targets/stm32l432/build/application.mk b/targets/stm32l432/build/application.mk index 2f2733a2..71d45ae8 100644 --- a/targets/stm32l432/build/application.mk +++ b/targets/stm32l432/build/application.mk @@ -84,4 +84,5 @@ cbor: cd ../../tinycbor/ && make clean cd ../../tinycbor/ && make CC="$(CC)" AR=$(AR) \ LDFLAGS="$(LDFLAGS_LIB)" \ -CFLAGS="$(CFLAGS) -Os" +CFLAGS="$(CFLAGS) -Os -DCBOR_PARSER_MAX_RECURSIONS=3" +