- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi All:
About the Linker Script File for gcc,I have some question to ask:
1:
what the "NOLOAD" and the "alignment" is used for and how can I set the size of the custom section?
2: If the a variable of type const must be place in the section of " .rodata" or not? Can I place a variable of type const in the section of the custom by myself?
Solved! Go to Solution.
- Labels:
-
PSoC 4 Architecture
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Which device are you using, PSoC4 or PSoC6?
The `(NOLOAD)' directive will mark a section to not be loaded at run time. the section will begin at the specified alignment. For example, if alignment is 4, it means the address of the section will be aligned with 4 byte.
Yes. You can place a constant in the section of the custom by yourself.
Thanks,
Ryan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Which device are you using, PSoC4 or PSoC6?
The `(NOLOAD)' directive will mark a section to not be loaded at run time. the section will begin at the specified alignment. For example, if alignment is 4, it means the address of the section will be aligned with 4 byte.
Yes. You can place a constant in the section of the custom by yourself.
Thanks,
Ryan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi:
Thanks.It is PSOC4.
I still have doubts when should I use a output section type of NOLOAD when I custom a section?