Skip to content
Snippets Groups Projects
Unverified Commit b78f78d3 authored by Martine Lenders's avatar Martine Lenders Committed by GitHub
Browse files

Merge pull request #9947 from bergzand/pr/tinycbor/v052

tinycbor: Version bump to 0.5.2
parents a6cf9db8 0b65a339
No related branches found
No related tags found
No related merge requests found
PKG_NAME=tinycbor
PKG_URL=https://github.com/intel/tinycbor
PKG_VERSION=v0.5.1
# Tinycbor v0.5.2
PKG_VERSION=d94ca09aa91f5b3c581527aa8bca179a82b79874
PKG_LICENSE=MIT
.PHONY: all
......
INCLUDES += -I$(PKGDIRBASE)/tinycbor/src
ifeq (,$(filter tinycbor_float,$(USEMODULE)))
CFLAGS += -DCBOR_NO_FLOATING_POINT
endif
# Declare pseudomodules here to be selfcontained
PSEUDOMODULES += tinycbor_%
......@@ -9,5 +9,7 @@ USEMODULE += embunit
USEMODULE += fmt
USEPKG += tinycbor
USEMODULE += tinycbor_float
TEST_ON_CI_WHITELIST += all
include $(RIOTBASE)/Makefile.include
......@@ -52,6 +52,7 @@ const char *tests[] = {
"f7", /* undefined */
"f8ff", /* simple(255) */
#ifdef MODULE_TINYCBOR_FLOAT
"f93c00", /* 1.0 */
"f9bc00", /* -1.0 */
"f903ff", /* 6.097555160522461e-05 */
......@@ -61,6 +62,7 @@ const char *tests[] = {
"fa47800000", /* 65536.0 */
"fb3ff199999999999a", /* 1.1 */
"f97e00", /* NaN */
#endif
"8300810000", /* [ 0, [ 0], 0] */
"a26161016162820203", /* { "a": 1, "b": [ 2, 3]} */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment