Closes https://github.com/espressif/esp-idf/issues/15229
NON_OS_BUILD
See the spi_flash.rst in the programming guide folder for more details.