- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, Community
How do I grant build options (-fstack-usage) using PSoC Creator?
I learned that there is a compiler option in the KBA description below to check the stack size.
Controlling SRAM Usage in PSoC® Applications - KBA93584
Could you tell me how to add "-fstack-usage" command?
Solved! Go to Solution.
- Labels:
-
PSoC Creator & Designer Software
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @NXTY_Tatebayasi ,
To add the -fstack-usage command, right-click the file in the Workspace Explorer and click “Build Settings”. Then click “compiler”, then “Command Line ”, and enter -fstack-usage via the 'Build Settings' menu in PSoC Creator.
Warm Regards,
Gautami J
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @NXTY_Tatebayasi ,
To add the -fstack-usage command, right-click the file in the Workspace Explorer and click “Build Settings”. Then click “compiler”, then “Command Line ”, and enter -fstack-usage via the 'Build Settings' menu in PSoC Creator.
Warm Regards,
Gautami J
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, @Gautami_12 -san
Thank you for telling us about it.
I built the project after setting the build options.
I got what I was looking for as a .su file was generated in the workspace folder.
Best Regards,
Chihiro Tatebayashi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @NXTY_Tatebayasi ,
Glad that your query is resolved.
Warm Regards,
Gautami J