diff options
Diffstat (limited to 'test/testdyn.c')
-rw-r--r-- | test/testdyn.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/testdyn.c b/test/testdyn.c index 4bd4ed06c..69a1c3312 100644 --- a/test/testdyn.c +++ b/test/testdyn.c @@ -117,7 +117,7 @@ static void dyn1_execute(void) { test_assert(4, n == sz, "heap size changed");
}
-const struct testcase testdyn1 = {
+ROMCONST struct testcase testdyn1 = {
"Dynamic APIs, threads creation from heap",
dyn1_setup,
NULL,
@@ -173,7 +173,7 @@ static void dyn2_execute(void) { test_assert(4, chPoolAlloc(&mp1) == NULL, "pool list not empty");
}
-const struct testcase testdyn2 = {
+ROMCONST struct testcase testdyn2 = {
"Dynamic APIs, threads creation from memory pool",
dyn2_setup,
NULL,
@@ -240,7 +240,7 @@ static void dyn3_execute(void) { test_assert(7, n1 == n3, "unexpected threads count");
}
-const struct testcase testdyn3 = {
+ROMCONST struct testcase testdyn3 = {
"Dynamic APIs, registry and references",
dyn3_setup,
NULL,
@@ -252,7 +252,7 @@ const struct testcase testdyn3 = { /**
* @brief Test sequence for dynamic APIs.
*/
-const struct testcase * const patterndyn[] = {
+ROMCONST struct testcase * ROMCONST patterndyn[] = {
#if CH_USE_DYNAMIC
#if CH_USE_HEAP
&testdyn1,
|