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 am using the c8051F126 from Cygnal. Before reaching the 64Kb size I was using the BL51 with "Code Range" option set to 0x1000-0xFFFF (my code start at 0x1000). Now I would like to use LX51 (and bank switching) but I am unable to find where signal the linker to place code starting from 0x1000. Which is the directive to tell the linker place the code starting from 0x1000 ? Where to place the directive in the LX51 tab ?
If you check the "Use Memory Layout From Target Dialog" box, uVision, well, uses the memory layout from the target dialog, and automatically adds some directives in the "C classes" section of the dialog. If you'd prefer to control it manually, see the CLASSES and SEGMENTS directives in the manual.