Skip to content

Commit ecb2343

Browse files
aescolarcarlescufi
authored andcommitted
boards: nrf_bsim: Move ipc backend next to .data
To avoid possible linker warnings, when the linker may end up placing this section in a segment with text and therefore with execute permissions, with let's move it next to the .data section. Signed-off-by: Alberto Escolar Piedras <[email protected]>
1 parent d680f0a commit ecb2343

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

boards/native/nrf_bsim/ipc_backend.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
#define DT_DRV_COMPAT zephyr_ipc_openamp_static_vrings
2222

2323
#define DEFINE_BACKEND_BUFFER(i) \
24-
NATIVE_SIMULATOR_IF \
24+
NATIVE_SIMULATOR_IF_DATA \
2525
char IPC##i##_shm_buffer[DT_REG_SIZE(DT_INST_PHANDLE(i, memory_region))];
2626

2727
DT_INST_FOREACH_STATUS_OKAY(DEFINE_BACKEND_BUFFER)

0 commit comments

Comments
 (0)