From 36cce1998e858c1f3980ffca737f831180209431 Mon Sep 17 00:00:00 2001 From: Michal Sojka Date: Thu, 27 Aug 2015 15:00:26 +0200 Subject: [PATCH] Fix FreeRTOS for all target In commit eebbf4597df1f1a8274af90e5b9bcaa97d14f0ad, I forgot to modify other targets than rm48_hdk. This adds the missing (and needed) modification to other targets. --- rpp/src/sys/_tms570_hdk/sys_startup.c | 4 ++-- rpp/src/sys/_tms570_hydctr/sys_startup.c | 4 ++-- rpp/src/sys/_tms570_rpp/sys_startup.c | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/rpp/src/sys/_tms570_hdk/sys_startup.c b/rpp/src/sys/_tms570_hdk/sys_startup.c index 0b0124c..838eac8 100644 --- a/rpp/src/sys/_tms570_hdk/sys_startup.c +++ b/rpp/src/sys/_tms570_hdk/sys_startup.c @@ -108,7 +108,7 @@ static const t_isrFuncPTR s_vim_init[] = &phantomInterrupt, &phantomInterrupt, &phantomInterrupt, // 20 - &phantomInterrupt, + &vPortYeildWithinAPI, // Software interrupt &phantomInterrupt, &phantomInterrupt, &phantomInterrupt, @@ -736,7 +736,7 @@ void _c_int00() | (0U << 18U) | (0U << 19U) | (0U << 20U) - | (0U << 21U) + | (1U << 21U) | (0U << 22U) | (0U << 23U) | (0U << 24U) diff --git a/rpp/src/sys/_tms570_hydctr/sys_startup.c b/rpp/src/sys/_tms570_hydctr/sys_startup.c index 0b0124c..838eac8 100644 --- a/rpp/src/sys/_tms570_hydctr/sys_startup.c +++ b/rpp/src/sys/_tms570_hydctr/sys_startup.c @@ -108,7 +108,7 @@ static const t_isrFuncPTR s_vim_init[] = &phantomInterrupt, &phantomInterrupt, &phantomInterrupt, // 20 - &phantomInterrupt, + &vPortYeildWithinAPI, // Software interrupt &phantomInterrupt, &phantomInterrupt, &phantomInterrupt, @@ -736,7 +736,7 @@ void _c_int00() | (0U << 18U) | (0U << 19U) | (0U << 20U) - | (0U << 21U) + | (1U << 21U) | (0U << 22U) | (0U << 23U) | (0U << 24U) diff --git a/rpp/src/sys/_tms570_rpp/sys_startup.c b/rpp/src/sys/_tms570_rpp/sys_startup.c index 887fc68..0d3de31 100644 --- a/rpp/src/sys/_tms570_rpp/sys_startup.c +++ b/rpp/src/sys/_tms570_rpp/sys_startup.c @@ -108,7 +108,7 @@ static const t_isrFuncPTR s_vim_init[] = &phantomInterrupt, &phantomInterrupt, &phantomInterrupt, // 20 - &phantomInterrupt, + &vPortYeildWithinAPI, // Software interrupt &phantomInterrupt, &phantomInterrupt, &phantomInterrupt, @@ -736,7 +736,7 @@ void _c_int00() | (0U << 18U) | (0U << 19U) | (0U << 20U) - | (0U << 21U) + | (1U << 21U) | (0U << 22U) | (0U << 23U) | (0U << 24U) -- 2.39.2