Not applicable
Jan 09, 2019
11:45 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 09, 2019
11:45 PM
3 Replies
Jan 10, 2019
05:35 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 10, 2019
05:35 AM
Hi,
You could modify the linker file to locate the .bss section or part of it into the DSRAM_2_comm region.
Regards,
Jesus
You could modify the linker file to locate the .bss section or part of it into the DSRAM_2_comm region.
Regards,
Jesus
Not applicable
Jan 10, 2019
06:54 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 10, 2019
06:54 AM
Hi Jesus,
how and where exactly can I change that in the linker file?
Regards,
Patrick
how and where exactly can I change that in the linker file?
Regards,
Patrick
Jan 11, 2019
12:37 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 11, 2019
12:37 AM
The linker script linker_script.ld is located in your main project folder.
If you are new to linker scripts: You need to adjust both the linker script and your code to place some parts of the RAM to a new location. For example, to place the following integer array to the DSRAM2_comm, add attribute:
In linker script, add the following line in the DSRAM2_comm region after alignment line:
I currently have no access to a XMC4500 project, hope it works ...
If you are new to linker scripts: You need to adjust both the linker script and your code to place some parts of the RAM to a new location. For example, to place the following integer array to the DSRAM2_comm, add attribute:
__attribute__((section(".ram2content"))) unsigned int addData[1024];
In linker script, add the following line in the DSRAM2_comm region after alignment line:
*(.ram2content)
I currently have no access to a XMC4500 project, hope it works ...