1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

pkg: add support for FreeRTOS coreJSON library

This commit is contained in:
Alexandre Abadie 2021-10-17 18:11:24 +02:00
parent 525fe24576
commit 4281d4b226
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405
5 changed files with 33 additions and 0 deletions

9
pkg/corejson/Kconfig Normal file
View File

@ -0,0 +1,9 @@
# Copyright (c) 2021 Inria
#
# This file is subject to the terms and conditions of the GNU Lesser
# General Public License v2.1. See the file LICENSE in the top level
# directory for more details.
config PACKAGE_COREJSON
bool "FreeRTOS coreJSON"
depends on TEST_KCONFIG

9
pkg/corejson/Makefile Normal file
View File

@ -0,0 +1,9 @@
PKG_NAME=corejson
PKG_URL=https://github.com/FreeRTOS/coreJSON
PKG_VERSION=caf540ccdb98e8f96a6f557075cb607288384938 # v3.0.2
PKG_LICENSE=MIT
include $(RIOTBASE)/pkg/pkg.mk
all:
$(QQ)"$(MAKE)" -C $(PKG_SOURCE_DIR)/source -f $(CURDIR)/$(PKG_NAME).mk

View File

@ -0,0 +1 @@
INCLUDES += -I$(PKGDIRBASE)/corejson/source/include

3
pkg/corejson/corejson.mk Normal file
View File

@ -0,0 +1,3 @@
MODULE = corejson
include $(RIOTBASE)/Makefile.base

11
pkg/corejson/doc.txt Normal file
View File

@ -0,0 +1,11 @@
/**
* @defgroup pkg_corejson FreeRTOS coreJSON
* @ingroup pkg
* @brief JSON parser that strictly enforces the ECMA-404 JSON standard
*
* # License
*
* Licensed under MIT.
*
* @see https://github.com/FreeRTOS/coreJSON
*/