From 20cddd54fd500b29cc3272c667d0b304eaa72db3 Mon Sep 17 00:00:00 2001 From: rtel Date: Sat, 24 Nov 2018 20:59:07 +0000 Subject: [PATCH] First task running in RISC-V-Qemu-sifive_e-FreedomStudio demo. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2596 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- .../main.c | 2 +- .../.cproject | 18 +- .../.settings/language.settings.xml | 2 +- .../FreeRTOSConfig.h | 5 +- .../full_demo/RegTest.S | 255 +++++++++++++ .../RISC-V-Qemu-sifive_e-FreedomStudio/main.c | 346 ++++++------------ FreeRTOS/Source/include/task.h | 6 +- .../Source/portable/GCC/RISC-V-RV32/port.c | 18 +- .../Source/portable/GCC/RISC-V-RV32/portASM.S | 7 +- .../portable/GCC/RISC-V-RV32/portmacro.h | 2 +- FreeRTOS/Source/tasks.c | 42 +-- 11 files changed, 424 insertions(+), 279 deletions(-) create mode 100644 FreeRTOS/Demo/RISC-V-Qemu-sifive_e-FreedomStudio/full_demo/RegTest.S diff --git a/FreeRTOS/Demo/CORTEX_MPU_CEC_MEC_17xx_51xx_Keil_GCC/main.c b/FreeRTOS/Demo/CORTEX_MPU_CEC_MEC_17xx_51xx_Keil_GCC/main.c index b9697b373..8f929c4cc 100644 --- a/FreeRTOS/Demo/CORTEX_MPU_CEC_MEC_17xx_51xx_Keil_GCC/main.c +++ b/FreeRTOS/Demo/CORTEX_MPU_CEC_MEC_17xx_51xx_Keil_GCC/main.c @@ -1021,7 +1021,7 @@ void vApplicationMallocFailedHook( void ) } /*-----------------------------------------------------------*/ -static void prvTimerCallback( TaskHandle_t xExpiredTimer ) +static void prvTimerCallback( TimerHandle_t xExpiredTimer ) { uint32_t ulCount; diff --git a/FreeRTOS/Demo/RISC-V-Qemu-sifive_e-FreedomStudio/.cproject b/FreeRTOS/Demo/RISC-V-Qemu-sifive_e-FreedomStudio/.cproject index a9424634c..aee56475b 100644 --- a/FreeRTOS/Demo/RISC-V-Qemu-sifive_e-FreedomStudio/.cproject +++ b/FreeRTOS/Demo/RISC-V-Qemu-sifive_e-FreedomStudio/.cproject @@ -20,7 +20,7 @@