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.
|
|
|
|
#
|
|
|
|
|
2020-08-31 09:57:28 +02:00
|
|
|
if MODULE_NEWLIB
|
2020-07-27 17:28:31 +02:00
|
|
|
|
2020-08-31 09:57:28 +02:00
|
|
|
config MODULE_NEWLIB_NANO
|
2020-07-27 17:28:31 +02:00
|
|
|
bool "NewLib Nano"
|
|
|
|
|
2020-08-31 09:57:28 +02:00
|
|
|
config MODULE_NEWLIB_GNU_SOURCE
|
2020-07-27 17:28:31 +02:00
|
|
|
bool "NewLib GNU source"
|
|
|
|
|
2020-08-31 09:57:28 +02:00
|
|
|
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
|
2022-01-24 10:47:21 +01:00
|
|
|
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
|
|
|
|
2022-03-02 10:00:00 +01: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()
|
|
|
|
|
2020-08-31 09:57:28 +02:00
|
|
|
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.
|