Description
When testing SDFat and Sparkfun BMI270 libraries following error was found (see #4 (comment)). @facchinm identified the temp fix and issue as:
- with UART connected -> we see the shell, type sketch, get
[00:00:01.528,000] <err> llext: Failed to copy regions, ret -12 Failed to load sketch, rc -12
-- Reason: the sketch is too big to fit in LLEXT HEAP (the one that will be used when interacted via shell)
-- Solution: temporarily reduce CONFIG_HEAP_MEM_POOL_SIZE to 2048, increase CONFIG_LLEXT_HEAP_SIZE to 64
However when making the change to CONFIG_LLEXT_HEAP_SIZE to 64 error still occurred when attempting to run a Sparkfun BMI270 test sketch. Increasing to 128 resolved that issue. In addition looking at the Portenia H7 conf followwing change was made to the Giga conf:
CONFIG_HEAP_MEM_POOL_SIZE=2048
CONFIG_SHELL_STACK_SIZE=32768
CONFIG_MAIN_STACK_SIZE=32768
CONFIG_LLEXT_HEAP_SIZE=128
This probably needs to be changed in the Config before a beta release