- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello everybody,
Can someone help me find the error in this code, this is an application that measures the pulse duration numerically.
I cannot display the values in the terminal.
I attach my project to this disccusion with the diagram and the code, and also the results displayed on the terminal
Thanks in advance.
Pin assignment:
I have PSoC 4200L card development
Terminal result:
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Please try following 2 things
(1) Linker Option
From Menu: Project > Build Settings
In the Build Settings dialog: ARM GCC ... > Linker > General
Use newlib-nano Float Formatting: True
(2) Expand Heap Size
From Workspace explorer > Design Wide Resources > System
Heap Size: 0x400
moto
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Please try following 2 things
(1) Linker Option
From Menu: Project > Build Settings
In the Build Settings dialog: ARM GCC ... > Linker > General
Use newlib-nano Float Formatting: True
(2) Expand Heap Size
From Workspace explorer > Design Wide Resources > System
Heap Size: 0x400
moto
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
As already mentioned by Motoo Tanaka- San, changes are required to be done in build settings to include the support for the floating point. You can find this information under 'Build Settings' section of PSoC Creator User Guide.
You can follow this path for the same - PSoC Creator -> Help -> Documentation -> PSoC Creator User Guide.
I have attached the image for your convenience.
Thanks and Regards,
Aashita
PSoC Creator User Guide