From 0f8336c9e7bace750c7b35d0cb54fa7103051b40 Mon Sep 17 00:00:00 2001 From: Wang_Weigen Date: Fri, 18 Feb 2022 16:22:45 +0800 Subject: [PATCH] add file note for vega board --- .../arch/risc-v/rv32m1_vega/RV32M1_ri5cy.h | 10 ++++++++++ .../rv32m1_vega/RV32M1_ri5cy_features.h | 10 ++++++++++ .../risc-v/rv32m1_vega/RV32M1_zero_riscy.h | 11 ++++++++++- .../rv32m1_vega/RV32M1_zero_riscy_features.h | 11 +++++++++++ .../arch/risc-v/rv32m1_vega/core_riscv32.h | 18 ++++++++++++++++++ .../risc-v/rv32m1_vega/fsl_device_registers.h | 19 +++++++++++++++++++ .../XiUOS/arch/risc-v/rv32m1_vega/interrupt.c | 2 +- .../arch/risc-v/rv32m1_vega/interrupt_gcc.S | 16 +++++++--------- .../risc-v/rv32m1_vega/startup_RV32M1_ri5cy.S | 12 ++++++++++++ .../rv32m1_vega/startup_RV32M1_zero_riscy.S | 11 +++++++++++ .../risc-v/rv32m1_vega/system_RV32M1_ri5cy.c | 11 +++++++++++ .../risc-v/rv32m1_vega/system_RV32M1_ri5cy.h | 11 ++++++++++- .../rv32m1_vega/system_RV32M1_zero_riscy.c | 11 +++++++++++ .../rv32m1_vega/system_RV32M1_zero_riscy.h | 11 +++++++++++ Ubiquitous/XiUOS/board/rv32m1_vega/board.c | 4 ++-- Ubiquitous/XiUOS/board/rv32m1_vega/board.h | 4 ++-- Ubiquitous/XiUOS/board/rv32m1_vega/fsl_host.c | 11 +++++++++++ .../third_party_driver/fsl_clock.c | 11 +++++++++++ .../third_party_driver/fsl_common.c | 11 ++++++++++- .../third_party_driver/fsl_intmux.c | 11 ++++++++++- .../third_party_driver/gpio/pin_mux.c | 11 +++++++++++ .../third_party_driver/include/clock_config.h | 11 ++++++++++- .../third_party_driver/include/connect_uart.h | 6 +++--- .../third_party_driver/include/fsl_clock.h | 10 ++++++++++ .../third_party_driver/include/fsl_common.h | 11 ++++++++++- .../third_party_driver/include/fsl_intmux.h | 11 ++++++++++- .../third_party_driver/include/fsl_lpuart.h | 11 +++++++++++ .../third_party_driver/include/fsl_msmc.h | 11 +++++++++++ .../third_party_driver/include/fsl_port.h | 12 ++++++++++++ .../third_party_driver/include/pin_mux.h | 11 +++++++++++ .../sys_clock/clock_config.c | 11 +++++++++++ .../third_party_driver/uart/connect_uart.c | 6 +++--- .../third_party_driver/uart/fsl_lpuart.c | 10 ++++++++++ 33 files changed, 321 insertions(+), 27 deletions(-) diff --git a/Ubiquitous/XiUOS/arch/risc-v/rv32m1_vega/RV32M1_ri5cy.h b/Ubiquitous/XiUOS/arch/risc-v/rv32m1_vega/RV32M1_ri5cy.h index 0264b6f36..4de97d691 100644 --- a/Ubiquitous/XiUOS/arch/risc-v/rv32m1_vega/RV32M1_ri5cy.h +++ b/Ubiquitous/XiUOS/arch/risc-v/rv32m1_vega/RV32M1_ri5cy.h @@ -40,6 +40,16 @@ * CMSIS Peripheral Access Layer for RV32M1_ri5cy */ +/************************************************* +File name: RV32M1_ri5cy.h +Description: CMSIS Peripheral Access Layer for RV32M1_ri5cy +Others: take for references + https://github.com/open-isa-org/open-isa.org +History: +1. Date: 2022-02-16 +Author: AIIT XUOS Lab +Modification: +*************************************************/ #ifndef _RV32M1_RI5CY_H_ #define _RV32M1_RI5CY_H_ /**< Symbol preventing repeated inclusion */ diff --git a/Ubiquitous/XiUOS/arch/risc-v/rv32m1_vega/RV32M1_ri5cy_features.h b/Ubiquitous/XiUOS/arch/risc-v/rv32m1_vega/RV32M1_ri5cy_features.h index 6e68f8a85..649013755 100644 --- a/Ubiquitous/XiUOS/arch/risc-v/rv32m1_vega/RV32M1_ri5cy_features.h +++ b/Ubiquitous/XiUOS/arch/risc-v/rv32m1_vega/RV32M1_ri5cy_features.h @@ -21,6 +21,16 @@ ** ################################################################### */ +/************************************************* +File name: RV32M1_ri5cy_features.h +Description: support ri5cy +Others: take for references + https://github.com/open-isa-org/open-isa.org +History: +1. Date: 2022-02-16 +Author: AIIT XUOS Lab +Modification: +*************************************************/ #ifndef _RV32M1_ri5cy_FEATURES_H_ #define _RV32M1_ri5cy_FEATURES_H_ diff --git a/Ubiquitous/XiUOS/arch/risc-v/rv32m1_vega/RV32M1_zero_riscy.h b/Ubiquitous/XiUOS/arch/risc-v/rv32m1_vega/RV32M1_zero_riscy.h index 55b369ad5..f676666aa 100644 --- a/Ubiquitous/XiUOS/arch/risc-v/rv32m1_vega/RV32M1_zero_riscy.h +++ b/Ubiquitous/XiUOS/arch/risc-v/rv32m1_vega/RV32M1_zero_riscy.h @@ -39,7 +39,16 @@ * * CMSIS Peripheral Access Layer for RV32M1_zero_riscy */ - +/************************************************* +File name: RV32M1_zero_riscy.h +Description: +Others: take for references + https://github.com/open-isa-org/open-isa.org +History: +1. Date: 2022-02-16 +Author: AIIT XUOS Lab +Modification: +*************************************************/ #ifndef _RV32M1_CM0PLUS_H_ #define _RV32M1_CM0PLUS_H_ /**< Symbol preventing repeated inclusion */ diff --git a/Ubiquitous/XiUOS/arch/risc-v/rv32m1_vega/RV32M1_zero_riscy_features.h b/Ubiquitous/XiUOS/arch/risc-v/rv32m1_vega/RV32M1_zero_riscy_features.h index e66424ca3..a486206f9 100644 --- a/Ubiquitous/XiUOS/arch/risc-v/rv32m1_vega/RV32M1_zero_riscy_features.h +++ b/Ubiquitous/XiUOS/arch/risc-v/rv32m1_vega/RV32M1_zero_riscy_features.h @@ -21,6 +21,17 @@ ** ################################################################### */ +/************************************************* +File name: RV32M1_zero_riscy_features.h +Description: +Others: take for references + https://github.com/open-isa-org/open-isa.org +History: +1. Date: 2022-02-16 +Author: AIIT XUOS Lab +Modification: +*************************************************/ + #ifndef _RV32M1_zero_riscy_FEATURES_H_ #define _RV32M1_zero_riscy_FEATURES_H_ diff --git a/Ubiquitous/XiUOS/arch/risc-v/rv32m1_vega/core_riscv32.h b/Ubiquitous/XiUOS/arch/risc-v/rv32m1_vega/core_riscv32.h index fa0e9eeb2..166db995e 100644 --- a/Ubiquitous/XiUOS/arch/risc-v/rv32m1_vega/core_riscv32.h +++ b/Ubiquitous/XiUOS/arch/risc-v/rv32m1_vega/core_riscv32.h @@ -30,6 +30,24 @@ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ---------------------------------------------------------------------------*/ +/** +* @file core_riscv32.h +* @brief support interrupt +* @version 1.0 +* @author AIIT XUOS Lab +* @date 2022-02-16 +*/ + +/************************************************* +File name: core_riscv32.h +Description: support gap8 interrupt and startup +Others: take for references + https://github.com/open-isa-org/open-isa.org +History: +1. Date: 2022-02-16 +Author: AIIT XUOS Lab +Modification: +*************************************************/ #ifndef __CORE_RISCV32_H__ #define __CORE_RISCV32_H__ diff --git a/Ubiquitous/XiUOS/arch/risc-v/rv32m1_vega/fsl_device_registers.h b/Ubiquitous/XiUOS/arch/risc-v/rv32m1_vega/fsl_device_registers.h index 9accc43fb..192103e20 100644 --- a/Ubiquitous/XiUOS/arch/risc-v/rv32m1_vega/fsl_device_registers.h +++ b/Ubiquitous/XiUOS/arch/risc-v/rv32m1_vega/fsl_device_registers.h @@ -7,6 +7,25 @@ * */ +/** +* @file fsl_device_registers.h +* @brief support fsl device +* @version 1.0 +* @author AIIT XUOS Lab +* @date 2022-02-16 +*/ + +/************************************************* +File name: fsl_device_registers.h +Description: support fsl device +Others: take for references + https://github.com/open-isa-org/open-isa.org +History: +1. Date: 2022-02-16 +Author: AIIT XUOS Lab +Modification: +*************************************************/ + #ifndef __FSL_DEVICE_REGISTERS_H__ #define __FSL_DEVICE_REGISTERS_H__ diff --git a/Ubiquitous/XiUOS/arch/risc-v/rv32m1_vega/interrupt.c b/Ubiquitous/XiUOS/arch/risc-v/rv32m1_vega/interrupt.c index 735c51be4..3c6d4105f 100755 --- a/Ubiquitous/XiUOS/arch/risc-v/rv32m1_vega/interrupt.c +++ b/Ubiquitous/XiUOS/arch/risc-v/rv32m1_vega/interrupt.c @@ -1,6 +1,6 @@ /** * @file interrupt.c -* @brief support gap8 interrupt enable and disable +* @brief support interrupt * @version 1.0 * @author AIIT XUOS Lab * @date 2021-09-02 diff --git a/Ubiquitous/XiUOS/arch/risc-v/rv32m1_vega/interrupt_gcc.S b/Ubiquitous/XiUOS/arch/risc-v/rv32m1_vega/interrupt_gcc.S index 6e8d2f081..6d98e853a 100644 --- a/Ubiquitous/XiUOS/arch/risc-v/rv32m1_vega/interrupt_gcc.S +++ b/Ubiquitous/XiUOS/arch/risc-v/rv32m1_vega/interrupt_gcc.S @@ -1,12 +1,10 @@ -/* - * Copyright (c) 2006-2018, RT-Thread Development Team - * - * SPDX-License-Identifier: Apache-2.0 - * - * Change Logs: - * Date Author Notes - * 2018/10/02 Bernard The first version - */ +/** +* @file interrupt_gcc.S +* @brief support vega interrupt +* @version 1.0 +* @author AIIT XUOS Lab +* @date 2022-02-16 +*/ #include "boot.h" diff --git a/Ubiquitous/XiUOS/arch/risc-v/rv32m1_vega/startup_RV32M1_ri5cy.S b/Ubiquitous/XiUOS/arch/risc-v/rv32m1_vega/startup_RV32M1_ri5cy.S index d1e81e712..80fb0fcdf 100644 --- a/Ubiquitous/XiUOS/arch/risc-v/rv32m1_vega/startup_RV32M1_ri5cy.S +++ b/Ubiquitous/XiUOS/arch/risc-v/rv32m1_vega/startup_RV32M1_ri5cy.S @@ -23,6 +23,18 @@ // this 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. + +/************************************************* +File name: startup_RV32M1_ri5cy.s +Description: +Others: take for references + https://github.com/open-isa-org/open-isa.org +History: +1. Date: 2022-02-16 +Author: AIIT XUOS Lab +Modification: +*************************************************/ + .extern Rv32m1VgeaStart #define EXCEPTION_STACK_SIZE 0x58 diff --git a/Ubiquitous/XiUOS/arch/risc-v/rv32m1_vega/startup_RV32M1_zero_riscy.S b/Ubiquitous/XiUOS/arch/risc-v/rv32m1_vega/startup_RV32M1_zero_riscy.S index 45bad812a..cb180e747 100644 --- a/Ubiquitous/XiUOS/arch/risc-v/rv32m1_vega/startup_RV32M1_zero_riscy.S +++ b/Ubiquitous/XiUOS/arch/risc-v/rv32m1_vega/startup_RV32M1_zero_riscy.S @@ -23,6 +23,17 @@ // CONDITIONS OF ANY KIND, either express or implied. See the License for the // specific language governing permissions and limitations under the License. +/************************************************* +File name: startup_RV32M1_zero_ri5cy.s +Description: +Others: take for references + https://github.com/open-isa-org/open-isa.org +History: +1. Date: 2022-02-16 +Author: AIIT XUOS Lab +Modification: +*************************************************/ + #define EXCEPTION_STACK_SIZE 0x58 .text diff --git a/Ubiquitous/XiUOS/arch/risc-v/rv32m1_vega/system_RV32M1_ri5cy.c b/Ubiquitous/XiUOS/arch/risc-v/rv32m1_vega/system_RV32M1_ri5cy.c index 87838a8ad..44ace2ebb 100644 --- a/Ubiquitous/XiUOS/arch/risc-v/rv32m1_vega/system_RV32M1_ri5cy.c +++ b/Ubiquitous/XiUOS/arch/risc-v/rv32m1_vega/system_RV32M1_ri5cy.c @@ -45,6 +45,17 @@ * (PLL) that is part of the microcontroller device. */ +/************************************************* +File name: RV32M1_ri5cy +Description: +Others: take for references + https://github.com/open-isa-org/open-isa.org +History: +1. Date: 2022-02-16 +Author: AIIT XUOS Lab +Modification: +*************************************************/ + #include #include "fsl_device_registers.h" #include "fsl_common.h" diff --git a/Ubiquitous/XiUOS/arch/risc-v/rv32m1_vega/system_RV32M1_ri5cy.h b/Ubiquitous/XiUOS/arch/risc-v/rv32m1_vega/system_RV32M1_ri5cy.h index c46b2e747..11d84cdf1 100644 --- a/Ubiquitous/XiUOS/arch/risc-v/rv32m1_vega/system_RV32M1_ri5cy.h +++ b/Ubiquitous/XiUOS/arch/risc-v/rv32m1_vega/system_RV32M1_ri5cy.h @@ -43,7 +43,16 @@ * the system frequency. It configures the device and initializes the oscillator * (PLL) that is part of the microcontroller device. */ - +/************************************************* +File name: RV32M1_ri5cy +Description: +Others: take for references + https://github.com/open-isa-org/open-isa.org +History: +1. Date: 2022-02-16 +Author: AIIT XUOS Lab +Modification: +*************************************************/ #ifndef _SYSTEM_RV32M1_ri5cy_H_ #define _SYSTEM_RV32M1_ri5cy_H_ /**< Symbol preventing repeated inclusion */ diff --git a/Ubiquitous/XiUOS/arch/risc-v/rv32m1_vega/system_RV32M1_zero_riscy.c b/Ubiquitous/XiUOS/arch/risc-v/rv32m1_vega/system_RV32M1_zero_riscy.c index 03700975f..c5b088c8c 100644 --- a/Ubiquitous/XiUOS/arch/risc-v/rv32m1_vega/system_RV32M1_zero_riscy.c +++ b/Ubiquitous/XiUOS/arch/risc-v/rv32m1_vega/system_RV32M1_zero_riscy.c @@ -45,6 +45,17 @@ * (PLL) that is part of the microcontroller device. */ +/************************************************* +File name: RV32M1_zero_riscy +Description: +Others: take for references + https://github.com/open-isa-org/open-isa.org +History: +1. Date: 2022-02-16 +Author: AIIT XUOS Lab +Modification: +*************************************************/ + #include #include "fsl_device_registers.h" #include "fsl_common.h" diff --git a/Ubiquitous/XiUOS/arch/risc-v/rv32m1_vega/system_RV32M1_zero_riscy.h b/Ubiquitous/XiUOS/arch/risc-v/rv32m1_vega/system_RV32M1_zero_riscy.h index 733ac5365..de90ac8de 100644 --- a/Ubiquitous/XiUOS/arch/risc-v/rv32m1_vega/system_RV32M1_zero_riscy.h +++ b/Ubiquitous/XiUOS/arch/risc-v/rv32m1_vega/system_RV32M1_zero_riscy.h @@ -45,6 +45,17 @@ * (PLL) that is part of the microcontroller device. */ +/************************************************* +File name: RV32M1_zero_riscy +Description: +Others: take for references + https://github.com/open-isa-org/open-isa.org +History: +1. Date: 2022-02-16 +Author: AIIT XUOS Lab +Modification: +*************************************************/ + #ifndef _SYSTEM_RV32M1_zero_riscy_H_ #define _SYSTEM_RV32M1_zero_riscy_H_ /**< Symbol preventing repeated inclusion */ diff --git a/Ubiquitous/XiUOS/board/rv32m1_vega/board.c b/Ubiquitous/XiUOS/board/rv32m1_vega/board.c index 819e5559e..28b85a14c 100644 --- a/Ubiquitous/XiUOS/board/rv32m1_vega/board.c +++ b/Ubiquitous/XiUOS/board/rv32m1_vega/board.c @@ -1,10 +1,10 @@ /** * @file board.c -* @brief support rvstar init configure and start-up +* @brief support vega init configure and start-up * @version 1.0 * @author AIIT XUOS Lab -* @date 2021-09-02 +* @date 2022-02-16 */ #include diff --git a/Ubiquitous/XiUOS/board/rv32m1_vega/board.h b/Ubiquitous/XiUOS/board/rv32m1_vega/board.h index 2bfea120a..65a332bb8 100644 --- a/Ubiquitous/XiUOS/board/rv32m1_vega/board.h +++ b/Ubiquitous/XiUOS/board/rv32m1_vega/board.h @@ -20,10 +20,10 @@ /************************************************* File name: board.h -Description: define rvstar-board init configure and start-up function +Description: define vega-board init configure and start-up function Others: History: -1. Date: 2021-09-02 +1. Date: 2022-02-16 Author: AIIT XUOS Lab Modification: 1. define rvstar-board InitBoardHardware diff --git a/Ubiquitous/XiUOS/board/rv32m1_vega/fsl_host.c b/Ubiquitous/XiUOS/board/rv32m1_vega/fsl_host.c index 8d64cf2ab..da84bfa7c 100644 --- a/Ubiquitous/XiUOS/board/rv32m1_vega/fsl_host.c +++ b/Ubiquitous/XiUOS/board/rv32m1_vega/fsl_host.c @@ -6,6 +6,17 @@ * SPDX-License-Identifier: BSD-3-Clause */ +/************************************************* +File name: fsl_host +Description: +Others: take for references + https://github.com/open-isa-org/open-isa.org +History: +1. Date: 2022-02-16 +Author: AIIT XUOS Lab +Modification: +*************************************************/ + #include "fsl_host.h" #include "board.h" #include "fsl_gpio.h" diff --git a/Ubiquitous/XiUOS/board/rv32m1_vega/third_party_driver/fsl_clock.c b/Ubiquitous/XiUOS/board/rv32m1_vega/third_party_driver/fsl_clock.c index 8cd4fcfd5..4371fcacc 100644 --- a/Ubiquitous/XiUOS/board/rv32m1_vega/third_party_driver/fsl_clock.c +++ b/Ubiquitous/XiUOS/board/rv32m1_vega/third_party_driver/fsl_clock.c @@ -7,6 +7,17 @@ * SPDX-License-Identifier: BSD-3-Clause */ +/************************************************* +File name: fsl_clock +Description: +Others: take for references + https://github.com/open-isa-org/open-isa.org +History: +1. Date: 2022-02-16 +Author: AIIT XUOS Lab +Modification: +*************************************************/ + #include "fsl_clock.h" /******************************************************************************* diff --git a/Ubiquitous/XiUOS/board/rv32m1_vega/third_party_driver/fsl_common.c b/Ubiquitous/XiUOS/board/rv32m1_vega/third_party_driver/fsl_common.c index e9d90752d..d31d30323 100644 --- a/Ubiquitous/XiUOS/board/rv32m1_vega/third_party_driver/fsl_common.c +++ b/Ubiquitous/XiUOS/board/rv32m1_vega/third_party_driver/fsl_common.c @@ -6,7 +6,16 @@ * * SPDX-License-Identifier: BSD-3-Clause */ - +/************************************************* +File name: fsl_common +Description: +Others: take for references + https://github.com/open-isa-org/open-isa.org +History: +1. Date: 2022-02-16 +Author: AIIT XUOS Lab +Modification: +*************************************************/ #include "fsl_common.h" // #include "fsl_debug_console.h" diff --git a/Ubiquitous/XiUOS/board/rv32m1_vega/third_party_driver/fsl_intmux.c b/Ubiquitous/XiUOS/board/rv32m1_vega/third_party_driver/fsl_intmux.c index 315dc5e71..5813822b4 100644 --- a/Ubiquitous/XiUOS/board/rv32m1_vega/third_party_driver/fsl_intmux.c +++ b/Ubiquitous/XiUOS/board/rv32m1_vega/third_party_driver/fsl_intmux.c @@ -5,7 +5,16 @@ * * SPDX-License-Identifier: BSD-3-Clause */ - +/************************************************* +File name: fsl_intmux +Description: +Others: take for references + https://github.com/open-isa-org/open-isa.org +History: +1. Date: 2022-02-16 +Author: AIIT XUOS Lab +Modification: +*************************************************/ #include "fsl_intmux.h" /******************************************************************************* diff --git a/Ubiquitous/XiUOS/board/rv32m1_vega/third_party_driver/gpio/pin_mux.c b/Ubiquitous/XiUOS/board/rv32m1_vega/third_party_driver/gpio/pin_mux.c index 33a926d8b..acf4d10f0 100644 --- a/Ubiquitous/XiUOS/board/rv32m1_vega/third_party_driver/gpio/pin_mux.c +++ b/Ubiquitous/XiUOS/board/rv32m1_vega/third_party_driver/gpio/pin_mux.c @@ -16,6 +16,17 @@ processor_version: 0.0.0 * BE CAREFUL MODIFYING THIS COMMENT - IT IS YAML SETTINGS FOR TOOLS *********** */ +/************************************************* +File name: pin_mux +Description: +Others: take for references + https://github.com/open-isa-org/open-isa.org +History: +1. Date: 2022-02-16 +Author: AIIT XUOS Lab +Modification: +*************************************************/ + #include "fsl_common.h" #include "fsl_port.h" #include "pin_mux.h" diff --git a/Ubiquitous/XiUOS/board/rv32m1_vega/third_party_driver/include/clock_config.h b/Ubiquitous/XiUOS/board/rv32m1_vega/third_party_driver/include/clock_config.h index 75fd7d6c4..278bd7cf4 100644 --- a/Ubiquitous/XiUOS/board/rv32m1_vega/third_party_driver/include/clock_config.h +++ b/Ubiquitous/XiUOS/board/rv32m1_vega/third_party_driver/include/clock_config.h @@ -4,7 +4,16 @@ * * SPDX-License-Identifier: BSD-3-Clause */ - +/************************************************* +File name: clock_config +Description: +Others: take for references + https://github.com/open-isa-org/open-isa.org +History: +1. Date: 2022-02-16 +Author: AIIT XUOS Lab +Modification: +*************************************************/ #ifndef _CLOCK_CONFIG_H_ #define _CLOCK_CONFIG_H_ diff --git a/Ubiquitous/XiUOS/board/rv32m1_vega/third_party_driver/include/connect_uart.h b/Ubiquitous/XiUOS/board/rv32m1_vega/third_party_driver/include/connect_uart.h index fe141d160..ea2aaf6dc 100755 --- a/Ubiquitous/XiUOS/board/rv32m1_vega/third_party_driver/include/connect_uart.h +++ b/Ubiquitous/XiUOS/board/rv32m1_vega/third_party_driver/include/connect_uart.h @@ -12,10 +12,10 @@ /** * @file connect_uart.h -* @brief define rvstar uart function -* @version 1.1 +* @brief define vega uart function +* @version 1.0 * @author AIIT XUOS Lab -* @date 2021-12-03 +* @date 2022-02-16 */ #ifndef CONNECT_UART_H diff --git a/Ubiquitous/XiUOS/board/rv32m1_vega/third_party_driver/include/fsl_clock.h b/Ubiquitous/XiUOS/board/rv32m1_vega/third_party_driver/include/fsl_clock.h index 8fa75c380..67ec060bd 100644 --- a/Ubiquitous/XiUOS/board/rv32m1_vega/third_party_driver/include/fsl_clock.h +++ b/Ubiquitous/XiUOS/board/rv32m1_vega/third_party_driver/include/fsl_clock.h @@ -6,6 +6,16 @@ * * SPDX-License-Identifier: BSD-3-Clause */ +/************************************************* +File name: fsl_clock +Description: +Others: take for references + https://github.com/open-isa-org/open-isa.org +History: +1. Date: 2022-02-16 +Author: AIIT XUOS Lab +Modification: +*************************************************/ #ifndef _FSL_CLOCK_H_ #define _FSL_CLOCK_H_ diff --git a/Ubiquitous/XiUOS/board/rv32m1_vega/third_party_driver/include/fsl_common.h b/Ubiquitous/XiUOS/board/rv32m1_vega/third_party_driver/include/fsl_common.h index 3aea4993c..ec4300c00 100644 --- a/Ubiquitous/XiUOS/board/rv32m1_vega/third_party_driver/include/fsl_common.h +++ b/Ubiquitous/XiUOS/board/rv32m1_vega/third_party_driver/include/fsl_common.h @@ -5,7 +5,16 @@ * * SPDX-License-Identifier: BSD-3-Clause */ - +/************************************************* +File name: fsl_common +Description: +Others: take for references + https://github.com/open-isa-org/open-isa.org +History: +1. Date: 2022-02-16 +Author: AIIT XUOS Lab +Modification: +*************************************************/ #ifndef _FSL_COMMON_H_ #define _FSL_COMMON_H_ diff --git a/Ubiquitous/XiUOS/board/rv32m1_vega/third_party_driver/include/fsl_intmux.h b/Ubiquitous/XiUOS/board/rv32m1_vega/third_party_driver/include/fsl_intmux.h index 59a6f17cf..78469dfd0 100644 --- a/Ubiquitous/XiUOS/board/rv32m1_vega/third_party_driver/include/fsl_intmux.h +++ b/Ubiquitous/XiUOS/board/rv32m1_vega/third_party_driver/include/fsl_intmux.h @@ -5,7 +5,16 @@ * * SPDX-License-Identifier: BSD-3-Clause */ - +/************************************************* +File name: fsl_intmux +Description: +Others: take for references + https://github.com/open-isa-org/open-isa.org +History: +1. Date: 2022-02-16 +Author: AIIT XUOS Lab +Modification: +*************************************************/ #ifndef _FSL_INTMUX_H_ #define _FSL_INTMUX_H_ diff --git a/Ubiquitous/XiUOS/board/rv32m1_vega/third_party_driver/include/fsl_lpuart.h b/Ubiquitous/XiUOS/board/rv32m1_vega/third_party_driver/include/fsl_lpuart.h index 6e448723d..866bfed8e 100644 --- a/Ubiquitous/XiUOS/board/rv32m1_vega/third_party_driver/include/fsl_lpuart.h +++ b/Ubiquitous/XiUOS/board/rv32m1_vega/third_party_driver/include/fsl_lpuart.h @@ -5,6 +5,17 @@ * * SPDX-License-Identifier: BSD-3-Clause */ + +/************************************************* +File name: fsl_lpuart +Description: +Others: take for references + https://github.com/open-isa-org/open-isa.org +History: +1. Date: 2022-02-16 +Author: AIIT XUOS Lab +Modification: +*************************************************/ #ifndef _FSL_LPUART_H_ #define _FSL_LPUART_H_ diff --git a/Ubiquitous/XiUOS/board/rv32m1_vega/third_party_driver/include/fsl_msmc.h b/Ubiquitous/XiUOS/board/rv32m1_vega/third_party_driver/include/fsl_msmc.h index 8b0907be5..2f6e5f8f1 100644 --- a/Ubiquitous/XiUOS/board/rv32m1_vega/third_party_driver/include/fsl_msmc.h +++ b/Ubiquitous/XiUOS/board/rv32m1_vega/third_party_driver/include/fsl_msmc.h @@ -5,6 +5,17 @@ * * SPDX-License-Identifier: BSD-3-Clause */ + +/************************************************* +File name: fsl_msmc +Description: +Others: take for references + https://github.com/open-isa-org/open-isa.org +History: +1. Date: 2022-02-16 +Author: AIIT XUOS Lab +Modification: +*************************************************/ #ifndef _FSL_MSMC_H_ #define _FSL_MSMC_H_ diff --git a/Ubiquitous/XiUOS/board/rv32m1_vega/third_party_driver/include/fsl_port.h b/Ubiquitous/XiUOS/board/rv32m1_vega/third_party_driver/include/fsl_port.h index e0e808ca5..f070b9373 100644 --- a/Ubiquitous/XiUOS/board/rv32m1_vega/third_party_driver/include/fsl_port.h +++ b/Ubiquitous/XiUOS/board/rv32m1_vega/third_party_driver/include/fsl_port.h @@ -5,6 +5,18 @@ * * SPDX-License-Identifier: BSD-3-Clause */ + +/************************************************* +File name: fsl_port +Description: +Others: take for references + https://github.com/open-isa-org/open-isa.org +History: +1. Date: 2022-02-16 +Author: AIIT XUOS Lab +Modification: +*************************************************/ + #ifndef _FSL_PORT_H_ #define _FSL_PORT_H_ diff --git a/Ubiquitous/XiUOS/board/rv32m1_vega/third_party_driver/include/pin_mux.h b/Ubiquitous/XiUOS/board/rv32m1_vega/third_party_driver/include/pin_mux.h index eb4b69e17..3de547b0e 100644 --- a/Ubiquitous/XiUOS/board/rv32m1_vega/third_party_driver/include/pin_mux.h +++ b/Ubiquitous/XiUOS/board/rv32m1_vega/third_party_driver/include/pin_mux.h @@ -5,6 +5,17 @@ * SPDX-License-Identifier: BSD-3-Clause */ +/************************************************* +File name: pin_mux +Description: +Others: take for references + https://github.com/open-isa-org/open-isa.org +History: +1. Date: 2022-02-16 +Author: AIIT XUOS Lab +Modification: +*************************************************/ + #ifndef _PIN_MUX_H_ #define _PIN_MUX_H_ diff --git a/Ubiquitous/XiUOS/board/rv32m1_vega/third_party_driver/sys_clock/clock_config.c b/Ubiquitous/XiUOS/board/rv32m1_vega/third_party_driver/sys_clock/clock_config.c index 09fcc5b85..5329cf6c7 100644 --- a/Ubiquitous/XiUOS/board/rv32m1_vega/third_party_driver/sys_clock/clock_config.c +++ b/Ubiquitous/XiUOS/board/rv32m1_vega/third_party_driver/sys_clock/clock_config.c @@ -33,6 +33,17 @@ processor_version: 0.0.0 board: RV32M1_VEGA * BE CAREFUL MODIFYING THIS COMMENT - IT IS YAML SETTINGS FOR TOOLS **********/ +/************************************************* +File name: clock_config +Description: +Others: take for references + https://github.com/open-isa-org/open-isa.org +History: +1. Date: 2022-02-16 +Author: AIIT XUOS Lab +Modification: +*************************************************/ + #include "fsl_msmc.h" #include "clock_config.h" diff --git a/Ubiquitous/XiUOS/board/rv32m1_vega/third_party_driver/uart/connect_uart.c b/Ubiquitous/XiUOS/board/rv32m1_vega/third_party_driver/uart/connect_uart.c index e4b47161b..85f0ee471 100755 --- a/Ubiquitous/XiUOS/board/rv32m1_vega/third_party_driver/uart/connect_uart.c +++ b/Ubiquitous/XiUOS/board/rv32m1_vega/third_party_driver/uart/connect_uart.c @@ -12,10 +12,10 @@ /** * @file connect_usart.c -* @brief supportrvstar-board uart function and register to bus framework -* @version 1.1 +* @brief support vega-board uart function and register to bus framework +* @version 1.0 * @author AIIT XUOS Lab -* @date 2021-12-03 +* @date 2022-02-16 */ #include diff --git a/Ubiquitous/XiUOS/board/rv32m1_vega/third_party_driver/uart/fsl_lpuart.c b/Ubiquitous/XiUOS/board/rv32m1_vega/third_party_driver/uart/fsl_lpuart.c index c65a934ef..5f65bf3e3 100644 --- a/Ubiquitous/XiUOS/board/rv32m1_vega/third_party_driver/uart/fsl_lpuart.c +++ b/Ubiquitous/XiUOS/board/rv32m1_vega/third_party_driver/uart/fsl_lpuart.c @@ -6,6 +6,16 @@ * SPDX-License-Identifier: BSD-3-Clause */ +/************************************************* +File name: fsl_lpuart +Description: +Others: take for references + https://github.com/open-isa-org/open-isa.org +History: +1. Date: 2022-02-16 +Author: AIIT XUOS Lab +Modification: +*************************************************/ #include "fsl_lpuart.h" /*******************************************************************************