mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
pkg: add Kconfig support for flatbuffers/ruy/tflite-micro
This commit is contained in:
parent
252484e82a
commit
628132a4e1
@ -25,6 +25,7 @@ rsource "esp8266_sdk/Kconfig"
|
|||||||
rsource "etl/Kconfig"
|
rsource "etl/Kconfig"
|
||||||
rsource "fff/Kconfig"
|
rsource "fff/Kconfig"
|
||||||
rsource "fido2_tests/Kconfig"
|
rsource "fido2_tests/Kconfig"
|
||||||
|
rsource "flatbuffers/Kconfig"
|
||||||
rsource "gecko_sdk/Kconfig"
|
rsource "gecko_sdk/Kconfig"
|
||||||
rsource "gemmlowp/Kconfig"
|
rsource "gemmlowp/Kconfig"
|
||||||
rsource "hacl/Kconfig"
|
rsource "hacl/Kconfig"
|
||||||
@ -51,8 +52,10 @@ rsource "qcbor/Kconfig"
|
|||||||
rsource "qdsa/Kconfig"
|
rsource "qdsa/Kconfig"
|
||||||
rsource "qr-code-generator/Kconfig"
|
rsource "qr-code-generator/Kconfig"
|
||||||
rsource "relic/Kconfig"
|
rsource "relic/Kconfig"
|
||||||
|
rsource "ruy/Kconfig"
|
||||||
rsource "semtech-loramac/Kconfig"
|
rsource "semtech-loramac/Kconfig"
|
||||||
rsource "talking_leds/Kconfig"
|
rsource "talking_leds/Kconfig"
|
||||||
|
rsource "tflite-micro/Kconfig"
|
||||||
rsource "tiny-asn1/Kconfig"
|
rsource "tiny-asn1/Kconfig"
|
||||||
rsource "tinycbor/Kconfig"
|
rsource "tinycbor/Kconfig"
|
||||||
rsource "tinycrypt/Kconfig"
|
rsource "tinycrypt/Kconfig"
|
||||||
|
15
pkg/flatbuffers/Kconfig
Normal file
15
pkg/flatbuffers/Kconfig
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
# Copyright (c) 2022 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_FLATBUFFERS
|
||||||
|
bool "Flatbuffers package"
|
||||||
|
depends on TEST_KCONFIG
|
||||||
|
depends on HAS_CPP
|
||||||
|
depends on HAS_LIBSTDCPP
|
||||||
|
|
||||||
|
select MODULE_LIBSTDCPP
|
||||||
|
select MODULE_CPP11-COMPAT
|
@ -8,10 +8,5 @@
|
|||||||
config PACKAGE_GEMMLOWP
|
config PACKAGE_GEMMLOWP
|
||||||
bool "General Matrix Multiplication package"
|
bool "General Matrix Multiplication package"
|
||||||
depends on TEST_KCONFIG
|
depends on TEST_KCONFIG
|
||||||
select MODULE_GEMMLOWP
|
|
||||||
help
|
help
|
||||||
A small self-contained low-precision GEMM library.
|
A small self-contained low-precision GEMM library.
|
||||||
|
|
||||||
config MODULE_GEMMLOWP
|
|
||||||
bool
|
|
||||||
depends on TEST_KCONFIG
|
|
||||||
|
@ -7,3 +7,7 @@
|
|||||||
config PACKAGE_RUY
|
config PACKAGE_RUY
|
||||||
bool "The ruy matrix multiplication library"
|
bool "The ruy matrix multiplication library"
|
||||||
depends on TEST_KCONFIG
|
depends on TEST_KCONFIG
|
||||||
|
depends on HAS_CPP
|
||||||
|
depends on HAS_LIBSTDCPP
|
||||||
|
|
||||||
|
select MODULE_CPP11-COMPAT
|
||||||
|
@ -1,3 +1 @@
|
|||||||
FEATURES_REQUIRED += cpp
|
|
||||||
|
|
||||||
USEMODULE += cpp11-compat
|
USEMODULE += cpp11-compat
|
||||||
|
59
pkg/tflite-micro/Kconfig
Normal file
59
pkg/tflite-micro/Kconfig
Normal file
@ -0,0 +1,59 @@
|
|||||||
|
# Copyright (c) 2022 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_TFLITE-MICRO
|
||||||
|
bool "TFlite Micro package"
|
||||||
|
depends on TEST_KCONFIG
|
||||||
|
depends on HAS_CPP
|
||||||
|
depends on HAS_LIBSTDCPP
|
||||||
|
depends on !HAS_ARCH_MIPS32R2
|
||||||
|
depends on !HAS_ARCH_RISCV
|
||||||
|
|
||||||
|
select MODULE_LIBSTDCPP
|
||||||
|
select MODULE_CPP11-COMPAT
|
||||||
|
|
||||||
|
select PACKAGE_FLATBUFFERS
|
||||||
|
select PACKAGE_GEMMLOWP
|
||||||
|
select PACKAGE_RUY
|
||||||
|
|
||||||
|
select MODULE_TFLITE-C
|
||||||
|
select MODULE_TFLITE-CORE-API
|
||||||
|
select MODULE_TFLITE-KERNELS
|
||||||
|
select MODULE_TFLITE-KERNELS-INTERNAL
|
||||||
|
select MODULE_TFLITE-KERNELS-INTERNAL-REFERENCE
|
||||||
|
select MODULE_TFLITE-MICRO
|
||||||
|
select MODULE_TFLITE-MICRO-KERNELS
|
||||||
|
select MODULE_TFLITE-MICRO-MEMORY-PLANNER
|
||||||
|
select MODULE_TFLITE-SCHEMA
|
||||||
|
|
||||||
|
|
||||||
|
config MODULE_TFLITE-C
|
||||||
|
bool
|
||||||
|
|
||||||
|
config MODULE_TFLITE-CORE-API
|
||||||
|
bool
|
||||||
|
|
||||||
|
config MODULE_TFLITE-KERNELS
|
||||||
|
bool
|
||||||
|
|
||||||
|
config MODULE_TFLITE-KERNELS-INTERNAL
|
||||||
|
bool
|
||||||
|
|
||||||
|
config MODULE_TFLITE-KERNELS-INTERNAL-REFERENCE
|
||||||
|
bool
|
||||||
|
|
||||||
|
config MODULE_TFLITE-MICRO
|
||||||
|
bool
|
||||||
|
|
||||||
|
config MODULE_TFLITE-MICRO-KERNELS
|
||||||
|
bool
|
||||||
|
|
||||||
|
config MODULE_TFLITE-MICRO-MEMORY-PLANNER
|
||||||
|
bool
|
||||||
|
|
||||||
|
config MODULE_TFLITE-SCHEMA
|
||||||
|
bool
|
@ -1,4 +1,3 @@
|
|||||||
FEATURES_REQUIRED += cpp
|
|
||||||
USEMODULE += cpp11-compat
|
USEMODULE += cpp11-compat
|
||||||
|
|
||||||
USEPKG += flatbuffers
|
USEPKG += flatbuffers
|
||||||
|
Loading…
Reference in New Issue
Block a user