We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I habe built a project with µVision2 and generated a library (LIB file). I have imported this LIB into another µVision2 project. However, the link order of the imported modules within the LIB is now changed compared to the original order of the modules. This is a problem since I have to keep not only the module order, but also the init_segment should be kept invariant. How can be kept the order of the included input module from the LIB? (I have used LIB51 LIBRARY MANAGER V4.24)
Unfortunately it doesn't helped me much. All variables and segments were already located absolutely (declared in the linker file). I think it would help me only if I could know the guidance logic by determining the order of the imported modules in a LIB. Thus, I could manage the relevant dependecies so that I could get exactly the same C_INITSEG as in BOOT project. Is it possible to get this information?
When you re-create an application and change something on it, then it becomes unlikely that you get exactly the same image again.
You should really consider the alternative methods (using PUBLICSONLY and a reduced STARTUP file) as presented in the Multi-application example.