Change the link script to optimum the RAM layout#401
Change the link script to optimum the RAM layout#401sgbihu wants to merge 1 commit intoarduino:masterfrom
Conversation
sgbihu
commented
Jan 16, 2017
- Revert the DCCM change
- Update the link script
| MEMORY | ||
| { | ||
| FLASH (rx) : ORIGIN = 0x40034000, LENGTH = 152K | ||
| SRAM (wx) : ORIGIN = 0xa800e000, LENGTH = 24K |
There was a problem hiding this comment.
I thought "rwx" and "wx" were the same thing (i.e. "w" signifies both read and write). I'm not 100% sure though. Can somebody explain why this is needed?
There was a problem hiding this comment.
ping.... any answers to my question above?
|
This is a performance improvement that will go into the next release. |
| __dccm_start = .; | ||
| *(.kernelmempool) | ||
| *(".kernelmempool.*") | ||
| __dccm_end = ALIGN(4); |
There was a problem hiding this comment.
Note that this does not actually align the location counter-- it calculates the next aligned value based on the current location counter, although the counter itself remains unaligned. I think you should do something like this instead;
. = ALIGN(4);
__dccm_end = .;
cf1a6c2 to
3f4c4f7
Compare
1. Revert the DCCM change 2. Update the link script
|
|