You are here

C library PSoC3 to PSoC5 | Cypress Semiconductor

C library PSoC3 to PSoC5

Summary: 1 Reply, Latest post by Bob Marlowe on 01 Oct 2016 07:40 AM PDT
Verified Answers: 1
Last post
Log in to post new comments.
Nick_Danger's picture
120 posts


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?



user_1377889's picture
10686 posts

To use sprintf() for floats:

  • Increase the heap to at least 0x0200
  • Use newlib nano
  • Use newlib nano float formatting




Log in to post new comments.