hello im trying to do something if any one knows or has reference about this help
I have built a library and a blinky code using that library,
i want to flash the library first and then the blinky example. means next time when i change my blinky i will only load that code at a particular addess how can we do this.?
"Sharing" libraries makes little to no sense in a small embedded system. There just aren't multiple concurrently running programs that might want to share it.
Since switching from one program to another already requires flashing the controller, there's really just about nothing to be gained from avoiding the flash of the library, either.
Hi
I use this approach:1. create uVision project with code for library. This project needs its own scatter file to flash library code to its own sector - different from sector where blinky code will live.
2. when creating library in step 1 linker needs to be told to generate so called symdef file. This file contains addresses of stuff in the library.
3. load the library into flash4. intead of the library give symdef file from step 2 as a parameter to blinky project linker.developer.arm.com/.../latestwww.keil.com/.../armlink_pge1362065959198.htmwww.keil.com/.../armlink_pge1362075597794.htm