]> rtime.felk.cvut.cz Git - pes-rpp/rpp-lib.git/commitdiff
Fix FreeRTOS for all target eaton-0.5.5a
authorMichal Sojka <sojkam1@fel.cvut.cz>
Thu, 27 Aug 2015 13:00:26 +0000 (15:00 +0200)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Thu, 27 Aug 2015 13:00:26 +0000 (15:00 +0200)
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
rpp/src/sys/_tms570_hydctr/sys_startup.c
rpp/src/sys/_tms570_rpp/sys_startup.c

index 0b0124cd669cbdcb927087904c6e93caad12edbd..838eac81205804f2578d9b6e65d20c65d904e7b5 100644 (file)
@@ -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)
index 0b0124cd669cbdcb927087904c6e93caad12edbd..838eac81205804f2578d9b6e65d20c65d904e7b5 100644 (file)
@@ -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)
index 887fc688acaaa2b84ac75e24cb8fc33d91de5860..0d3de319ef18f18698d638f0529f9edf6ec2ffc9 100644 (file)
@@ -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)