diff --git a/pkg/cn-cbor/Makefile b/pkg/cn-cbor/Makefile index 094c57bec97457f88c99e67af08dcf3a185043c7..0ff9ac08d6680ad3e971dda54b092cdb1033045b 100644 --- a/pkg/cn-cbor/Makefile +++ b/pkg/cn-cbor/Makefile @@ -1,6 +1,6 @@ PKG_NAME=cn-cbor PKG_URL=https://github.com/cabo/cn-cbor -PKG_VERSION=2f9c3b1931eb012909e74f3b628e6a31fd446ad1 +PKG_VERSION=f1cf9ffdf5cfab935a45900556f9b68af925c256 PKG_LICENSE=MIT .PHONY: all diff --git a/pkg/cn-cbor/Makefile.cn-cbor b/pkg/cn-cbor/Makefile.cn-cbor index e13f6b2105f7cde406c59fb8a31144017fd6019e..0466f35c80dada8a63c6d3ff1b9e791c618d5e86 100644 --- a/pkg/cn-cbor/Makefile.cn-cbor +++ b/pkg/cn-cbor/Makefile.cn-cbor @@ -1,3 +1,6 @@ MODULE := cn-cbor +# Enable code forcing aligned reads +CFLAGS += -DCBOR_ALIGN_READS + include $(RIOTBASE)/Makefile.base diff --git a/pkg/cn-cbor/patches/0001-implement-alignment-safe-ntoh16p-ntoh32p.patch b/pkg/cn-cbor/patches/0001-implement-alignment-safe-ntoh16p-ntoh32p.patch deleted file mode 100644 index 7cd6a73514e0d3ec66a1c0f71e335fe3ac9ce735..0000000000000000000000000000000000000000 Binary files a/pkg/cn-cbor/patches/0001-implement-alignment-safe-ntoh16p-ntoh32p.patch and /dev/null differ