I have a .lib file that needs a memory address for placing in the nrf51 controller memory.
I have a .lib file that needs a memory address for placing in the nrf51 controller memory.
Is this compiled code?
If not then surely you would need to include it within your project development environment for compilation?
If it's compiled code then you will need to know a lot more than where to place it if you wish to use any of it's functionality.
Perhaps you could give further information on exactly what your requirement here is.
Yes it is a compiled code.
If this is your main application code then you would normally place it after the Bootloader and SoftDevice (if loaded).
Thanks for your help.
Its not the main application but one of the very important block.
Assuming that you haven't placed an OS on your nRF51 that supports dynamic loading of code you will need to place it within program flash and statically link it. I guess that you already have the support files that will allow you to do that.
You should place it in a fixed location and load it to that address separately to you application code, in much the same way that you do with the Nordic SoftDevice.
Assuming that you haven't placed an OS on your nRF51 that supports dynamic loading of code you will need to place it within program flash and statically link it. I guess that you already have the support files that will allow you to do that.
You should place it in a fixed location and load it to that address separately to you application code, in much the same way that you do with the Nordic SoftDevice.
Thanks a lot. That helps.