mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
mjson: Initial include of package
This commit is contained in:
parent
f22405e7a5
commit
313e4e052f
@ -54,6 +54,7 @@ rsource "micro-ecc/Kconfig"
|
|||||||
rsource "microcoap/Kconfig"
|
rsource "microcoap/Kconfig"
|
||||||
rsource "micropython/Kconfig"
|
rsource "micropython/Kconfig"
|
||||||
rsource "minmea/Kconfig"
|
rsource "minmea/Kconfig"
|
||||||
|
rsource "mjson/Kconfig"
|
||||||
rsource "monocypher/Kconfig"
|
rsource "monocypher/Kconfig"
|
||||||
rsource "mynewt-core/Kconfig"
|
rsource "mynewt-core/Kconfig"
|
||||||
rsource "nanocbor/Kconfig"
|
rsource "nanocbor/Kconfig"
|
||||||
|
9
pkg/mjson/Kconfig
Normal file
9
pkg/mjson/Kconfig
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
# Copyright (c) 2023 Koen Zandberg
|
||||||
|
#
|
||||||
|
# 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_MJSON
|
||||||
|
bool "mjson"
|
||||||
|
depends on TEST_KCONFIG
|
10
pkg/mjson/Makefile
Normal file
10
pkg/mjson/Makefile
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
PKG_NAME=mjson
|
||||||
|
PKG_URL=https://github.com/cesanta/mjson
|
||||||
|
# v1.2.7
|
||||||
|
PKG_VERSION=032a2eaca1a989e56d88218f2a3cb91a68afebe8
|
||||||
|
PKG_LICENSE=MIT
|
||||||
|
|
||||||
|
include $(RIOTBASE)/pkg/pkg.mk
|
||||||
|
|
||||||
|
all:
|
||||||
|
$(QQ)"$(MAKE)" -C $(PKG_SOURCE_DIR)/src -f $(CURDIR)/$(PKG_NAME).mk
|
1
pkg/mjson/Makefile.include
Normal file
1
pkg/mjson/Makefile.include
Normal file
@ -0,0 +1 @@
|
|||||||
|
INCLUDES += -I$(PKGDIRBASE)/mjson/src
|
16
pkg/mjson/doc.txt
Normal file
16
pkg/mjson/doc.txt
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
/**
|
||||||
|
* @defgroup pkg_mjson mjson
|
||||||
|
* @ingroup pkg
|
||||||
|
* @brief mjson - a JSON parser + emitter + JSON-RPC engine
|
||||||
|
*
|
||||||
|
* # Introduction
|
||||||
|
*
|
||||||
|
* mjson is a small, embedded-friendly JSON parser, emitter and JSON-RPC
|
||||||
|
* engine.
|
||||||
|
*
|
||||||
|
* # License
|
||||||
|
*
|
||||||
|
* Licensed under MIT.
|
||||||
|
*
|
||||||
|
* @see https://github.com/cesanta/mjson
|
||||||
|
*/
|
7
pkg/mjson/mjson.mk
Normal file
7
pkg/mjson/mjson.mk
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
MODULE = mjson
|
||||||
|
|
||||||
|
# The mjson_merge function requires an alloca implementation, disabled to
|
||||||
|
# prevent stack memory allocations
|
||||||
|
CFLAGS += -DMJSON_ENABLE_MERGE=0
|
||||||
|
|
||||||
|
include $(RIOTBASE)/Makefile.base
|
Loading…
Reference in New Issue
Block a user