mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
pkg/cmsis-nn: drop package
This commit is contained in:
parent
8f030ca711
commit
15220a5449
@ -12,7 +12,6 @@ rsource "c25519/Kconfig"
|
||||
rsource "cayenne-lpp/Kconfig"
|
||||
rsource "cifra/Kconfig"
|
||||
rsource "cmsis/Kconfig"
|
||||
rsource "cmsis-nn/Kconfig"
|
||||
rsource "cn-cbor/Kconfig"
|
||||
rsource "corejson/Kconfig"
|
||||
rsource "cryptoauthlib/Kconfig"
|
||||
|
@ -1,36 +0,0 @@
|
||||
# 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_CMSIS-NN
|
||||
bool "NN ARM CMSIS package"
|
||||
depends on TEST_KCONFIG
|
||||
depends on HAS_CPU_CORE_CORTEXM
|
||||
|
||||
select MODULE_CMSIS-NN_ACTIVATIONFUNCTIONS
|
||||
select MODULE_CMSIS-NN_CONVOLUTIONFUNCTIONS
|
||||
select MODULE_CMSIS-NN_FULLYCONNECTEDFUNCTIONS
|
||||
select MODULE_CMSIS-NN_NNSUPPORTFUNCTIONS
|
||||
select MODULE_CMSIS-NN_POOLINGFUNCTIONS
|
||||
select MODULE_CMSIS-NN_SOFTMAXFUNCTIONS
|
||||
|
||||
config MODULE_CMSIS-NN_ACTIVATIONFUNCTIONS
|
||||
bool
|
||||
|
||||
config MODULE_CMSIS-NN_CONVOLUTIONFUNCTIONS
|
||||
bool
|
||||
|
||||
config MODULE_CMSIS-NN_FULLYCONNECTEDFUNCTIONS
|
||||
bool
|
||||
|
||||
config MODULE_CMSIS-NN_NNSUPPORTFUNCTIONS
|
||||
bool
|
||||
|
||||
config MODULE_CMSIS-NN_POOLINGFUNCTIONS
|
||||
bool
|
||||
|
||||
config MODULE_CMSIS-NN_SOFTMAXFUNCTIONS
|
||||
bool
|
@ -1,31 +0,0 @@
|
||||
PKG_NAME=cmsis-nn
|
||||
PKG_URL=https://github.com/ARM-software/CMSIS_5
|
||||
PKG_VERSION=5.6.0
|
||||
PKG_LICENSE=Apache-2.0
|
||||
|
||||
include $(RIOTBASE)/pkg/pkg.mk
|
||||
|
||||
CFLAGS += -Wno-cast-align
|
||||
|
||||
CMSIS_NN_MODULES = \
|
||||
cmsis-nn_activationfunctions \
|
||||
cmsis-nn_convolutionfunctions \
|
||||
cmsis-nn_fullyconnectedfunctions \
|
||||
cmsis-nn_nnsupportfunctions \
|
||||
cmsis-nn_poolingfunctions \
|
||||
cmsis-nn_softmaxfunctions \
|
||||
#
|
||||
|
||||
DIR_activationfunctions := ActivationFunctions
|
||||
DIR_convolutionfunctions := ConvolutionFunctions
|
||||
DIR_fullyconnectedfunctions := FullyConnectedFunctions
|
||||
DIR_nnsupportfunctions := NNSupportFunctions
|
||||
DIR_poolingfunctions := PoolingFunctions
|
||||
DIR_softmaxfunctions := SoftmaxFunctions
|
||||
|
||||
.PHONY: cmsis-nn_%
|
||||
|
||||
all: $(CMSIS_NN_MODULES)
|
||||
|
||||
cmsis-nn_%:
|
||||
$(MAKE) -C $(PKG_SOURCE_DIR)/CMSIS/NN/Source/$(DIR_$*) -f $(CURDIR)/Makefile.cmsis-nn MODULE=$@
|
@ -1,5 +0,0 @@
|
||||
CFLAGS += -Wno-strict-aliasing
|
||||
CFLAGS += -Wno-unused-parameter
|
||||
|
||||
# Include RIOT settings and recipes
|
||||
include $(RIOTBASE)/Makefile.base
|
@ -1,8 +0,0 @@
|
||||
FEATURES_REQUIRED += cpu_core_cortexm
|
||||
|
||||
USEMODULE += cmsis-nn_activationfunctions
|
||||
USEMODULE += cmsis-nn_convolutionfunctions
|
||||
USEMODULE += cmsis-nn_fullyconnectedfunctions
|
||||
USEMODULE += cmsis-nn_nnsupportfunctions
|
||||
USEMODULE += cmsis-nn_poolingfunctions
|
||||
USEMODULE += cmsis-nn_softmaxfunctions
|
@ -1,9 +0,0 @@
|
||||
INCLUDES += -I$(PKGDIRBASE)/cmsis-nn/CMSIS/NN/Include
|
||||
|
||||
# Required for some basic math functions
|
||||
INCLUDES += -I$(PKGDIRBASE)/cmsis-nn/CMSIS/DSP/Include
|
||||
|
||||
CFLAGS += -Wno-sign-compare
|
||||
|
||||
# cmsis-nn module is not a concrete module, so declare it as a pseudomodule
|
||||
PSEUDOMODULES += cmsis-nn
|
Loading…
Reference in New Issue
Block a user