[colorlcd] make malloc() thread-safe

This commit is contained in:
Raphael Coeffic
2021-10-04 21:52:08 +11:00
committed by Peter Feerick
parent 6c74af974c
commit 6684489f01
3 changed files with 24 additions and 0 deletions
+3
View File
@@ -325,6 +325,9 @@ if (MULTIMODULE)
)
endif()
# Make malloc() thread-safe
add_definitions(-DTHREADSAFE_MALLOC)
set(STM32LIB_SRC
STM32F4xx_StdPeriph_Driver/src/stm32f4xx_sdio.c
STM32F4xx_StdPeriph_Driver/src/stm32f4xx_fmc.c
+3
View File
@@ -161,6 +161,9 @@ if (MULTIMODULE)
)
endif()
# Make malloc() thread-safe
add_definitions(-DTHREADSAFE_MALLOC)
set(STM32LIB_SRC
STM32F4xx_StdPeriph_Driver/src/stm32f4xx_sdio.c
STM32F4xx_StdPeriph_Driver/src/stm32f4xx_fmc.c