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 drivers: rtc: new maxim ds1307 rtc driver 2023-10-27 10:50:46 +02:00
Kconfig drivers: rtc: new maxim ds1307 rtc driver 2023-10-27 10:50:46 +02:00
Kconfig.am1805 drivers: rtc: new ambiq am1805 rtc driver 2023-09-25 09:47:46 +02:00
Kconfig.ds1307 drivers: rtc: new maxim ds1307 rtc driver 2023-10-27 10:50:46 +02:00
Kconfig.emul boards/posix/native_posix: Add emulated RTC device driver 2023-04-04 17:03:38 +02:00
Kconfig.fake drivers: rtc: rtc_fake: fff rtc driver added 2023-08-24 22:06:51 +01:00
Kconfig.mc146818 drivers: rtc: rtc_mc146818: Added RTC driver for Motorola MC146818B 2023-04-27 14:15:22 +02:00
Kconfig.pcf8523 drivers: rtc: add driver for the nxp pcf8523 rtc 2023-04-27 09:51:42 +02:00
Kconfig.pcf8563 drivers: added support for clock PCF8563 2023-07-11 16:14:49 +02:00
Kconfig.sam drivers: rtc: Add atmel sam series RTC driver 2023-10-23 10:49:11 +01:00
Kconfig.smartbond drivers: rtc: smartbond: Support RTC peripheral. 2023-10-20 15:10:44 +02:00
Kconfig.stm32 drivers: rtc: stm32: allow new RTC driver to work with BBRAM 2023-09-20 11:34:52 +01:00
rtc_am1805.c drivers: rtc: new ambiq am1805 rtc driver 2023-09-25 09:47:46 +02:00
rtc_ds1307.c drivers: rtc: new maxim ds1307 rtc driver 2023-10-27 10:50:46 +02:00
rtc_emul.c drivers: rtc: set 'rtc_driver_api' as 'static const' 2023-12-27 16:12:06 +00:00
rtc_fake.c drivers: rtc: set 'rtc_driver_api' as 'static const' 2023-12-27 16:12:06 +00:00
rtc_handlers.c syscall: rename Z_OOPS -> K_OOPS 2023-11-03 11:46:52 +01:00
rtc_ll_stm32.c drivers: rtc: stm32: Updated scope of hsem 2024-01-04 15:32:47 +01:00
rtc_mc146818.c drivers: rtc: set 'rtc_driver_api' as 'static const' 2023-12-27 16:12:06 +00:00
rtc_pcf8523.c drivers: fix thread function signatures 2023-10-30 12:24:34 +01:00
rtc_pcf8563.c drivers: rtc: pcf8563: fix ifdef for alarm_set_callback 2024-01-16 20:49:19 -05:00
rtc_sam.c drivers: rtc: set 'rtc_driver_api' as 'static const' 2023-12-27 16:12:06 +00:00
rtc_shell.c drivers rtc: Do not treat the host libC differently 2024-01-26 07:48:55 -05:00
rtc_smartbond.c drivers: rtc: set 'rtc_driver_api' as 'static const' 2023-12-27 16:12:06 +00:00