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

pkg/nmsis_sdk: add NMSIS SDK for Nuclei-based MCUs

The GD32V MCU is a Nuclei-based RISC-V MCU. The NMSIS SDK provides some basic functions for the access to control and status registers of such MCUs.
This commit is contained in:
Gunar Schorcht 2023-01-21 16:08:31 +01:00
parent 4c4cb3a8bb
commit 7c6a0de23b
5 changed files with 40 additions and 0 deletions

16
pkg/nmsis_sdk/Kconfig Normal file
View File

@ -0,0 +1,16 @@
# Copyright (c) 2023 Gunar Schorcht
#
# 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_NMSIS_SDK
bool "NMSIS SDK for Nuclei-based MCUs"
depends on HAS_ARCH_NUCLEI
help
Vendor SDK from Nuclei System Technology for Nuclei-based MCUs
config HAS_ARCH_NUCLEI
bool
help
Indicates that the MCU is Nuclei-based

10
pkg/nmsis_sdk/Makefile Normal file
View File

@ -0,0 +1,10 @@
PKG_NAME=nmsis_sdk
PKG_URL=https://github.com/Nuclei-Software/NMSIS.git
# v1.1.0
PKG_VERSION=c213b493a423750f139e8a3e1400b36a2ceaf914
PKG_LICENSE=Apache-2.0
include $(RIOTBASE)/pkg/pkg.mk
all:
@

View File

@ -0,0 +1,2 @@
# This package can only be used with the Nuclei-based MCUs
FEATURES_REQUIRED += arch_nuclei

View File

@ -0,0 +1,3 @@
PSEUDOMODULES += nmsis_sdk
INCLUDES += -I$(PKGDIRBASE)/nmsis_sdk/NMSIS/Core/Include

9
pkg/nmsis_sdk/doc.txt Normal file
View File

@ -0,0 +1,9 @@
/**
* @defgroup pkg_nmsis_sdk Nuclei MCU Software Interface Standard
* @ingroup pkg
* @brief Vendor SDK from Nuclei System Technology for Nuclei-based MCUs
*
* The NMSIS SDK is required for Nuclei-based MCUs, for example the GDVF103.
*
* @see https://github.com/Nuclei-Software/nuclei-sdk
*/