mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-15 03:41:56 +00:00
Use malloc/free instead of k_malloc/k_free in operator new/delete implementation or use libstdc++ implementation when available. Further updated cpp_synchronization sample to enable minimal libc heap as virtual destructor requires operator delete which depends on free. Signed-off-by: Jan Van Winkel <jan.van_winkel@dxplore.eu>
7 lines
125 B
Plaintext
7 lines
125 B
Plaintext
CONFIG_NEWLIB_LIBC=y
|
|
CONFIG_CPLUSPLUS=y
|
|
CONFIG_LIB_CPLUSPLUS=y
|
|
CONFIG_STD_CPP17=y
|
|
CONFIG_ZTEST=y
|
|
CONFIG_ZTEST_STACKSIZE=2048
|