Merge branch 'bugfix/openocd_top_used_priority' into 'master'

freertos: place uxTopUsedPriority into DRAM

See merge request !1246
This commit is contained in:
Angus Gratton
2017-09-13 09:02:27 +08:00

View File

@@ -10,6 +10,7 @@
*/
#include "FreeRTOS.h"
#include "esp_attr.h"
#include "sdkconfig.h"
#ifdef __GNUC__
@@ -19,5 +20,5 @@
#endif
#ifdef CONFIG_ESP32_DEBUG_OCDAWARE
const int USED uxTopUsedPriority = configMAX_PRIORITIES - 1;
#endif
const int USED DRAM_ATTR uxTopUsedPriority = configMAX_PRIORITIES - 1;
#endif