From de8bc78a5e1ac721b8a9aedfd52c9191bd8c0dd2 Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Sat, 21 May 2016 09:16:15 -0400 Subject: [PATCH] arc: support microkernel on ARC Microkernel on ARC works fine, was missing some declarations in the linker file. Also enable testing of microkernel with ARC and disable tests where ARC is not supported yet. Jira: ZEP-396 Change-Id: I2ac7b8dc0bea22f5d2e24832d9e3afad8df9f580 Signed-off-by: Anas Nashif --- arch/arc/soc/quark_se_ss/soc.c | 4 ---- samples/kernel_event_logger/microkernel/testcase.ini | 1 + scripts/sanity_chk/arches/arc.ini | 2 -- tests/crypto/test_sha256/testcase.ini | 1 + 4 files changed, 2 insertions(+), 6 deletions(-) diff --git a/arch/arc/soc/quark_se_ss/soc.c b/arch/arc/soc/quark_se_ss/soc.c index 85d02b0f4b..beda1a9ef6 100644 --- a/arch/arc/soc/quark_se_ss/soc.c +++ b/arch/arc/soc/quark_se_ss/soc.c @@ -26,10 +26,6 @@ #include #include -/* Cannot use microkernel, since only nanokernel is supported */ -#if defined(CONFIG_MICROKERNEL) -#error "Microkernel support is not available" -#endif /** * diff --git a/samples/kernel_event_logger/microkernel/testcase.ini b/samples/kernel_event_logger/microkernel/testcase.ini index 8ee37ed2f8..5bc6f84651 100644 --- a/samples/kernel_event_logger/microkernel/testcase.ini +++ b/samples/kernel_event_logger/microkernel/testcase.ini @@ -1,4 +1,5 @@ [test] build_only = true tags = apps +arch_exclude = arc diff --git a/scripts/sanity_chk/arches/arc.ini b/scripts/sanity_chk/arches/arc.ini index 16c548bbd1..a2c443dce6 100644 --- a/scripts/sanity_chk/arches/arc.ini +++ b/scripts/sanity_chk/arches/arc.ini @@ -4,8 +4,6 @@ platforms = arduino_101_sss quark_se_sss_devboard [arduino_101_sss] qemu_support = false -microkernel_support = false [quark_se_sss_devboard] qemu_support = false -microkernel_support = false diff --git a/tests/crypto/test_sha256/testcase.ini b/tests/crypto/test_sha256/testcase.ini index d2aa3cf7fd..95f0709588 100644 --- a/tests/crypto/test_sha256/testcase.ini +++ b/tests/crypto/test_sha256/testcase.ini @@ -3,5 +3,6 @@ tags = crypto sha256 build_only = false timeout = 10800 slow = True +arch_exclude = arc # exclude STM32F103RB SoC, not enough RAM to run this test filter = not CONFIG_SOC_STM32F103RB