It is possible to run my code from the flash? i need more space in the RAM for my buffer [8k]
It is possible to run my code from the flash? i need more space in the RAM for my buffer [8k]
Code is normally located in flash. The variables it uses are then pushed on the stack (RAM). Globals are also located in a specific area in RAM.
You will not be able to make a buffer that's 8 kB when using one of our SoftDevices. Could you post a bit more detailed information about why you need a 8 kB buffer?
Cheers, Håkon
You'll have to split the data up in chunks to fit into the RAM area. You're about 17k over the RAM limit as of now. You could save the data to flash, then send that over the BLE link.