The k_poll implementation places a struct _poller on the stack and shares it with other threads, which is incompatible with the KERNEL_COHERENCE model of cached stacks. Make this a hard build failure instead of a kconfig dependency for clarity. The failures if a user actually enables both are subtle and difficult to debug. Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
14 lines
404 B
YAML
14 lines
404 B
YAML
tests:
|
|
kernel.common:
|
|
tags: kernel userspace
|
|
build_on_all: true
|
|
min_flash: 33
|
|
filter: not CONFIG_KERNEL_COHERENCE
|
|
kernel.common.misra:
|
|
tags: kernel userspace
|
|
min_flash: 33
|
|
# Some configurations are known-incompliant and won't build
|
|
filter: not ((CONFIG_I2C or CONFIG_SPI) and CONFIG_USERSPACE or CONFIG_KERNEL_COHERENCE)
|
|
extra_configs:
|
|
- CONFIG_MISRA_SANE=y
|