forked from RIOT-OS/RIOT
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathKconfig.newlib
37 lines (30 loc) · 921 Bytes
/
Kconfig.newlib
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Copyright (c) 2020 HAW Hamburg
#
# This file is subject to the terms and conditions of the GNU Lesser
# General Public License v2.1. See the file LICENSE in the top level
# directory for more details.
#
if MODULE_NEWLIB
config MODULE_NEWLIB_NANO
bool "NewLib Nano"
config MODULE_NEWLIB_GNU_SOURCE
bool "NewLib GNU source"
config MODULE_NEWLIB_SYSCALLS_DEFAULT
bool
default y
depends on !HAVE_CUSTOM_NEWLIB_SYSCALLS
select MODULE_DIV
help
Default implementation of newlib system calls.
config MODULE_LIBC_GETTIMEOFDAY
bool
select MODULE_NEWLIB_SYSCALLS_DEFAULT if MODULE_NEWLIB
select MODULE_XTIMER
select MODULE_ZTIMER64_XTIMER_COMPAT if MODULE_ZTIMER_XTIMER_COMPAT
help
Support for gettimeofday()
endif # MODULE_NEWLIB
config HAVE_CUSTOM_NEWLIB_SYSCALLS
bool
help
Indicates that a custom newlib syscalls implementation is present.