mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-17 15:15:02 +00:00
refactor: remove dependency on spi_flash include for sector size
This commit is contained in:
12
components/nvs_flash/test_nvs_host/test_partition_linux.cpp
Normal file
12
components/nvs_flash/test_nvs_host/test_partition_linux.cpp
Normal file
@@ -0,0 +1,12 @@
|
||||
/*
|
||||
* SPDX-FileCopyrightText: 2024 Espressif Systems (Shanghai) CO LTD
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
#include "esp_private/partition_linux.h"
|
||||
#include "esp_partition.h"
|
||||
|
||||
uint32_t esp_partition_get_main_flash_sector_size(void)
|
||||
{
|
||||
return ESP_PARTITION_EMULATED_SECTOR_SIZE;
|
||||
}
|
Reference in New Issue
Block a user