mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-16 18:13:49 +01:00
cpu/esp32: module malloc_thread_safe not needed any longer
With the improvements of the locking mechanism, thread safety of malloc/realloc/calloc/free is guaranteed. Module malloc_thread_safe is not needed any longer.
This commit is contained in:
parent
0e2eb919a4
commit
2092c35ef6
@ -21,7 +21,6 @@ config CPU_FAM_ESP32
|
|||||||
|
|
||||||
select PACKAGE_ESP32_SDK if TEST_KCONFIG
|
select PACKAGE_ESP32_SDK if TEST_KCONFIG
|
||||||
|
|
||||||
select MODULE_MALLOC_THREAD_SAFE if !MODULE_ESP_IDF_HEAP && TEST_KCONFIG
|
|
||||||
select MODULE_PERIPH_RTT if HAS_PERIPH_RTT && MODULE_PM_LAYERED
|
select MODULE_PERIPH_RTT if HAS_PERIPH_RTT && MODULE_PM_LAYERED
|
||||||
select MODULE_PS if MODULE_SHELL
|
select MODULE_PS if MODULE_SHELL
|
||||||
select MODULE_PTHREAD if MODULE_CPP
|
select MODULE_PTHREAD if MODULE_CPP
|
||||||
|
|||||||
@ -22,7 +22,6 @@ config CPU_FAM_ESP32C3
|
|||||||
|
|
||||||
select PACKAGE_ESP32_SDK if TEST_KCONFIG
|
select PACKAGE_ESP32_SDK if TEST_KCONFIG
|
||||||
|
|
||||||
select MODULE_MALLOC_THREAD_SAFE if !MODULE_ESP_IDF_HEAP && TEST_KCONFIG
|
|
||||||
select MODULE_PERIPH_RTT if HAS_PERIPH_RTT && MODULE_PM_LAYERED
|
select MODULE_PERIPH_RTT if HAS_PERIPH_RTT && MODULE_PM_LAYERED
|
||||||
select MODULE_PS if MODULE_SHELL
|
select MODULE_PS if MODULE_SHELL
|
||||||
select MODULE_PTHREAD if MODULE_CPP
|
select MODULE_PTHREAD if MODULE_CPP
|
||||||
|
|||||||
@ -17,7 +17,6 @@ config CPU_FAM_ESP32S2
|
|||||||
|
|
||||||
select PACKAGE_ESP32_SDK if TEST_KCONFIG
|
select PACKAGE_ESP32_SDK if TEST_KCONFIG
|
||||||
|
|
||||||
select MODULE_MALLOC_THREAD_SAFE if !MODULE_ESP_IDF_HEAP && TEST_KCONFIG
|
|
||||||
select MODULE_PERIPH_RTT if HAS_PERIPH_RTT && MODULE_PM_LAYERED
|
select MODULE_PERIPH_RTT if HAS_PERIPH_RTT && MODULE_PM_LAYERED
|
||||||
select MODULE_PS if MODULE_SHELL
|
select MODULE_PS if MODULE_SHELL
|
||||||
select MODULE_PTHREAD if MODULE_CPP
|
select MODULE_PTHREAD if MODULE_CPP
|
||||||
|
|||||||
@ -23,7 +23,6 @@ config CPU_FAM_ESP32S3
|
|||||||
|
|
||||||
select PACKAGE_ESP32_SDK if TEST_KCONFIG
|
select PACKAGE_ESP32_SDK if TEST_KCONFIG
|
||||||
|
|
||||||
select MODULE_MALLOC_THREAD_SAFE if !MODULE_ESP_IDF_HEAP && TEST_KCONFIG
|
|
||||||
select MODULE_PERIPH_RTT if HAS_PERIPH_RTT && MODULE_PM_LAYERED
|
select MODULE_PERIPH_RTT if HAS_PERIPH_RTT && MODULE_PM_LAYERED
|
||||||
select MODULE_PS if MODULE_SHELL
|
select MODULE_PS if MODULE_SHELL
|
||||||
select MODULE_PTHREAD if MODULE_CPP
|
select MODULE_PTHREAD if MODULE_CPP
|
||||||
|
|||||||
@ -126,8 +126,6 @@ ifneq (,$(filter esp_idf_heap,$(USEMODULE)))
|
|||||||
# the implementations of TLSF with the exception of heap poisoning, which
|
# the implementations of TLSF with the exception of heap poisoning, which
|
||||||
# is not configured.
|
# is not configured.
|
||||||
USEPKG += tlsf
|
USEPKG += tlsf
|
||||||
else
|
|
||||||
USEMODULE += malloc_thread_safe
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq (,$(filter mtd,$(USEMODULE)))
|
ifneq (,$(filter mtd,$(USEMODULE)))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user