Skip to content

Commit

Permalink
sample: set STATIC_INIT_GNU for the sidewalk sample
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
tejlmand committed Sep 24, 2024
1 parent 34856b2 commit 3bda35b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions samples/sid_end_device/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
#
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
#
CONFIG_STATIC_INIT_GNU=y

# Sidewalk
CONFIG_SIDEWALK=y
Expand Down

0 comments on commit 3bda35b

Please sign in to comment.