From 9899eb7efcaea06939f55bbe46e57d180181d7bd Mon Sep 17 00:00:00 2001 From: rtel Date: Mon, 31 Dec 2018 18:19:52 +0000 Subject: [PATCH] Move the 'generic' version of freertos_risc_v_chip_specific_extensions.h back to a sub-directory as having it in the RISC-V port's base directory was causing SoftConsole to pick up the wrong version (for an unknown reason). Add a project for the Vega board's RI5CY core. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2621 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- .../.cproject | 2 +- .../.project | 11 + .../common/pin_mux.c | 61 + .../common/pin_mux.h | 59 + .../common/rv32m1_ri5cy.cfg | 150 + .../rv32m1_sdk_riscv/RISCV/core_riscv32.h | 123 + .../common/rv32m1_sdk_riscv/board/board.c | 29 + .../common/rv32m1_sdk_riscv/board/board.h | 183 + .../rv32m1_sdk_riscv/board/clock_config.c | 436 + .../rv32m1_sdk_riscv/board/clock_config.h | 159 + .../common/rv32m1_sdk_riscv/board/readme.txt | 48 + .../devices/RV32M1/RV32M1_ri5cy.h | 24026 ++++++++++++ .../devices/RV32M1/RV32M1_ri5cy_features.h | 1561 + .../devices/RV32M1/RV32M1_zero_riscy.h | 32675 ++++++++++++++++ .../RV32M1/RV32M1_zero_riscy_features.h | 1582 + .../devices/RV32M1/drivers/fsl_clock.c | 794 + .../devices/RV32M1/drivers/fsl_clock.h | 1582 + .../devices/RV32M1/drivers/fsl_common.c | 117 + .../devices/RV32M1/drivers/fsl_common.h | 485 + .../devices/RV32M1/drivers/fsl_gpio.c | 196 + .../devices/RV32M1/drivers/fsl_gpio.h | 427 + .../devices/RV32M1/drivers/fsl_lpuart.c | 1459 + .../devices/RV32M1/drivers/fsl_lpuart.h | 842 + .../devices/RV32M1/drivers/fsl_msmc.c | 290 + .../devices/RV32M1/drivers/fsl_msmc.h | 701 + .../devices/RV32M1/drivers/fsl_port.h | 464 + .../devices/RV32M1/fsl_device_registers.h | 62 + .../devices/RV32M1/gcc/startup_RV32M1_ri5cy.S | 228 + .../RV32M1/gcc/startup_RV32M1_zero_riscy.S | 225 + .../devices/RV32M1/system_RV32M1_ri5cy.c | 556 + .../devices/RV32M1/system_RV32M1_ri5cy.h | 182 + .../devices/RV32M1/system_RV32M1_zero_riscy.c | 535 + .../devices/RV32M1/system_RV32M1_zero_riscy.h | 174 + .../RV32M1/utilities/fsl_debug_console.c | 386 + .../RV32M1/utilities/fsl_debug_console.h | 162 + .../RV32M1/utilities/fsl_debug_console_conf.h | 128 + .../devices/RV32M1/utilities/fsl_io.c | 655 + .../devices/RV32M1/utilities/fsl_io.h | 95 + .../devices/RV32M1/utilities/fsl_log.c | 547 + .../devices/RV32M1/utilities/fsl_log.h | 103 + .../devices/RV32M1/utilities/fsl_str.c | 1300 + .../devices/RV32M1/utilities/fsl_str.h | 59 + .../projects/RTOSDemo_ri5cy/.cproject | 216 + .../projects/RTOSDemo_ri5cy/.project | 434 + .../.settings/language.settings.xml | 14 + .../org.eclipse.cdt.managedbuilder.core.prefs | 11 + .../projects/RTOSDemo_ri5cy/FreeRTOSConfig.h | 148 + .../RTOSDemo_ri5cy/RTOSDemo_ri5cy.launch | 61 + .../RTOSDemo_ri5cy/RV32M1_ri5cy_flash.ld | 181 + .../RTOSDemo_ri5cy/blinky_demo/main_blinky.c | 206 + .../RTOSDemo_ri5cy/full_demo/RegTest.S | 341 + .../RTOSDemo_ri5cy/full_demo/main_full.c | 440 + .../projects/RTOSDemo_ri5cy/main.c | 229 + .../.cproject | 2 +- .../.project | 6 +- FreeRTOS/Source/include/task.h | 4 + ...freertos_risc_v_chip_specific_extensions.h | 19 +- ...freertos_risc_v_chip_specific_extensions.h | 20 +- .../chip_specific_extensions/readme.txt | 19 +- .../portable/GCC/RISC-V-RV32/readme.txt | 19 +- FreeRTOS/Source/tasks.c | 7 + 61 files changed, 76183 insertions(+), 53 deletions(-) create mode 100644 FreeRTOS/Demo/RISC-V_RV32M1_Vega_GCC_Eclipse/common/pin_mux.c create mode 100644 FreeRTOS/Demo/RISC-V_RV32M1_Vega_GCC_Eclipse/common/pin_mux.h create mode 100644 FreeRTOS/Demo/RISC-V_RV32M1_Vega_GCC_Eclipse/common/rv32m1_ri5cy.cfg create mode 100644 FreeRTOS/Demo/RISC-V_RV32M1_Vega_GCC_Eclipse/common/rv32m1_sdk_riscv/RISCV/core_riscv32.h create mode 100644 FreeRTOS/Demo/RISC-V_RV32M1_Vega_GCC_Eclipse/common/rv32m1_sdk_riscv/board/board.c create mode 100644 FreeRTOS/Demo/RISC-V_RV32M1_Vega_GCC_Eclipse/common/rv32m1_sdk_riscv/board/board.h create mode 100644 FreeRTOS/Demo/RISC-V_RV32M1_Vega_GCC_Eclipse/common/rv32m1_sdk_riscv/board/clock_config.c create mode 100644 FreeRTOS/Demo/RISC-V_RV32M1_Vega_GCC_Eclipse/common/rv32m1_sdk_riscv/board/clock_config.h create mode 100644 FreeRTOS/Demo/RISC-V_RV32M1_Vega_GCC_Eclipse/common/rv32m1_sdk_riscv/board/readme.txt create mode 100644 FreeRTOS/Demo/RISC-V_RV32M1_Vega_GCC_Eclipse/common/rv32m1_sdk_riscv/devices/RV32M1/RV32M1_ri5cy.h create mode 100644 FreeRTOS/Demo/RISC-V_RV32M1_Vega_GCC_Eclipse/common/rv32m1_sdk_riscv/devices/RV32M1/RV32M1_ri5cy_features.h create mode 100644 FreeRTOS/Demo/RISC-V_RV32M1_Vega_GCC_Eclipse/common/rv32m1_sdk_riscv/devices/RV32M1/RV32M1_zero_riscy.h create mode 100644 FreeRTOS/Demo/RISC-V_RV32M1_Vega_GCC_Eclipse/common/rv32m1_sdk_riscv/devices/RV32M1/RV32M1_zero_riscy_features.h create mode 100644 FreeRTOS/Demo/RISC-V_RV32M1_Vega_GCC_Eclipse/common/rv32m1_sdk_riscv/devices/RV32M1/drivers/fsl_clock.c create mode 100644 FreeRTOS/Demo/RISC-V_RV32M1_Vega_GCC_Eclipse/common/rv32m1_sdk_riscv/devices/RV32M1/drivers/fsl_clock.h create mode 100644 FreeRTOS/Demo/RISC-V_RV32M1_Vega_GCC_Eclipse/common/rv32m1_sdk_riscv/devices/RV32M1/drivers/fsl_common.c create mode 100644 FreeRTOS/Demo/RISC-V_RV32M1_Vega_GCC_Eclipse/common/rv32m1_sdk_riscv/devices/RV32M1/drivers/fsl_common.h create mode 100644 FreeRTOS/Demo/RISC-V_RV32M1_Vega_GCC_Eclipse/common/rv32m1_sdk_riscv/devices/RV32M1/drivers/fsl_gpio.c create mode 100644 FreeRTOS/Demo/RISC-V_RV32M1_Vega_GCC_Eclipse/common/rv32m1_sdk_riscv/devices/RV32M1/drivers/fsl_gpio.h create mode 100644 FreeRTOS/Demo/RISC-V_RV32M1_Vega_GCC_Eclipse/common/rv32m1_sdk_riscv/devices/RV32M1/drivers/fsl_lpuart.c create mode 100644 FreeRTOS/Demo/RISC-V_RV32M1_Vega_GCC_Eclipse/common/rv32m1_sdk_riscv/devices/RV32M1/drivers/fsl_lpuart.h create mode 100644 FreeRTOS/Demo/RISC-V_RV32M1_Vega_GCC_Eclipse/common/rv32m1_sdk_riscv/devices/RV32M1/drivers/fsl_msmc.c create mode 100644 FreeRTOS/Demo/RISC-V_RV32M1_Vega_GCC_Eclipse/common/rv32m1_sdk_riscv/devices/RV32M1/drivers/fsl_msmc.h create mode 100644 FreeRTOS/Demo/RISC-V_RV32M1_Vega_GCC_Eclipse/common/rv32m1_sdk_riscv/devices/RV32M1/drivers/fsl_port.h create mode 100644 FreeRTOS/Demo/RISC-V_RV32M1_Vega_GCC_Eclipse/common/rv32m1_sdk_riscv/devices/RV32M1/fsl_device_registers.h create mode 100644 FreeRTOS/Demo/RISC-V_RV32M1_Vega_GCC_Eclipse/common/rv32m1_sdk_riscv/devices/RV32M1/gcc/startup_RV32M1_ri5cy.S create mode 100644 FreeRTOS/Demo/RISC-V_RV32M1_Vega_GCC_Eclipse/common/rv32m1_sdk_riscv/devices/RV32M1/gcc/startup_RV32M1_zero_riscy.S create mode 100644 FreeRTOS/Demo/RISC-V_RV32M1_Vega_GCC_Eclipse/common/rv32m1_sdk_riscv/devices/RV32M1/system_RV32M1_ri5cy.c create mode 100644 FreeRTOS/Demo/RISC-V_RV32M1_Vega_GCC_Eclipse/common/rv32m1_sdk_riscv/devices/RV32M1/system_RV32M1_ri5cy.h create mode 100644 FreeRTOS/Demo/RISC-V_RV32M1_Vega_GCC_Eclipse/common/rv32m1_sdk_riscv/devices/RV32M1/system_RV32M1_zero_riscy.c create mode 100644 FreeRTOS/Demo/RISC-V_RV32M1_Vega_GCC_Eclipse/common/rv32m1_sdk_riscv/devices/RV32M1/system_RV32M1_zero_riscy.h create mode 100644 FreeRTOS/Demo/RISC-V_RV32M1_Vega_GCC_Eclipse/common/rv32m1_sdk_riscv/devices/RV32M1/utilities/fsl_debug_console.c create mode 100644 FreeRTOS/Demo/RISC-V_RV32M1_Vega_GCC_Eclipse/common/rv32m1_sdk_riscv/devices/RV32M1/utilities/fsl_debug_console.h create mode 100644 FreeRTOS/Demo/RISC-V_RV32M1_Vega_GCC_Eclipse/common/rv32m1_sdk_riscv/devices/RV32M1/utilities/fsl_debug_console_conf.h create mode 100644 FreeRTOS/Demo/RISC-V_RV32M1_Vega_GCC_Eclipse/common/rv32m1_sdk_riscv/devices/RV32M1/utilities/fsl_io.c create mode 100644 FreeRTOS/Demo/RISC-V_RV32M1_Vega_GCC_Eclipse/common/rv32m1_sdk_riscv/devices/RV32M1/utilities/fsl_io.h create mode 100644 FreeRTOS/Demo/RISC-V_RV32M1_Vega_GCC_Eclipse/common/rv32m1_sdk_riscv/devices/RV32M1/utilities/fsl_log.c create mode 100644 FreeRTOS/Demo/RISC-V_RV32M1_Vega_GCC_Eclipse/common/rv32m1_sdk_riscv/devices/RV32M1/utilities/fsl_log.h create mode 100644 FreeRTOS/Demo/RISC-V_RV32M1_Vega_GCC_Eclipse/common/rv32m1_sdk_riscv/devices/RV32M1/utilities/fsl_str.c create mode 100644 FreeRTOS/Demo/RISC-V_RV32M1_Vega_GCC_Eclipse/common/rv32m1_sdk_riscv/devices/RV32M1/utilities/fsl_str.h create mode 100644 FreeRTOS/Demo/RISC-V_RV32M1_Vega_GCC_Eclipse/projects/RTOSDemo_ri5cy/.cproject create mode 100644 FreeRTOS/Demo/RISC-V_RV32M1_Vega_GCC_Eclipse/projects/RTOSDemo_ri5cy/.project create mode 100644 FreeRTOS/Demo/RISC-V_RV32M1_Vega_GCC_Eclipse/projects/RTOSDemo_ri5cy/.settings/language.settings.xml create mode 100644 FreeRTOS/Demo/RISC-V_RV32M1_Vega_GCC_Eclipse/projects/RTOSDemo_ri5cy/.settings/org.eclipse.cdt.managedbuilder.core.prefs create mode 100644 FreeRTOS/Demo/RISC-V_RV32M1_Vega_GCC_Eclipse/projects/RTOSDemo_ri5cy/FreeRTOSConfig.h create mode 100644 FreeRTOS/Demo/RISC-V_RV32M1_Vega_GCC_Eclipse/projects/RTOSDemo_ri5cy/RTOSDemo_ri5cy.launch create mode 100644 FreeRTOS/Demo/RISC-V_RV32M1_Vega_GCC_Eclipse/projects/RTOSDemo_ri5cy/RV32M1_ri5cy_flash.ld create mode 100644 FreeRTOS/Demo/RISC-V_RV32M1_Vega_GCC_Eclipse/projects/RTOSDemo_ri5cy/blinky_demo/main_blinky.c create mode 100644 FreeRTOS/Demo/RISC-V_RV32M1_Vega_GCC_Eclipse/projects/RTOSDemo_ri5cy/full_demo/RegTest.S create mode 100644 FreeRTOS/Demo/RISC-V_RV32M1_Vega_GCC_Eclipse/projects/RTOSDemo_ri5cy/full_demo/main_full.c create mode 100644 FreeRTOS/Demo/RISC-V_RV32M1_Vega_GCC_Eclipse/projects/RTOSDemo_ri5cy/main.c rename FreeRTOS/Source/portable/GCC/RISC-V-RV32/{ => chip_specific_extensions/RV32I_CLINT_no_extensions}/freertos_risc_v_chip_specific_extensions.h (76%) diff --git a/FreeRTOS/Demo/RISC-V-Qemu-sifive_e-FreedomStudio/.cproject b/FreeRTOS/Demo/RISC-V-Qemu-sifive_e-FreedomStudio/.cproject index 38177fd60..a9dce4513 100644 --- a/FreeRTOS/Demo/RISC-V-Qemu-sifive_e-FreedomStudio/.cproject +++ b/FreeRTOS/Demo/RISC-V-Qemu-sifive_e-FreedomStudio/.cproject @@ -50,7 +50,7 @@