This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How to relocate all code and data for Zephyr NCS nRF5340 project to RAM?

I've added:

zephyr_code_relocate(src/main.c SRAM)

and

CONFIG_CODE_DATA_RELOCATION=y

However, this only relocates by main to RAM.  Vectors, kernel, etc, are still going to flash.

How can I relocate all code and data to RAM?

 

Parents Reply Children
No Data
Related