Compiler command to redefine simulink malloc
and free to FreeRTOS functions. Whole
conversion of heap is unfinished.
Simulink malloc is used in files
matlab/rtw/c/src/ext_mode/common/updown.c
matlab/rtw/c/src/ext_mode/common/mem_mng.c
CXXFLAGS += $(CXXDEBUG)
LDFLAGS += $(LDDEBUG)
endif
+
+# Redefintion simulink malloc and free to FreeRTOS functions
+# Unfished (compiler command is complete)
+# CFLAGS += -D"malloc(size)=pvPortMalloc(size)"
+# CFLAGS += -D"free(ptr)=vPortFree(ptr)"
#-------------------------- Target application ---------------------------------
# Define the type of build