mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-26 18:14:11 +00:00
19 lines
418 B
C
19 lines
418 B
C
/*
|
|
* SPDX-FileCopyrightText: 2015-2025 Espressif Systems (Shanghai) CO LTD
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <stdint.h>
|
|
#include "esp_flash.h"
|
|
#include "spi_flash_chip_driver.h"
|
|
#include "sdkconfig.h"
|
|
|
|
#ifdef CONFIG_SPI_FLASH_SUPPORT_BOYA_CHIP
|
|
extern const spi_flash_chip_t esp_flash_chip_boya;
|
|
#else
|
|
extern __attribute__((weak)) const spi_flash_chip_t esp_flash_chip_boya;
|
|
#endif
|