added psram stack check in backtrace

This commit is contained in:
Li Shuai
2020-03-02 20:40:07 +08:00
parent 6f7be93d53
commit c796e14964
2 changed files with 20 additions and 1 deletions

View File

@@ -113,6 +113,8 @@ void IRAM_ATTR spi_flash_op_block_func(void *arg)
void IRAM_ATTR spi_flash_disable_interrupts_caches_and_other_cpu(void)
{
assert(esp_ptr_in_dram((const void *)get_sp()));
spi_flash_op_lock();
const uint32_t cpuid = xPortGetCoreID();