Re: Configuration?
Carles Cufi
Hi Dave,
Thread safety for newlib was implemented in Zephyr recently, there should not be any issues left with it. If there are, please open a GitHub issue:
https://github.com/zephyrproject-rtos/zephyr/pull/36201 https://github.com/zephyrproject-rtos/zephyr/pull/35227
Thanks,
Carles
From: users@... <users@...>
On Behalf Of Dave Nadler via lists.zephyrproject.org
Careful Anders! Last I looked, newlib was not really supported properly in Zephyr.
PS: Picolib is striving to avoid internal malloc-etc use.
On 11/24/2021 4:24 AM, Anders wrote:
Hi,I have just started working with Zephyr and struggled the other day with getting sprintf working for floats.After searching the internet I found out that when using CONFIG_NEWLIB_LIBC=y I also have to add CONFIG_NEWLIB_LIBC_FLOAT_PRINTF=yto make things work as expected.Where can I find this kind of information, e.g. dependencies, to avoid having to search the internet for answers in the future?Thx in advance,Anders
-- Dave Nadler, USA East Coast voice (978) 263-0097, drn@..., Skype Dave.Nadler1
|
|