Skip to content

Commit 705703a

Browse files
0xAnjaliMaureenHelm
authored andcommitted
soc: stm32: fix pm_s2ram linker warning
Below warning is reported in Zephyr upstream weekly CI after 34985a7 was merged: ``` ld.bfd: warning: orphan section .TEXT.pm_s2ram_mark_check_and_clear' from zephyr/libzephyr.a(s2ram_marking.S.obj)' being placed in section `.TEXT.pm_s2ram_mark_check_and_clear' ``` Fix the warning by adding the appropriate headers. Signed-off-by: Anjali Kashyap <anjkas23@gmail.com>
1 parent a7edfd8 commit 705703a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

soc/st/stm32/stm32wb0x/s2ram_marking.S

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
#include <offsets_short.h>
1313
#include <zephyr/arch/cpu.h>
1414
#include <zephyr/arch/common/pm_s2ram.h>
15+
#include <zephyr/linker/sections.h>
1516

1617
/* Read RCC and PWRC base from Device Tree */
1718
#include <zephyr/devicetree.h>

0 commit comments

Comments
 (0)