Merge pull request 'support mulan on nuttx' (#8) from prepare_for_master into ok1052

ok
This commit is contained in:
wgzAIIT 2022-03-21 09:37:09 +08:00
commit 64aa3c4962
105 changed files with 979 additions and 97 deletions

View File

@ -11,8 +11,8 @@
*/
/**
* @file pm1_0_ps5308.c
* @brief PS5308 PM1.0 example
* @filepm10_0_ps5308
* @brief PS5308 PM10.0 example
* @version 1.0
* @author AIIT XUOS Lab
* @date 2021.04.23

View File

@ -11,11 +11,11 @@
*/
/**
* @file pm1_0_ps5308.c
* @brief PS5308 PM1.0 example
* @file pm2_5_ps5308
* @brief PS5308 PM2.5 example
* @version 1.0
* @author AIIT XUOS Lab
* @date 2021.04.23
* @date 2021.12.28
*/
#ifdef ADD_XIZI_FETURES

View File

@ -11,7 +11,7 @@
*/
/**
* @file xiuos.c
* @file transform.c
* @brief Converts the framework interface to an operating system interface
* @version 1.0
* @author AIIT XUOS Lab

View File

@ -18,6 +18,15 @@
*
****************************************************************************/
/**
* @file board.h
* @brief nuttx source code
* https://github.com/apache/incubator-nuttx.git
* @version 10.2.0
* @author AIIT XUOS Lab
* @date 2022-03-17
*/
#ifndef __BOARDS_ARM_STM32_STM32F4AIIT_INCLUDE_BOARD_H
#define __BOARDS_ARM_STM32_STM32F4AIIT_INCLUDE_BOARD_H

View File

@ -18,6 +18,15 @@
*
****************************************************************************/
/**
* @file stm32_userspace.c
* @brief nuttx source code
* https://github.com/apache/incubator-nuttx.git
* @version 10.2.0
* @author AIIT XUOS Lab
* @date 2022-03-17
*/
/****************************************************************************
* Included Files
****************************************************************************/

View File

@ -18,6 +18,15 @@
*
****************************************************************************/
/**
* @file aiit-arm32-board.h
* @brief nuttx source code
* https://github.com/apache/incubator-nuttx.git
* @version 10.2.0
* @author AIIT XUOS Lab
* @date 2022-03-17
*/
#ifndef __BOARDS_ARM_STM32_STM32F4AIIT_SRC_STM32F4AIIT_H
#define __BOARDS_ARM_STM32_STM32F4AIIT_SRC_STM32F4AIIT_H

View File

@ -18,6 +18,15 @@
*
****************************************************************************/
/**
* @file stm32_appinit.c
* @brief nuttx source code
* https://github.com/apache/incubator-nuttx.git
* @version 10.2.0
* @author AIIT XUOS Lab
* @date 2022-03-17
*/
/****************************************************************************
* Included Files
****************************************************************************/

View File

@ -18,6 +18,15 @@
*
****************************************************************************/
/**
* @file stm32_autoleds.c
* @brief nuttx source code
* https://github.com/apache/incubator-nuttx.git
* @version 10.2.0
* @author AIIT XUOS Lab
* @date 2022-03-17
*/
/****************************************************************************
* Included Files
****************************************************************************/

View File

@ -18,6 +18,15 @@
*
****************************************************************************/
/**
* @file stm32_boot.c
* @brief nuttx source code
* https://github.com/apache/incubator-nuttx.git
* @version 10.2.0
* @author AIIT XUOS Lab
* @date 2022-03-17
*/
/****************************************************************************
* Included Files
****************************************************************************/

View File

@ -18,6 +18,15 @@
*
****************************************************************************/
/**
* @file stm32_bringup.c
* @brief nuttx source code
* https://github.com/apache/incubator-nuttx.git
* @version 10.2.0
* @author AIIT XUOS Lab
* @date 2022-03-17
*/
/****************************************************************************
* Included Files
****************************************************************************/

View File

@ -18,6 +18,15 @@
*
****************************************************************************/
/**
* @file stm32_buttons.c
* @brief nuttx source code
* https://github.com/apache/incubator-nuttx.git
* @version 10.2.0
* @author AIIT XUOS Lab
* @date 2022-03-17
*/
/****************************************************************************
* Included Files
****************************************************************************/

View File

@ -18,6 +18,15 @@
*
****************************************************************************/
/**
* @file stm32_can.c
* @brief nuttx source code
* https://github.com/apache/incubator-nuttx.git
* @version 10.2.0
* @author AIIT XUOS Lab
* @date 2022-03-17
*/
/****************************************************************************
* Included Files
****************************************************************************/

View File

@ -18,6 +18,15 @@
*
****************************************************************************/
/**
* @file stm32_critmon.c
* @brief nuttx source code
* https://github.com/apache/incubator-nuttx.git
* @version 10.2.0
* @author AIIT XUOS Lab
* @date 2022-03-17
*/
/****************************************************************************
* Included Files
****************************************************************************/

View File

@ -18,6 +18,15 @@
*
****************************************************************************/
/**
* @file stm32_cs43l22.c
* @brief nuttx source code
* https://github.com/apache/incubator-nuttx.git
* @version 10.2.0
* @author AIIT XUOS Lab
* @date 2022-03-17
*/
/****************************************************************************
* Included Files
****************************************************************************/

View File

@ -18,6 +18,15 @@
*
****************************************************************************/
/**
* @file stm32_ds1307.c
* @brief nuttx source code
* https://github.com/apache/incubator-nuttx.git
* @version 10.2.0
* @author AIIT XUOS Lab
* @date 2022-03-17
*/
/****************************************************************************
* Included Files
****************************************************************************/

View File

@ -18,6 +18,15 @@
*
****************************************************************************/
/**
* @file stm32_enc28j60.c
* @brief nuttx source code
* https://github.com/apache/incubator-nuttx.git
* @version 10.2.0
* @author AIIT XUOS Lab
* @date 2022-03-17
*/
/* 2MBit SPI FLASH OR ENC28J60
*
* -- ---- ------------ -----------------------------------------------------

View File

@ -18,6 +18,15 @@
*
****************************************************************************/
/**
* @file stm32_ethernet.c
* @brief nuttx source code
* https://github.com/apache/incubator-nuttx.git
* @version 10.2.0
* @author AIIT XUOS Lab
* @date 2022-03-17
*/
/****************************************************************************
* Included Files
****************************************************************************/

View File

@ -18,6 +18,15 @@
*
****************************************************************************/
/**
* @file stm32_extmem.c
* @brief nuttx source code
* https://github.com/apache/incubator-nuttx.git
* @version 10.2.0
* @author AIIT XUOS Lab
* @date 2022-03-17
*/
/****************************************************************************
* Included Files
****************************************************************************/

View File

@ -18,6 +18,15 @@
*
****************************************************************************/
/**
* @file stm32_gs2200m.c
* @brief nuttx source code
* https://github.com/apache/incubator-nuttx.git
* @version 10.2.0
* @author AIIT XUOS Lab
* @date 2022-03-17
*/
/****************************************************************************
* Included Files
****************************************************************************/

View File

@ -18,6 +18,15 @@
*
****************************************************************************/
/**
* @file stm32_hciuart.c
* @brief nuttx source code
* https://github.com/apache/incubator-nuttx.git
* @version 10.2.0
* @author AIIT XUOS Lab
* @date 2022-03-17
*/
/****************************************************************************
* Included Files
****************************************************************************/

View File

@ -18,6 +18,15 @@
*
****************************************************************************/
/**
* @file stm32_idle.c
* @brief nuttx source code
* https://github.com/apache/incubator-nuttx.git
* @version 10.2.0
* @author AIIT XUOS Lab
* @date 2022-03-17
*/
/****************************************************************************
* Included Files
****************************************************************************/

View File

@ -18,6 +18,15 @@
*
****************************************************************************/
/**
* @file stm32_max7219.c
* @brief nuttx source code
* https://github.com/apache/incubator-nuttx.git
* @version 10.2.0
* @author AIIT XUOS Lab
* @date 2022-03-17
*/
/****************************************************************************
* Included Files
****************************************************************************/

View File

@ -18,6 +18,15 @@
*
****************************************************************************/
/**
* @file stm32_max7219_leds.c
* @brief nuttx source code
* https://github.com/apache/incubator-nuttx.git
* @version 10.2.0
* @author AIIT XUOS Lab
* @date 2022-03-17
*/
/****************************************************************************
* Included Files
****************************************************************************/

View File

@ -18,6 +18,15 @@
*
****************************************************************************/
/**
* @file stm32_mmcsd.c
* @brief nuttx source code
* https://github.com/apache/incubator-nuttx.git
* @version 10.2.0
* @author AIIT XUOS Lab
* @date 2022-03-17
*/
/****************************************************************************
* Included Files
****************************************************************************/

View File

@ -18,6 +18,15 @@
*
****************************************************************************/
/**
* @file stm32_netinit.c
* @brief nuttx source code
* https://github.com/apache/incubator-nuttx.git
* @version 10.2.0
* @author AIIT XUOS Lab
* @date 2022-03-17
*/
/****************************************************************************
* Included Files
****************************************************************************/

View File

@ -18,6 +18,15 @@
*
****************************************************************************/
/**
* @file stm32_ostest.c
* @brief nuttx source code
* https://github.com/apache/incubator-nuttx.git
* @version 10.2.0
* @author AIIT XUOS Lab
* @date 2022-03-17
*/
/****************************************************************************
* Included Files
****************************************************************************/

View File

@ -18,6 +18,15 @@
*
****************************************************************************/
/**
* @file stm32_pca9635.c
* @brief nuttx source code
* https://github.com/apache/incubator-nuttx.git
* @version 10.2.0
* @author AIIT XUOS Lab
* @date 2022-03-17
*/
/****************************************************************************
* Included Files
****************************************************************************/

View File

@ -18,6 +18,15 @@
*
****************************************************************************/
/**
* @file stm32_pm.c
* @brief nuttx source code
* https://github.com/apache/incubator-nuttx.git
* @version 10.2.0
* @author AIIT XUOS Lab
* @date 2022-03-17
*/
/****************************************************************************
* Included Files
****************************************************************************/

View File

@ -18,6 +18,15 @@
*
****************************************************************************/
/**
* @file stm32_pmbuttons.c
* @brief nuttx source code
* https://github.com/apache/incubator-nuttx.git
* @version 10.2.0
* @author AIIT XUOS Lab
* @date 2022-03-17
*/
/****************************************************************************
* Included Files
****************************************************************************/

View File

@ -18,6 +18,15 @@
*
****************************************************************************/
/**
* @file stm32_pwm.c
* @brief nuttx source code
* https://github.com/apache/incubator-nuttx.git
* @version 10.2.0
* @author AIIT XUOS Lab
* @date 2022-03-17
*/
/****************************************************************************
* Included Files
****************************************************************************/

View File

@ -18,6 +18,15 @@
*
****************************************************************************/
/**
* @file stm32_reset.c
* @brief nuttx source code
* https://github.com/apache/incubator-nuttx.git
* @version 10.2.0
* @author AIIT XUOS Lab
* @date 2022-03-17
*/
/****************************************************************************
* Included Files
****************************************************************************/

View File

@ -18,6 +18,15 @@
*
****************************************************************************/
/**
* @file stm32_rgbled.c
* @brief nuttx source code
* https://github.com/apache/incubator-nuttx.git
* @version 10.2.0
* @author AIIT XUOS Lab
* @date 2022-03-17
*/
/****************************************************************************
* Included Files
****************************************************************************/

View File

@ -33,6 +33,15 @@
*
****************************************************************************/
/**
* @file stm32_romfs.h
* @brief nuttx source code
* https://github.com/apache/incubator-nuttx.git
* @version 10.2.0
* @author AIIT XUOS Lab
* @date 2022-03-17
*/
#ifndef __BOARDS_ARM_STM32_STM32F4AIIT_SRC_STM32_ROMFS_H
#define __BOARDS_ARM_STM32_STM32F4AIIT_SRC_STM32_ROMFS_H

View File

@ -34,6 +34,15 @@
*
****************************************************************************/
/**
* @file stm32_romfs_initialize.c
* @brief nuttx source code
* https://github.com/apache/incubator-nuttx.git
* @version 10.2.0
* @author AIIT XUOS Lab
* @date 2022-03-17
*/
/****************************************************************************
* Included Files
****************************************************************************/

View File

@ -18,6 +18,15 @@
*
****************************************************************************/
/**
* @file stm32_sdio.c
* @brief nuttx source code
* https://github.com/apache/incubator-nuttx.git
* @version 10.2.0
* @author AIIT XUOS Lab
* @date 2022-03-17
*/
/****************************************************************************
* Included Files
****************************************************************************/

View File

@ -17,6 +17,14 @@
* under the License.
*
****************************************************************************/
/**
* @file stm32_spi.c
* @brief nuttx source code
* https://github.com/apache/incubator-nuttx.git
* @version 10.2.0
* @author AIIT XUOS Lab
* @date 2022-03-17
*/
/****************************************************************************
* Included Files

View File

@ -18,6 +18,15 @@
*
****************************************************************************/
/**
* @file stm32_ssd1289.c
* @brief nuttx source code
* https://github.com/apache/incubator-nuttx.git
* @version 10.2.0
* @author AIIT XUOS Lab
* @date 2022-03-17
*/
/****************************************************************************
* Included Files
****************************************************************************/

View File

@ -18,6 +18,16 @@
*
****************************************************************************/
/**
* @file stm32_ssd1351.c
* @brief nuttx source code
* https://github.com/apache/incubator-nuttx.git
* @version 10.2.0
* @author AIIT XUOS Lab
* @date 2022-03-17
*/
/****************************************************************************
* Included Files
****************************************************************************/

View File

@ -18,6 +18,15 @@
*
****************************************************************************/
/**
* @file stm32_st7032.c
* @brief nuttx source code
* https://github.com/apache/incubator-nuttx.git
* @version 10.2.0
* @author AIIT XUOS Lab
* @date 2022-03-17
*/
/****************************************************************************
* Included Files
****************************************************************************/

View File

@ -18,6 +18,15 @@
*
****************************************************************************/
/**
* @file stm32_st7567.c
* @brief nuttx source code
* https://github.com/apache/incubator-nuttx.git
* @version 10.2.0
* @author AIIT XUOS Lab
* @date 2022-03-17
*/
/****************************************************************************
* Included Files
****************************************************************************/

View File

@ -18,6 +18,15 @@
*
****************************************************************************/
/**
* @file stm32_st7789.c
* @brief nuttx source code
* https://github.com/apache/incubator-nuttx.git
* @version 10.2.0
* @author AIIT XUOS Lab
* @date 2022-03-17
*/
/****************************************************************************
* Included Files
****************************************************************************/

View File

@ -18,6 +18,15 @@
*
****************************************************************************/
/**
* @file stm32_sx127x.c
* @brief nuttx source code
* https://github.com/apache/incubator-nuttx.git
* @version 10.2.0
* @author AIIT XUOS Lab
* @date 2022-03-17
*/
/****************************************************************************
* Included Files
****************************************************************************/

View File

@ -18,6 +18,15 @@
*
****************************************************************************/
/**
* @file stm32_timer.c
* @brief nuttx source code
* https://github.com/apache/incubator-nuttx.git
* @version 10.2.0
* @author AIIT XUOS Lab
* @date 2022-03-17
*/
/****************************************************************************
* Included Files
****************************************************************************/

View File

@ -18,6 +18,15 @@
*
****************************************************************************/
/**
* @file stm32_ug2864ambag01.c
* @brief nuttx source code
* https://github.com/apache/incubator-nuttx.git
* @version 10.2.0
* @author AIIT XUOS Lab
* @date 2022-03-17
*/
/****************************************************************************
* Included Files
****************************************************************************/

View File

@ -18,6 +18,15 @@
*
****************************************************************************/
/**
* @file stm32_ug2864hsweg01.c
* @brief nuttx source code
* https://github.com/apache/incubator-nuttx.git
* @version 10.2.0
* @author AIIT XUOS Lab
* @date 2022-03-17
*/
/****************************************************************************
* Included Files
****************************************************************************/

View File

@ -33,6 +33,15 @@
*
****************************************************************************/
/**
* @file stm32_uid.c
* @brief nuttx source code
* https://github.com/apache/incubator-nuttx.git
* @version 10.2.0
* @author AIIT XUOS Lab
* @date 2022-03-17
*/
/****************************************************************************
* Included Files
****************************************************************************/

View File

@ -18,6 +18,15 @@
*
****************************************************************************/
/**
* @file stm32_usb.c
* @brief nuttx source code
* https://github.com/apache/incubator-nuttx.git
* @version 10.2.0
* @author AIIT XUOS Lab
* @date 2022-03-17
*/
/****************************************************************************
* Included Files
****************************************************************************/

View File

@ -18,6 +18,15 @@
*
****************************************************************************/
/**
* @file stm32_usbmsc.c
* @brief nuttx source code
* https://github.com/apache/incubator-nuttx.git
* @version 10.2.0
* @author AIIT XUOS Lab
* @date 2022-03-17
*/
/****************************************************************************
* Included Files
****************************************************************************/

View File

@ -18,6 +18,15 @@
*
****************************************************************************/
/**
* @file stm32_userleds.c
* @brief nuttx source code
* https://github.com/apache/incubator-nuttx.git
* @version 10.2.0
* @author AIIT XUOS Lab
* @date 2022-03-17
*/
/****************************************************************************
* Included Files
****************************************************************************/

View File

@ -18,6 +18,15 @@
*
****************************************************************************/
/**
* @file board.h
* @brief nuttx source code
* https://github.com/apache/incubator-nuttx.git
* @version 10.2.0
* @author AIIT XUOS Lab
* @date 2022-03-17
*/
#ifndef __BOARDS_K210_AIIT_RISCV64_INCLUDE_BOARD_H
#define __BOARDS_K210_AIIT_RISCV64_INCLUDE_BOARD_H

View File

@ -18,6 +18,15 @@
*
****************************************************************************/
/**
* @file k210_userspace.c
* @brief nuttx source code
* https://github.com/apache/incubator-nuttx.git
* @version 10.2.0
* @author AIIT XUOS Lab
* @date 2022-03-17
*/
/****************************************************************************
* Included Files
****************************************************************************/

View File

@ -18,6 +18,16 @@
*
****************************************************************************/
/**
* @file aiit-riscv64-board.h
* @brief nuttx source code
* https://github.com/apache/incubator-nuttx.git
* @version 10.2.0
* @author AIIT XUOS Lab
* @date 2022-03-17
*/
#ifndef __AIIT_RISCV64_BOARDS_K210_H
#define __AIIT_RISCV64_BOARDS_K210_H

View File

@ -18,6 +18,15 @@
*
****************************************************************************/
/**
* @file k210_appinit.c
* @brief nuttx source code
* https://github.com/apache/incubator-nuttx.git
* @version 10.2.0
* @author AIIT XUOS Lab
* @date 2022-03-17
*/
/****************************************************************************
* Included Files
****************************************************************************/

View File

@ -18,6 +18,15 @@
*
****************************************************************************/
/**
* @file k210_boot.c
* @brief nuttx source code
* https://github.com/apache/incubator-nuttx.git
* @version 10.2.0
* @author AIIT XUOS Lab
* @date 2022-03-17
*/
/****************************************************************************
* Included Files
****************************************************************************/

View File

@ -18,6 +18,15 @@
*
****************************************************************************/
/**
* @file k210_bringup.c
* @brief nuttx source code
* https://github.com/apache/incubator-nuttx.git
* @version 10.2.0
* @author AIIT XUOS Lab
* @date 2022-03-17
*/
/****************************************************************************
* Included Files
****************************************************************************/

View File

@ -18,6 +18,15 @@
*
****************************************************************************/
/**
* @file k210_gpio.c
* @brief nuttx source code
* https://github.com/apache/incubator-nuttx.git
* @version 10.2.0
* @author AIIT XUOS Lab
* @date 2022-03-17
*/
/****************************************************************************
* Included Files
****************************************************************************/

View File

@ -18,6 +18,15 @@
*
****************************************************************************/
/**
* @file k210_leds.c
* @brief nuttx source code
* https://github.com/apache/incubator-nuttx.git
* @version 10.2.0
* @author AIIT XUOS Lab
* @date 2022-03-17
*/
/****************************************************************************
* Included Files
****************************************************************************/

View File

@ -1,5 +1,5 @@
/****************************************************************************
* boards/risc-v/k210/aiit-riscv64-board/src/c906_ostest.c
* boards/risc-v/k210/aiit-riscv64-board/src/k210_ostest.c
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
@ -18,6 +18,15 @@
*
****************************************************************************/
/**
* @file k210_ostest.c
* @brief nuttx source code
* https://github.com/apache/incubator-nuttx.git
* @version 10.2.0
* @author AIIT XUOS Lab
* @date 2022-03-17
*/
/****************************************************************************
* Included Files
****************************************************************************/

View File

@ -18,6 +18,15 @@
*
****************************************************************************/
/**
* @file sx127x_demo.c
* @brief nuttx source code
* https://github.com/apache/incubator-nuttx-apps
* @version 10.2.0
* @author AIIT XUOS Lab
* @date 2022-03-17
*/
/****************************************************************************
* Included Files
****************************************************************************/

View File

@ -18,6 +18,15 @@
*
****************************************************************************/
/**
* @file nsh.h
* @brief nuttx source code
* https://github.com/apache/incubator-nuttx-apps
* @version 10.2.0
* @author AIIT XUOS Lab
* @date 2022-03-17
*/
#ifndef __APPS_NSHLIB_NSH_H
#define __APPS_NSHLIB_NSH_H

View File

@ -1,37 +1,22 @@
/****************************************************************************
* apps/nshlib/nsh_Applicationscmd.c
*
* Copyright (C) 2016 Alan Carvalho de Assis. All rights reserved.
* Author: Alan Carvalho de Assis <acassis@gmail.com>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
* 3. Neither the name NuttX nor the names of its contributors may be
* used to endorse or promote products derived from this software
* without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
* OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
* AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
****************************************************************************/
/*
* Copyright (c) 2020 AIIT XUOS Lab
* XiUOS is licensed under Mulan PSL v2.
* You can use this software according to the terms and conditions of the Mulan PSL v2.
* You may obtain a copy of Mulan PSL v2 at:
* http://license.coscl.org.cn/MulanPSL2
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* See the Mulan PSL v2 for more details.
*/
/**
* @file nsh_Applicationscmd.c
* @brief nsh cmd function support
* @version 1.0
* @author AIIT XUOS Lab
* @date 2022.03.17
*/
/****************************************************************************
* Included Files

View File

@ -18,6 +18,15 @@
*
****************************************************************************/
/**
* @file nsh_command.c
* @brief nuttx source code
* https://github.com/apache/incubator-nuttx-apps
* @version 10.2.0
* @author AIIT XUOS Lab
* @date 2022-03-17
*/
/****************************************************************************
* Included Files
****************************************************************************/

View File

@ -18,6 +18,15 @@
*
****************************************************************************/
/**
* @file stm32_serial.c
* @brief nuttx source code
* https://github.com/apache/incubator-nuttx.git
* @version 10.2.0
* @author AIIT XUOS Lab
* @date 2022-03-17
*/
/****************************************************************************
* Included Files
****************************************************************************/

View File

@ -18,6 +18,15 @@
*
****************************************************************************/
/**
* @file riscv_internal.h
* @brief nuttx source code
* https://github.com/apache/incubator-nuttx.git
* @version 10.2.0
* @author AIIT XUOS Lab
* @date 2022-03-17
*/
#ifndef __ARCH_RISCV_SRC_COMMON_UP_INTERNAL_H
#define __ARCH_RISCV_SRC_COMMON_UP_INTERNAL_H

View File

@ -12,6 +12,16 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* @file apu.c
* @brief kendryte k210 source code
* https://github.com/kendryte/kendryte-standalone-sdk.git
* @version 1.0
* @author AIIT XUOS Lab
* @date 2022-03-17
*/
#include <debug.h>
#include <stddef.h>
#include <stdint.h>

View File

@ -12,6 +12,17 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* @file apu.h
* @brief kendryte k210 source code
* https://github.com/kendryte/kendryte-standalone-sdk.git
* @version 1.0
* @author AIIT XUOS Lab
* @date 2022-03-17
*/
#ifndef _apu_H_
#define _apu_H_

View File

@ -13,6 +13,16 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* @file atomic.h
* @brief kendryte k210 source code
* https://github.com/kendryte/kendryte-standalone-sdk.git
* @version 1.0
* @author AIIT XUOS Lab
* @date 2022-03-17
*/
#ifndef _BSP_ATOMIC_H
#define _BSP_ATOMIC_H

View File

@ -1,3 +1,12 @@
/**
* @file bsp.h
* @brief kendryte k210 source code
* https://github.com/kendryte/kendryte-standalone-sdk.git
* @version 1.0
* @author AIIT XUOS Lab
* @date 2022-03-17
*/
#ifndef _KENDRYTE_BSP_H
#define _KENDRYTE_BSP_H
#include "atomic.h"

View File

@ -12,6 +12,16 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* @file clint.c
* @brief kendryte k210 source code
* https://github.com/kendryte/kendryte-standalone-sdk.git
* @version 1.0
* @author AIIT XUOS Lab
* @date 2022-03-17
*/
#include <stddef.h>
#include <stdint.h>
#include "encoding.h"

View File

@ -37,6 +37,15 @@
* | 0x0200EFFC | Reserved |
*/
/**
* @file clint.h
* @brief kendryte k210 source code
* https://github.com/kendryte/kendryte-standalone-sdk.git
* @version 1.0
* @author AIIT XUOS Lab
* @date 2022-03-17
*/
#ifndef _DRIVER_CLINT_H
#define _DRIVER_CLINT_H

View File

@ -12,6 +12,16 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* @file damc.c
* @brief kendryte k210 source code
* https://github.com/kendryte/kendryte-standalone-sdk.git
* @version 1.0
* @author AIIT XUOS Lab
* @date 2022-03-17
*/
#include <stdint.h>
#include <stddef.h>
#include <stdio.h>

View File

@ -12,6 +12,16 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* @file damc.h
* @brief kendryte k210 source code
* https://github.com/kendryte/kendryte-standalone-sdk.git
* @version 1.0
* @author AIIT XUOS Lab
* @date 2022-03-17
*/
#ifndef _DRIVER_DMAC_H
#define _DRIVER_DMAC_H

View File

@ -12,6 +12,16 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* @file encoding.h
* @brief kendryte k210 source code
* https://github.com/kendryte/kendryte-standalone-sdk.git
* @version 1.0
* @author AIIT XUOS Lab
* @date 2022-03-17
*/
#ifndef RISCV_CSR_ENCODING_H
#define RISCV_CSR_ENCODING_H
#include <arch/csr.h>

View File

@ -12,6 +12,16 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* @file fft.c
* @brief kendryte k210 source code
* https://github.com/kendryte/kendryte-standalone-sdk.git
* @version 1.0
* @author AIIT XUOS Lab
* @date 2022-03-17
*/
#include <stddef.h>
#include <assert.h>
#include "dmac.h"

View File

@ -12,6 +12,16 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* @file fft.h
* @brief kendryte k210 source code
* https://github.com/kendryte/kendryte-standalone-sdk.git
* @version 1.0
* @author AIIT XUOS Lab
* @date 2022-03-17
*/
#ifndef _DRIVER_FFT_H
#define _DRIVER_FFT_H

View File

@ -12,6 +12,16 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* @file fpioa.c
* @brief kendryte k210 source code
* https://github.com/kendryte/kendryte-standalone-sdk.git
* @version 1.0
* @author AIIT XUOS Lab
* @date 2022-03-17
*/
#include <stddef.h>
#include <stdint.h>
#include "sysctl.h"

View File

@ -12,25 +12,15 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* @file
* @brief Field Programmable GPIO Array (FPIOA)
*
* The FPIOA peripheral supports the following features:
*
* - 48 IO with 256 functions
*
* - Schmitt trigger
*
* - Invert input and output
*
* - Pull up and pull down
*
* - Driving selector
*
* - Static input and output
*
*/
* @file fpioa.h
* @brief kendryte k210 source code
* https://github.com/kendryte/kendryte-standalone-sdk.git
* @version 1.0
* @author AIIT XUOS Lab
* @date 2022-03-17
*/
#ifndef _DRIVER_FPIOA_H
#define _DRIVER_FPIOA_H

View File

@ -12,6 +12,16 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* @file gpio.c
* @brief kendryte k210 source code
* https://github.com/kendryte/kendryte-standalone-sdk.git
* @version 1.0
* @author AIIT XUOS Lab
* @date 2022-03-17
*/
#include <assert.h>
#include "gpio.h"
#include "utils.h"

View File

@ -12,6 +12,16 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* @file gpio.h
* @brief kendryte k210 source code
* https://github.com/kendryte/kendryte-standalone-sdk.git
* @version 1.0
* @author AIIT XUOS Lab
* @date 2022-03-17
*/
#ifndef _DRIVER_GPIO_H
#define _DRIVER_GPIO_H

View File

@ -12,6 +12,16 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* @file gpio_common.h
* @brief kendryte k210 source code
* https://github.com/kendryte/kendryte-standalone-sdk.git
* @version 1.0
* @author AIIT XUOS Lab
* @date 2022-03-17
*/
#ifndef _GPIO_COMMON_H
#define _GPIO_COMMON_H

View File

@ -12,6 +12,16 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* @file gpiohs.c
* @brief kendryte k210 source code
* https://github.com/kendryte/kendryte-standalone-sdk.git
* @version 1.0
* @author AIIT XUOS Lab
* @date 2022-03-17
*/
#include <assert.h>
#include "fpioa.h"
#include "gpiohs.h"

View File

@ -12,6 +12,16 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* @file gpiohs.h
* @brief kendryte k210 source code
* https://github.com/kendryte/kendryte-standalone-sdk.git
* @version 1.0
* @author AIIT XUOS Lab
* @date 2022-03-17
*/
#ifndef _DRIVER_GPIOHS_H
#define _DRIVER_GPIOHS_H

View File

@ -12,6 +12,16 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* @file i2s.c
* @brief kendryte k210 source code
* https://github.com/kendryte/kendryte-standalone-sdk.git
* @version 1.0
* @author AIIT XUOS Lab
* @date 2022-03-17
*/
#include <stdint.h>
#include <stdio.h>
#include <math.h>

View File

@ -12,6 +12,16 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* @file i2s.h
* @brief kendryte k210 source code
* https://github.com/kendryte/kendryte-standalone-sdk.git
* @version 1.0
* @author AIIT XUOS Lab
* @date 2022-03-17
*/
#ifndef _DRIVER_I2S_H
#define _DRIVER_I2S_H

View File

@ -15,6 +15,15 @@
/* Enable kernel-mode log API */
/**
* @file interrupt.c
* @brief kendryte k210 source code
* https://github.com/kendryte/kendryte-standalone-sdk.git
* @version 1.0
* @author AIIT XUOS Lab
* @date 2022-03-17
*/
#include <stdint.h>
#include <stdlib.h>
#include "interrupt.h"

View File

@ -13,6 +13,15 @@
* limitations under the License.
*/
/**
* @file interrupt.h
* @brief kendryte k210 source code
* https://github.com/kendryte/kendryte-standalone-sdk.git
* @version 1.0
* @author AIIT XUOS Lab
* @date 2022-03-17
*/
#ifndef _BSP_INTERRUPT_H
#define _BSP_INTERRUPT_H

View File

@ -12,6 +12,16 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* @file io.h
* @brief kendryte k210 source code
* https://github.com/kendryte/kendryte-standalone-sdk.git
* @version 1.0
* @author AIIT XUOS Lab
* @date 2022-03-17
*/
#ifndef _DRIVER_IO_H
#define _DRIVER_IO_H

View File

@ -30,6 +30,15 @@
*
************************************************************************************/
/**
* @file k210_arch.c
* @brief kendryte k210 source code
* https://github.com/kendryte/kendryte-standalone-sdk.git
* @version 1.0
* @author AIIT XUOS Lab
* @date 2022-03-17
*/
#include <string.h>
#include <nuttx/arch.h>
#include "k210.h"

View File

@ -22,6 +22,15 @@
* Included Files
****************************************************************************/
/**
* @file k210_start.c
* @brief nuttx source code
* https://github.com/apache/incubator-nuttx.git
* @version 10.2.0
* @author AIIT XUOS Lab
* @date 2022-03-17
*/
#include <nuttx/config.h>
#include <nuttx/init.h>

View File

@ -13,6 +13,15 @@
* limitations under the License.
*/
/**
* @file platform.h
* @brief kendryte k210 source code
* https://github.com/kendryte/kendryte-standalone-sdk.git
* @version 1.0
* @author AIIT XUOS Lab
* @date 2022-03-17
*/
#ifndef _BSP_PLATFORM_H
#define _BSP_PLATFORM_H

View File

@ -12,6 +12,16 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* @file plic.c
* @brief kendryte k210 source code
* https://github.com/kendryte/kendryte-standalone-sdk.git
* @version 1.0
* @author AIIT XUOS Lab
* @date 2022-03-17
*/
#include <stddef.h>
#include <stdint.h>
#include "encoding.h"

View File

@ -54,6 +54,15 @@
*
*/
/**
* @file plic.h
* @brief kendryte k210 source code
* https://github.com/kendryte/kendryte-standalone-sdk.git
* @version 1.0
* @author AIIT XUOS Lab
* @date 2022-03-17
*/
#ifndef _DRIVER_PLIC_H
#define _DRIVER_PLIC_H

View File

@ -13,6 +13,15 @@
* limitations under the License.
*/
/**
* @file syscall.c
* @brief kendryte k210 source code
* https://github.com/kendryte/kendryte-standalone-sdk.git
* @version 1.0
* @author AIIT XUOS Lab
* @date 2022-03-17
*/
/* Enable kernel-mode log API */
#include <nuttx/config.h>

View File

@ -13,6 +13,15 @@
* limitations under the License.
*/
/**
* @file syscall.h
* @brief kendryte k210 source code
* https://github.com/kendryte/kendryte-standalone-sdk.git
* @version 1.0
* @author AIIT XUOS Lab
* @date 2022-03-17
*/
#ifndef _BSP_SYSCALLS_H
#define _BSP_SYSCALLS_H

View File

@ -12,6 +12,16 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* @file sysctl.c
* @brief kendryte k210 source code
* https://github.com/kendryte/kendryte-standalone-sdk.git
* @version 1.0
* @author AIIT XUOS Lab
* @date 2022-03-17
*/
//#include <stdint.h>
#include <stdlib.h>
//#include <math.h>

View File

@ -12,6 +12,16 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* @file sysctl.h
* @brief kendryte k210 source code
* https://github.com/kendryte/kendryte-standalone-sdk.git
* @version 1.0
* @author AIIT XUOS Lab
* @date 2022-03-17
*/
#ifndef _DRIVER_SYSCTL_H
#define _DRIVER_SYSCTL_H

View File

@ -13,6 +13,15 @@
* limitations under the License.
*/
/**
* @file uarths.c
* @brief kendryte k210 source code
* https://github.com/kendryte/kendryte-standalone-sdk.git
* @version 1.0
* @author AIIT XUOS Lab
* @date 2022-03-17
*/
#include <stdint.h>
#include <stdio.h>
#include "uarths.h"

View File

@ -45,6 +45,15 @@
*
*/
/**
* @file uarths.h
* @brief kendryte k210 source code
* https://github.com/kendryte/kendryte-standalone-sdk.git
* @version 1.0
* @author AIIT XUOS Lab
* @date 2022-03-17
*/
#ifndef _DRIVER_UARTHS_H
#define _DRIVER_UARTHS_H

View File

@ -12,6 +12,16 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* @file utils.c
* @brief kendryte k210 source code
* https://github.com/kendryte/kendryte-standalone-sdk.git
* @version 1.0
* @author AIIT XUOS Lab
* @date 2022-03-17
*/
#include <stddef.h>
#include "encoding.h"
#include "utils.h"

View File

@ -12,6 +12,16 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* @file utils.h
* @brief kendryte k210 source code
* https://github.com/kendryte/kendryte-standalone-sdk.git
* @version 1.0
* @author AIIT XUOS Lab
* @date 2022-03-17
*/
#ifndef _DRIVER_UTILS_H
#define _DRIVER_UTILS_H
#include "uarths.h"

Some files were not shown because too many files have changed in this diff Show More