zephyr/tests/kernel/semaphore/semaphore
Daniel Leung 1e16feacda tests: semaphore: fix empty loop error for XCC
When building with XCC, k_therad_access_grant() expands to
a loop but does nothing if no building for userspace. XCC
does not like this and emits error:

  main.s: Assembler messages:
  main.s:4563: Error: invalid empty loop

So add #ifdef to only enable the loop if userspace is enabled.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2022-01-25 21:16:32 -05:00
..
src tests: semaphore: fix empty loop error for XCC 2022-01-25 21:16:32 -05:00
CMakeLists.txt cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
prj.conf tests: smp: cancel CONFIG_MP_NUM_CPUS limit of some testcases 2021-04-27 13:30:24 -04:00
testcase.yaml