1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/sys/Kconfig.newlib

38 lines
921 B
Plaintext
Raw Normal View History

2020-07-27 17:28:31 +02:00
# 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
2020-07-27 17:28:31 +02:00
config MODULE_NEWLIB_NANO
2020-07-27 17:28:31 +02:00
bool "NewLib Nano"
config MODULE_NEWLIB_GNU_SOURCE
2020-07-27 17:28:31 +02:00
bool "NewLib GNU source"
config MODULE_NEWLIB_SYSCALLS_DEFAULT
2021-09-22 10:39:37 +02:00
bool
2020-07-27 17:28:31 +02:00
default y
depends on !HAVE_CUSTOM_NEWLIB_SYSCALLS
select MODULE_DIV
2021-09-22 10:39:37 +02:00
help
Default implementation of newlib system calls.
2020-07-27 17:28:31 +02:00
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
2020-07-27 17:28:31 +02:00
config HAVE_CUSTOM_NEWLIB_SYSCALLS
bool
help
Indicates that a custom newlib syscalls implementation is present.