This website requires JavaScript.
Explore
Help
Sign In
RIOT-OS
/
RIOT
Watch
1
Star
0
Fork
0
You've already forked RIOT
mirror of
https://github.com/RIOT-OS/RIOT.git
synced
2025-01-18 12:52:44 +01:00
Code
Releases
Activity
dee793d29f
RIOT
/
tests
/
unittests
/
tests-cbor
/
Makefile.include
5 lines
101 B
Makefile
Raw
Normal View
History
Unescape
Escape
cbor: CBOR implementation for RIOT-OS This is a malloc-free implementation of the Concise Binary Object Representation (CBOR) data format for the RIOT-OS. This implementation mostly stand-alone, and it should be pretty easy to port to other platforms. We're only using the C STL and some custom network-related functionaliy which could be easily replaced by depending on arpa/inet.h. The CBOR API is straight-forward to use and provides encoding/decoding functionality for all major C types, such as: - int - uint64_t - int64_t - float - double - char* - struct tm - time_t It is possible to conditionally compile this module via CFLAGS: - CBOR_NO_SEMANTIC_TAGGING: All semantic-tagging features removed - CBOR_NO_CTIME: All ctime related features removed - CBOR_NO_FLOAT: All floating-point related features removed - CBOR_NO_PRINT: All features depending on printf removed
2014-07-14 21:40:04 +02:00
USEMODULE
+=
cbor
sys: cbor: makefiles can enable cbor functionality new cbor pseudomodules: - cbor_ctime - cbor_float - cbor_semantic_tagging
2017-06-21 15:19:52 +02:00
USEMODULE
+=
cbor_ctime
USEMODULE
+=
cbor_float
USEMODULE
+=
cbor_semantic_tagging
Copy Permalink