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

pkg: add qrcode generator package

This commit is contained in:
Alexandre Abadie 2021-05-09 11:25:27 +02:00
parent 36b05b20c6
commit 4b6a5abc47
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405
6 changed files with 38 additions and 0 deletions

View File

@ -32,6 +32,7 @@ rsource "nanocbor/Kconfig"
rsource "nanopb/Kconfig"
rsource "qcbor/Kconfig"
rsource "qDSA/Kconfig"
rsource "qr-code-generator/Kconfig"
rsource "relic/Kconfig"
rsource "semtech-loramac/Kconfig"
rsource "talking_leds/Kconfig"

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_QR-CODE-GENERATOR
bool "QR Code generator"
depends on TEST_KCONFIG

View File

@ -0,0 +1,11 @@
PKG_NAME=qr-code-generator
PKG_URL=https://github.com/nayuki/QR-Code-generator
PKG_VERSION=71c75cfeb0f06788ebc43a39b704c39fcf5eba7c # v1.6.0
PKG_LICENSE=MIT
include $(RIOTBASE)/pkg/pkg.mk
CFLAGS += -Wno-type-limits
all:
$(QQ)"$(MAKE)" -C $(PKG_SOURCE_DIR)/c -f $(CURDIR)/$(PKG_NAME).mk

View File

@ -0,0 +1 @@
INCLUDES += -I$(PKGDIRBASE)/qr-code-generator/c

View File

@ -0,0 +1,11 @@
/**
* @defgroup pkg_qr-code-generator QR Code generator
* @ingroup pkg
* @brief QR Code generator library
*
* # License
*
* Licensed under MIT.
*
* @see https://github.com/nayuki/QR-Code-generator
*/

View File

@ -0,0 +1,5 @@
MODULE = qr-code-generator
SRC := qrcodegen.c
include $(RIOTBASE)/Makefile.base