Sep 30, 2016
02:01 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 30, 2016
02:01 PM
Hi,
I have recently switched from Creator 3.0 - PSoC3 to Creator 3.3 SP2 - PSoC5. Have been having issues getting the libraries to function as they did previously in 3.0. I have checked the migration guide and there is no mention of the C libraries. First I had a problem with math.h and found an app-note on that regarding the build settings->linker->general. Is there a similar thing you have to do for stdio.h? The sprintf function doesn't do anything. Also, is there a guide for setting all this up?
Thanks,
Nick
Labels
- Labels:
-
PSoC 5LP
1 Reply
Oct 01, 2016
07:40 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oct 01, 2016
07:40 AM
To use sprintf() for floats:
- Increase the heap to at least 0x0200
- Use newlib nano
- Use newlib nano float formatting
Bob