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

23 lines
746 B
Plaintext
Raw Normal View History

# Copyright (C) 2022 Otto-von-Guericke-Universität Magdeburg
#
# 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.
#
config MODULE_TINY_STRERROR
bool
depends on TEST_KCONFIG
help
This module provides `tiny_strerror()`, a drop-in replacement for
`strerror()` that returns the errno macro name rather than a verbose
help description string.
config MODULE_TINY_STRERROR_AS_STRERROR
bool
depends on TEST_KCONFIG
select MODULE_TINY_STRERROR
help
This replaces all calls to `strerror()` with calls to `tiny_strerror()`
via linker magic. This may safe a bit of ROM.