From 3bda35ba358fb3dd44db604d530baf4e50d7bfa2 Mon Sep 17 00:00:00 2001 From: Torsten Rasmussen Date: Tue, 24 Sep 2024 10:53:18 +0200 Subject: [PATCH] sample: set STATIC_INIT_GNU for the sidewalk sample The sidewalk sample linking places stack_protector from the C library in the init_array sections. For proper initialization in Zephyr then content in this init_array section requires STATIC_INIT_GNU to be configured. Signed-off-by: Torsten Rasmussen --- samples/sid_end_device/prj.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/samples/sid_end_device/prj.conf b/samples/sid_end_device/prj.conf index a6e0257c29..6222fc1bde 100644 --- a/samples/sid_end_device/prj.conf +++ b/samples/sid_end_device/prj.conf @@ -3,6 +3,7 @@ # # SPDX-License-Identifier: LicenseRef-Nordic-5-Clause # +CONFIG_STATIC_INIT_GNU=y # Sidewalk CONFIG_SIDEWALK=y