nuttx-apps/mlearning/cmsis/Makefile
Alin Jerpelea 5dc7694b17 Add support for CMSIS NN
the CMSIS NN software library is a collection of efficient neural
network kernels developed to maximize the performance and minimize
the memory footprint of neural networks on Cortex-M processor cores.

Project https://github.com/ARM-software/CMSIS_5

The library is divided into a number of functions each covering
a specific category:

    Convolution Functions
    Activation Functions
    Fully-connected Layer Functions
    SVDF Layer Functions
    Pooling Functions
    Softmax Functions
    Basic math Functions

The library has separate functions for operating on different weight
and activation data types including 8-bit integers (q7_t) and 16-bit
integers (q15_t). The descrition of the kernels are included in the
function description.

More information
https://www.keil.com/pack/doc/CMSIS/NN/html/index.html

Project license : Apache 2.0 License
https://github.com/ARM-software/CMSIS_5/blob/develop/LICENSE.txt

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2022-02-01 19:53:07 +08:00

35 lines
1.3 KiB
Makefile

############################################################################
# apps/mlearning/cmsis/Makefile
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership. The
# ASF licenses this file to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance with the
# License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
#
############################################################################
include $(APPDIR)/Make.defs
cmsis.zip:
$(Q) curl -L https://github.com/ARM-software/CMSIS_5/archive/refs/tags/$(CONFIG_CMSIS_VER).zip -o cmsis.zip
$(Q) unzip -o cmsis.zip
$(Q) mv CMSIS_5-$(CONFIG_CMSIS_VER) CMSIS_5
context:: cmsis.zip
distclean::
$(call DELDIR, CMSIS_5)
$(call DELFILE, cmsis.zip)
include $(APPDIR)/Application.mk