2024-02-11 05:59 AM - edited 2024-02-11 06:12 AM
Hello,
related to the post https://community.st.com/t5/stm32-mcus-touchgfx-and-gui/using-cpp-exceptions-in-touchgfx-application/m-p/267439
is C++ handle exception included in TouchGFX release ?
I did not manage with the code here below, testing a string for a float with std::stof. (TouchGFX 4.21.4)
Thanks
Solved! Go to Solution.
2024-02-17 01:11 PM
Hi Louis,
I use GCC but I found a solution using sscanf from this post : https://community.st.com/t5/stm32-mcus-products/floating-point-support-in-sscanf/td-p/429726
Thanks
2024-02-14 12:15 AM - edited 2024-02-14 12:16 AM
Hello @JJame.1 ,
Exceptions can be use in your project's code but are not handled by default, and the TouchGfx library is not compiled with exceptions.
Can you tell me which ToolChain you are using?
Regards,
2024-02-17 01:11 PM
Hi Louis,
I use GCC but I found a solution using sscanf from this post : https://community.st.com/t5/stm32-mcus-products/floating-point-support-in-sscanf/td-p/429726
Thanks