From: Michal Sojka Date: Thu, 27 Aug 2015 13:00:26 +0000 (+0200) Subject: Fix FreeRTOS for all target X-Git-Tag: eaton-0.5.5a^0 X-Git-Url: http://rtime.felk.cvut.cz/gitweb/pes-rpp/rpp-lib.git/commitdiff_plain/36cce1998e858c1f3980ffca737f831180209431 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. --- 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)