Skip to content

lupyuen2/tinycbor-nuttx

 
 

Repository files navigation

TinyCBOR for Apache NuttX OS

Read the articles...

To test the TinyCBOR Library, run this NuttX App...

Install Library

To add this repo to your NuttX project...

cd nuttx/nuttx/libs
git submodule add https://github.com/lupyuen2/tinycbor-nuttx libtinycbor

Next update the Makefiles and Kconfig...

Then update the NuttX Build Config...

## TODO: Change this to the path of our "incubator-nuttx" folder
cd nuttx/nuttx

## Preserve the Build Config
cp .config ../config

## Erase the Build Config
make distclean

## For BL602: Configure the build for BL602
./tools/configure.sh bl602evb:nsh

## For ESP32: Configure the build for ESP32.
## TODO: Change "esp32-devkitc" to our ESP32 board.
./tools/configure.sh esp32-devkitc:nsh

## Restore the Build Config
cp ../config .config

## Edit the Build Config
make menuconfig 

In menuconfig, enable the TinyCBOR Library under "Library Routines".

TinyCBOR Documentation: https://intel.github.io/tinycbor/current/

This repo is a fork of intel/tinycbor with minimal changes.