From caf68d9485cf5affdbf058537375f5060bd51992 Mon Sep 17 00:00:00 2001 From: Rodrigo Peixoto Date: Tue, 23 May 2023 08:29:17 -0300 Subject: [PATCH] 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 --- samples/subsys/zbus/hello_world/sample.yaml | 2 -- subsys/zbus/Kconfig | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/samples/subsys/zbus/hello_world/sample.yaml b/samples/subsys/zbus/hello_world/sample.yaml index 791865b3b1..89dd9a408d 100644 --- a/samples/subsys/zbus/hello_world/sample.yaml +++ b/samples/subsys/zbus/hello_world/sample.yaml @@ -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 diff --git a/subsys/zbus/Kconfig b/subsys/zbus/Kconfig index 186b33f32d..338b21361f 100644 --- a/subsys/zbus/Kconfig +++ b/subsys/zbus/Kconfig @@ -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