How create section in SPC5 studio?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-06-23 05:03 AM
Hi everybody,
I'm using SPC560P50L5 processor.I need to declare some sram program and data sections. How can i do in spc5 studio?my code consist in different function, and each of this need a particoulare storage address zone and a particoular ram zone.Are there the possibility to create a personal application.id file?
Are there a possibility to do that outside application.id file (for example into main.c file)?Thank you very much
Nicola#spc5 #memory-sections-ram-linker #memory-sectionsSolved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-06-23 06:44 AM
Hello ,
yes , you can create your own linker file
you can declare your section in user.ld
1) Copy-paster Application.ld file
2) rename it by user.ld
3) add your sram section
Best regards
Erwan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-06-23 06:44 AM
Hello ,
yes , you can create your own linker file
you can declare your section in user.ld
1) Copy-paster Application.ld file
2) rename it by user.ld
3) add your sram section
Best regards
Erwan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-06-27 02:37 AM
i can able to create the my own user.ld file with different flash memory section (i.e. Calibration, bootloader and application).
Now what happen whenever i am doing the clean the project and regenerate the SPC driver then automatically IDE generate the default application.ld file. So, is there any setting which can tell the IDE and compiler that mot to generate the default application. ld linker file