- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi everyone;
I just changed my project to psoc creator 3.2 (3.0 to 3.2).
When I was on 3.0 I was able to use
sprintf(buf,"my Float = %f\n\r", myFloat);
UART_1_PutString(buf)
with these linker's parameters in attachments.
Recently I changed to 3.2 creator, and now I'm not able to display float through my UART, I try to change the linker but nothing works.
I saw this post :
https://www.google.ca/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=printf+float+psoc+5
But I don"t understand how to and where change heap size to 0x200 and to add custom parameter to linker I just ahve to right in the command --> line -u_printf_float ??
Thank you very much
Solved! Go to Solution.
- Labels:
-
PSoC 5LP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
http://www.cypress.com/forum/psoc-5-device-programming/problem-printing-float tells you where to apply these settings. The heap size is set in the "design-wide resources" page.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
http://www.cypress.com/forum/psoc-5-device-programming/problem-printing-float tells you where to apply these settings. The heap size is set in the "design-wide resources" page.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You should upgrade to Creator 3.3! Only changes needed are Heap size and "use newlib-nano float formatting".
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Works perfectly thank you 😉
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You are always welcome, Alex!
Bob