mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-09 12:35:28 +00:00
feat(linux_target): enable hello world example for linux target
This commit is contained in:
13
components/spi_flash/linux/spi_flash_linux.c
Normal file
13
components/spi_flash/linux/spi_flash_linux.c
Normal file
@@ -0,0 +1,13 @@
|
||||
/*
|
||||
* 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;
|
||||
}
|
Reference in New Issue
Block a user