Skip to content

Commit 804ccc1

Browse files
committed
nano33ble: disable stack canaries
1 parent 0ba9bf0 commit 804ccc1

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

loader/llext_exports.c

+4
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,10 @@ FORCE_EXPORT_SYM(net_buf_simple_pull_mem);
9999
FORCE_EXPORT_SYM(net_buf_unref);
100100
#endif
101101

102+
#if defined(CONFIG_STACK_CANARIES)
103+
FORCE_EXPORT_SYM(__stack_chk_guard);
104+
#endif
105+
102106
#if defined(CONFIG_VIDEO)
103107
FORCE_EXPORT_SYM(video_buffer_aligned_alloc);
104108
FORCE_EXPORT_SYM(video_buffer_alloc);

variants/arduino_nano_33_ble_nrf52840_sense/arduino_nano_33_ble_nrf52840_sense.conf

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,6 @@ CONFIG_BT_HCI_TX_STACK_SIZE=4096
4242

4343
CONFIG_FPU=y
4444

45-
CONFIG_STACK_USAGE=y
45+
CONFIG_STACK_USAGE=n
4646
CONFIG_STACK_SENTINEL=n
47-
CONFIG_STACK_CANARIES=y
47+
CONFIG_STACK_CANARIES=n

0 commit comments

Comments
 (0)