File tree Expand file tree Collapse file tree 3 files changed +3
-6
lines changed Expand file tree Collapse file tree 3 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ choice LIBC_IMPLEMENTATION
16
16
config ARMCLANG_STD_LIBC
17
17
bool "ARM Compiler C library"
18
18
select COMMON_LIBC_STRNLEN
19
- select COMMON_LIBC_TIME if POSIX_TIMERS
19
+ select COMMON_LIBC_TIME
20
20
help
21
21
Use the full Arm Compiler runtime libraries.
22
22
A reduced Zephyr minimal libc will be used for library functionality
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ Time function
12
12
*************
13
13
14
14
This provides an implementation of the standard C function, :c:func: `time `,
15
- relying on the Zephyr function, :c:func: `clock_gettime `. This function can
15
+ relying on the Zephyr function, :c:func: `sys_clock_gettime `. This function can
16
16
be enabled by selecting :kconfig:option: `COMMON_LIBC_TIME `.
17
17
18
18
Dynamic Memory Management
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ config MINIMAL_LIBC_RAND
37
37
38
38
config MINIMAL_LIBC_TIME
39
39
bool "Time functions"
40
- select COMMON_LIBC_TIME if POSIX_TIMERS
40
+ select COMMON_LIBC_TIME
41
41
select POSIX_C_LANG_SUPPORT_R
42
42
select COMMON_LIBC_GMTIME_R
43
43
select COMMON_LIBC_ASCTIME
@@ -47,9 +47,6 @@ config MINIMAL_LIBC_TIME
47
47
help
48
48
Enable time() and gmtime_r() for the minimal libc.
49
49
50
- time() requires CONFIG_POSIX_TIMERS=y because it relies on the POSIX
51
- clock_gettime() function.
52
-
53
50
In order to make use of the non-reentrant gmtime(), it is necessary
54
51
to set CONFIG_MINIMAL_LIBC_NON_REENTRANT_FUNCTIONS=y.
55
52
You can’t perform that action at this time.
0 commit comments