zephyr/drivers/rtc
Alberto Escolar Piedras 7369bb56e3 drivers rtc: Do not treat the host libC differently
This code was using strptime from the C library in some cases,
but this function is an extension which many embedded libCs do
not provide, and which is not provided by default unless
_XOPEN_SOURCE or a similar macro is defined before the system headers
are included.

We could define _XOPEN_SOURCE for the libraries that provide it,
but instead of treating the host C library differently than
embedded libraries, let's just build the provided version always,
as that should provide better coverage of this code.

Note: It seems picolibc's strptime is broken,
until this very recent patch:
https://github.com/picolibc/picolibc/pull/657
so we should not select it when building for this library
for a while either.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2024-01-26 07:48:55 -05:00
..
CMakeLists.txt
Kconfig
Kconfig.am1805
Kconfig.ds1307
Kconfig.emul
Kconfig.fake
Kconfig.mc146818
Kconfig.pcf8523
Kconfig.pcf8563
Kconfig.sam
Kconfig.smartbond
Kconfig.stm32
rtc_am1805.c
rtc_ds1307.c
rtc_emul.c
rtc_fake.c
rtc_handlers.c
rtc_ll_stm32.c drivers: rtc: stm32: Updated scope of hsem 2024-01-04 15:32:47 +01:00
rtc_mc146818.c
rtc_pcf8523.c
rtc_pcf8563.c drivers: rtc: pcf8563: fix ifdef for alarm_set_callback 2024-01-16 20:49:19 -05:00
rtc_sam.c
rtc_shell.c drivers rtc: Do not treat the host libC differently 2024-01-26 07:48:55 -05:00
rtc_smartbond.c