Skip to content

Commit 0196df9

Browse files
authored
nano33: llext heap fix and add math functions to LLEXT_EXPORTS.C (#109)
* Increase LLEXT_HEAP Size * add in a few trig functs to exports.c
1 parent 82459f7 commit 0196df9

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

loader/llext_exports.c

+7
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,12 @@ EXPORT_SYMBOL(islower);
4949
EXPORT_SYMBOL(isxdigit);
5050

5151
EXPORT_SYMBOL(atan2);
52+
EXPORT_SYMBOL(atan2f);
53+
EXPORT_SYMBOL(atanf);
54+
EXPORT_SYMBOL(asinf);
55+
EXPORT_SYMBOL(acosf);
56+
EXPORT_SYMBOL(sqrt);
57+
EXPORT_SYMBOL(sqrtf);
5258

5359
EXPORT_SYMBOL(k_sched_lock);
5460
EXPORT_SYMBOL(k_sched_unlock);
@@ -223,4 +229,5 @@ FORCE_EXPORT_SYM(__aeabi_f2d);
223229
FORCE_EXPORT_SYM(__aeabi_idivmod);
224230
FORCE_EXPORT_SYM(__aeabi_ldivmod);
225231
FORCE_EXPORT_SYM(__aeabi_ul2f);
232+
FORCE_EXPORT_SYM(__aeabi_dcmpge);
226233
FORCE_EXPORT_SYM(__cxa_pure_virtual);

variants/arduino_nano_33_ble_nrf52840_sense/arduino_nano_33_ble_nrf52840_sense.conf

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ CONFIG_PWM=y
3434
CONFIG_LLEXT_STORAGE_WRITABLE=n
3535
CONFIG_SHELL_STACK_SIZE=2048
3636
CONFIG_HEAP_MEM_POOL_SIZE=16384
37-
CONFIG_LLEXT_HEAP_SIZE=96
37+
CONFIG_LLEXT_HEAP_SIZE=128
3838
CONFIG_MAIN_STACK_SIZE=16384
3939

4040
CONFIG_BT_RX_STACK_SIZE=4096

0 commit comments

Comments
 (0)