Question/Issue:
Local build as C++ library failed due to the following memory overflow error:
“…/zephyr_pre0.elf section bss' will not fit in region
RAM’
/opt/nordic/ncs/toolchains/20d68df7e5/opt/zephyr-sdk/arm-zephyr-eabi/bin/…/lib/gcc/arm-zephyr-eabi/12.2.0/…/…/…/…/arm-zephyr-eabi/bin/ld.bfd: region `RAM’ overflowed by 28064 bytes”
Any hints or recommendations on how to resolve this memory issue?
Project ID:
Context/Use case:
I trained a model and deployed successfully to Thingy:91 from the project.
When I download the model and try to build locally as a C++ library I get the following memory overflow error:
“…/zephyr_pre0.elf section bss' will not fit in region
RAM’
/opt/nordic/ncs/toolchains/20d68df7e5/opt/zephyr-sdk/arm-zephyr-eabi/bin/…/lib/gcc/arm-zephyr-eabi/12.2.0/…/…/…/…/arm-zephyr-eabi/bin/ld.bfd: region `RAM’ overflowed by 28064 bytes”
My model requires 241.9K.