Merge branch 'bugfix/fix_memory_debug_macro_issue' into 'master'
freertos: fix memory debug macro issue When enable memory debug via make menuconfig, we got compile error. Define configENABLE_MEMORY_DEBUG according to CONFIG_ENABLE_MEMORY_DEBUG See merge request !89
This commit is contained in:
commit
c72590c1b9
|
@ -222,7 +222,9 @@
|
||||||
#define INCLUDE_vTaskDelay 1
|
#define INCLUDE_vTaskDelay 1
|
||||||
#define INCLUDE_uxTaskGetStackHighWaterMark 1
|
#define INCLUDE_uxTaskGetStackHighWaterMark 1
|
||||||
|
|
||||||
#ifndef configENABLE_MEMORY_DEBUG
|
#if CONFIG_ENABLE_MEMORY_DEBUG
|
||||||
|
#define configENABLE_MEMORY_DEBUG 1
|
||||||
|
#else
|
||||||
#define configENABLE_MEMORY_DEBUG 0
|
#define configENABLE_MEMORY_DEBUG 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue