Attachments are accessible only for community members.
Is there a lightweight version of sprint() for the FX3 SDK? - KBA90398
Anonymous
Not applicable
Dec 24, 2013
03:38 AM
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
Dec 24, 2013
03:38 AM
Version: *A
Translation - Japanese: FX3 SDKのsprint()の軽量バージョンはありますか? - KBA90398 - Community Translated (JA)
Question:
The version of sprint() in the standard C library provided with the FX3 SDK needs 32KB of SRAM space. Is there a lightweight version of this function that is memory efficient?
Answer:
Yes. In case of FX3 SDK version 1.3, use the function CyU3PDebugStringPrint(). This function has the same call signature of the snprintf() function and has smaller memory footprint.
For older versions of the SDK (version 1.2.3 or lower), use the function given in the attached file. Its structure is similar to the sprint (not snprintf) function and can be modified as needed.
Labels
Rate this article:
Contributors
-
This widget could not be displayed.Anonymous