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)
Yes, I meant C_INITSEG. As I told, in the original project as well as in the new project the modules are alocated absolutely. Thus, other code segments are not changing, but this one. Static variable initialisation take place only in the original project, not in the new one. So I expect no change in C_INITSEG. Therefore I'm confused, why this segment will change by importing the LIB. What in my both project is missing is the INIT.A51 module. May be this the reason why in the new project the initialisation order for different imported modules will change?