Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bluetooth: mesh: fix iterable section issues #57883

Merged
merged 2 commits into from
May 15, 2023

Conversation

gmarull
Copy link
Member

@gmarull gmarull commented May 15, 2023

STRUCT_SECTION_ITERABLE cannot be used with arrays, because of preprocessor tokenization issues. Introduced STRUCT_SECTION_ITERABLE_ARRAY to fix the problem.

Add a new utility macro to define an array of structs that should be
part of an iterable section.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
STRUCT_SECTION_ITERABLE cannot be used with arrays, because of
preprocessor tokenization issues.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
@gmarull gmarull added bug The issue is a bug, or the PR is fixing a bug Hotfix Fix for issues blocking development, i.e. CI issues, tests failing in CI, etc. labels May 15, 2023
@gmarull gmarull requested a review from stephanosio May 15, 2023 08:53
@stephanosio stephanosio merged commit a8b36ff into zephyrproject-rtos:main May 15, 2023
LingaoM added a commit to LingaoM/zephyr that referenced this pull request Sep 8, 2023
Obviously, it looks obscure by putting it in a sector,
so, let's move to vector.

refs: zephyrproject-rtos#57883

Signed-off-by: Lingao Meng <menglingao@xiaomi.com>
LingaoM added a commit to LingaoM/zephyr that referenced this pull request Sep 8, 2023
Obviously, it looks obscure by putting it in a sector,
so, let's move to vector.

refs: zephyrproject-rtos#57883

Signed-off-by: Lingao Meng <menglingao@xiaomi.com>
LingaoM added a commit to LingaoM/zephyr that referenced this pull request Sep 30, 2023
Obviously, it looks obscure by putting it in a sector,
so, let's move to vector.

refs: zephyrproject-rtos#57883

Signed-off-by: Lingao Meng <menglingao@xiaomi.com>
LingaoM added a commit to LingaoM/zephyr that referenced this pull request Sep 30, 2023
Obviously, it looks obscure by putting it in a sector,
so, let's move to vector.

refs: zephyrproject-rtos#57883

Signed-off-by: Lingao Meng <menglingao@xiaomi.com>
LingaoM added a commit to LingaoM/zephyr that referenced this pull request Sep 30, 2023
Obviously, it looks obscure by putting it in a sector,
so, let's move to vector.

refs: zephyrproject-rtos#57883

Signed-off-by: Lingao Meng <menglingao@xiaomi.com>
LingaoM added a commit to LingaoM/zephyr that referenced this pull request Sep 30, 2023
Obviously, it looks obscure by putting it in a sector,
so, let's move to vector.

refs: zephyrproject-rtos#57883

Signed-off-by: Lingao Meng <menglingao@xiaomi.com>
LingaoM added a commit to LingaoM/zephyr that referenced this pull request Sep 30, 2023
Obviously, it looks obscure by putting it in a sector,
so, let's move to vector.

refs: zephyrproject-rtos#57883

Signed-off-by: Lingao Meng <menglingao@xiaomi.com>
LingaoM added a commit to LingaoM/zephyr that referenced this pull request Sep 30, 2023
Obviously, it looks obscure by putting it in a sector,
so, let's move to vector.

refs: zephyrproject-rtos#57883

Signed-off-by: Lingao Meng <menglingao@xiaomi.com>
LingaoM added a commit to LingaoM/zephyr that referenced this pull request Sep 30, 2023
Obviously, it looks obscure by putting it in a sector,
so, let's move to vector.

refs: zephyrproject-rtos#57883

Signed-off-by: Lingao Meng <menglingao@xiaomi.com>
LingaoM added a commit to LingaoM/zephyr that referenced this pull request Oct 6, 2023
Obviously, it looks obscure by putting it in a sector,
so, let's move to vector.

refs: zephyrproject-rtos#57883

Signed-off-by: Lingao Meng <menglingao@xiaomi.com>
LingaoM added a commit to LingaoM/zephyr that referenced this pull request Oct 6, 2023
Obviously, it looks obscure by putting it in a sector,
so, let's move to vector.

refs: zephyrproject-rtos#57883

Signed-off-by: Lingao Meng <menglingao@xiaomi.com>
LingaoM added a commit to LingaoM/zephyr that referenced this pull request Oct 6, 2023
Obviously, it looks obscure by putting it in a sector,
so, let's move to vector.

refs: zephyrproject-rtos#57883

Signed-off-by: Lingao Meng <menglingao@xiaomi.com>
carlescufi pushed a commit that referenced this pull request Oct 20, 2023
Obviously, it looks obscure by putting it in a sector,
so, let's move to vector.

refs: #57883

Signed-off-by: Lingao Meng <menglingao@xiaomi.com>
coreboot-org-bot pushed a commit to coreboot/zephyr-cros that referenced this pull request Oct 23, 2023
Obviously, it looks obscure by putting it in a sector,
so, let's move to vector.

(cherry picked from commit c2b2641)

Original-refs: zephyrproject-rtos/zephyr#57883
Original-Signed-off-by: Lingao Meng <menglingao@xiaomi.com>
GitOrigin-RevId: c2b2641
Change-Id: Ifb9018ae85775646155f3678b2f3677cb12e8e6e
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/4962193
Reviewed-by: Al Semjonovs <asemjonovs@google.com>
Tested-by: Al Semjonovs <asemjonovs@google.com>
Commit-Queue: Fabio Baltieri <fabiobaltieri@google.com>
Tested-by: Fabio Baltieri <fabiobaltieri@google.com>
Reviewed-by: Fabio Baltieri <fabiobaltieri@google.com>
coreboot-org-bot pushed a commit to coreboot/zephyr-cros that referenced this pull request Oct 24, 2023
Obviously, it looks obscure by putting it in a sector,
so, let's move to vector.

(cherry picked from commit c2b2641)

Original-refs: zephyrproject-rtos/zephyr#57883
Original-Signed-off-by: Lingao Meng <menglingao@xiaomi.com>
GitOrigin-RevId: c2b2641
Change-Id: I4287d9003edefd2d1fd25afb435f08bac69104fb
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/4971752
Reviewed-by: Al Semjonovs <asemjonovs@google.com>
Commit-Queue: Al Semjonovs <asemjonovs@google.com>
Tested-by: ChromeOS Prod (Robot) <chromeos-ci-prod@chromeos-bot.iam.gserviceaccount.com>
Tested-by: Al Semjonovs <asemjonovs@google.com>
alxelax pushed a commit to alxelax/sdk-zephyr that referenced this pull request Nov 9, 2023
Obviously, it looks obscure by putting it in a sector,
so, let's move to vector.

refs: zephyrproject-rtos/zephyr#57883

Upstream PR: zephyrproject-rtos/zephyr#62331
Signed-off-by: Lingao Meng <menglingao@xiaomi.com>
(cherry picked from commit c2b2641)
nordicjm pushed a commit to nrfconnect/sdk-zephyr that referenced this pull request Nov 13, 2023
Obviously, it looks obscure by putting it in a sector,
so, let's move to vector.

refs: zephyrproject-rtos/zephyr#57883

Upstream PR: zephyrproject-rtos/zephyr#62331
Signed-off-by: Lingao Meng <menglingao@xiaomi.com>
(cherry picked from commit c2b2641)
@gmarull gmarull deleted the mesh-iterable branch June 5, 2024 08:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Bluetooth Mesh area: Bluetooth bug The issue is a bug, or the PR is fixing a bug Hotfix Fix for issues blocking development, i.e. CI issues, tests failing in CI, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants