zbus: remove POSIX arch iterable sections restriction

Zbus iterable sections config in Kconfig unnecessarily excluded POSIX
architectures. Remove the constraints and adjust the sample YAML file to
enable that.

Signed-off-by: Rodrigo Peixoto <rodrigopex@gmail.com>
This commit is contained in:
Rodrigo Peixoto 2023-05-23 08:29:17 -03:00 committed by Carles Cufí
parent 5b99d1103d
commit caf68d9485
2 changed files with 1 additions and 3 deletions

View file

@ -27,7 +27,6 @@ tests:
- "I: Pub a valid value to a channel with validator successfully."
- "I: Pub an invalid value to a channel with validator successfully."
arch_exclude:
- posix
- xtensa
platform_exclude: qemu_leon3
tags: zbus
@ -45,6 +44,5 @@ tests:
- "I: Pub a valid value to a channel with validator successfully."
- "I: Pub an invalid value to a channel with validator successfully."
arch_allow:
- posix
- xtensa
tags: zbus

View file

@ -10,7 +10,7 @@ if ZBUS
config ZBUS_STRUCTS_ITERABLE_ACCESS
bool "Zbus iterable sections support."
depends on !XTENSA && !ARCH_POSIX
depends on !XTENSA
default y
config ZBUS_CHANNEL_NAME