Files
esp-idf/components/esp_mspi/spi_flash_os_tee_stub.c
armando 6e3abd12a1 refactor(spi_flash): move os layer to esp_mspi and chip configs to spi_flash
Also fixes the implicit dependency on esp_partition.
2026-09-09 14:17:00 +08:00

17 lines
441 B
C

/*
* SPDX-FileCopyrightText: 2026 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*
* Stub for spi_flash_is_octal_mode_enabled() when building for non-OS contexts
* (bootloader, TEE, PURE_RAM_APP). Full flash_ops.c is not built there, but
* esp_hw_support may still reference this symbol; returning false is safe.
*/
#include <stdbool.h>
bool spi_flash_is_octal_mode_enabled(void)
{
return false;
}