feat(esp_common): Support ESP_ERROR_CHECK_ macros on Linux

Closes https://github.com/espressif/esp-idf/issues/13893
This commit is contained in:
Konstantin Kondrashov
2024-06-04 09:40:53 +03:00
parent 13e5b6f335
commit 023d112cbf
7 changed files with 40 additions and 6 deletions

View File

@@ -0,0 +1,12 @@
/*
* SPDX-FileCopyrightText: 2024 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <stdbool.h>
bool spi_flash_cache_enabled(void)
{
return true;
}