How to set a function run in ram in NCS 2.8

HI,

I have a function testfun from a customer-provided .a library, and I hope to run this testfun function in RAM. I am currently using NCS 2.8 based on the nRF52840. I’ve looked up some information but encountered a few issues:

  1. After building the program, what is the name of the NCS linker script? Where is it located? I couldn’t find it.
  2. If I can't directly modify the .a file, how should the program be configured so that testfun runs in RAM?

Please provide some help, thank you.

Related