1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/sys/cpp_new_delete/Kconfig
Gunar Schorcht 4bfd549301 sys/new_delete: add malloc/free based new/delete implementation
On some platforms `libstdc++` is not used or not available, like on the AVR. Such platforms can use this module to implement the C++ `new` and `delete` operators using `malloc` and `free` respectively. However, to be thread-safe, a thread-safe implementation of `malloc` and `free` must be present.
2022-01-03 23:35:35 +01:00

18 lines
635 B
Plaintext

# Copyright (C) 2021 Gunar Schorcht
#
# 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_CPP_NEW_DELETE
bool
depends on TEST_KCONFIG
depends on MODULE_CPP
help
On some platforms libstdc++ is not used or not available, like on
the AVR. Such platforms can use this module to implement the C++
new and delete operators using malloc and free respectively. However,
to be thread-safe, a thread-safe implementation of malloc and free
must be present.