ESP_ERR_FLASH_BASE' undeclared

Hayagreeva
Posts: 1
Joined: Fri Oct 11, 2019 9:45 am

ESP_ERR_FLASH_BASE' undeclared

Postby Hayagreeva » Fri Oct 11, 2019 9:50 am

Hi all,

I am facing such issue:

/Esp/esp-idf/components/spi_flash/include/esp_spi_flash.h:28:35: error: 'ESP_ERR_FLASH_BASE' undeclared (first use in this function); did you mean 'ESP_ERR_MESH_BASE'?
#define ESP_ERR_FLASH_OP_FAIL (ESP_ERR_FLASH_BASE + 1)

I do 'make flash' and this problem pop up.However no error thrown during idf.py build.

As i am new to ESP, i can't understand what is the root cause of this?

Can you help?

Who is online

Users browsing this forum: No registered users and 103 guests