esp-idf/components/spi_flash/linux/spi_flash_linux.c

14 lines
276 B
C

/*
* SPDX-FileCopyrightText: 2023 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
#include "esp_flash.h"
esp_err_t esp_flash_get_size(esp_flash_t *chip, uint32_t *out_size)
{
(void)chip;
*out_size = UINT32_MAX;
return ESP_OK;
}