You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
printk uses a Zephyr-internal formatting utility now; you don't need to select newlib for that unless you're using standard C functions like printf(). See this documentation. You'll want CONFIG_CBPRINTF_FP_SUPPORT=y.
Ah; I see you seem to be using a Zephyr version before 2.4.0 was released. printk didn't support FP back then. The solution I recommended is available in the current development version and will be in 2.5 in about a month.
Ah; I see you seem to be using a Zephyr version before 2.4.0 was released. printk didn't support FP back then. The solution I recommended is available in the current development version and will be in 2.5 in about a month.
Describe the bug
printk for foating point value not working.
printf format expected also in serveral drivers LPS25HB.
Code
Output
Expected behavior
Environment (please complete the following information):
-- zephyr-sdk-0.11.4
-- west v0.8.0
-- zephyr v2.3.0-2198
The text was updated successfully, but these errors were encountered: