Skip to content

onetonfoot/micropython_cbor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Micropython CBOR

A native C module for CBOR encoding

import ucbor

d = {
	"x" : 10,
	"y" : 11,
}

bs = ucbor.dumps(d)
ucbor.loads(bs)

Building

pip install pyelftools
git clone https://github.com/micropython/micropython.git /opt/micropython
ARCH=armv6 make

References

Various references used during development:

This is built on top of tinycbor v0.6, the original source code was modified to remove large switch statements to avoid the error undefined reference to __gnu_thumb1_case_uqi when compiling for arm.

About

A native c module for CBOR encoding

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages