mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 03:00:34 +03:00
refactor(spi_flash): move os layer to esp_mspi and chip configs to spi_flash
Also fixes the implicit dependency on esp_partition.
This commit is contained in:
committed by
Armando (Dou Yiwen)
parent
c565262ded
commit
6e3abd12a1
+5
-3
@@ -1,9 +1,11 @@
|
||||
/*
|
||||
* SPDX-FileCopyrightText: 2024 Espressif Systems (Shanghai) CO LTD
|
||||
* SPDX-FileCopyrightText: 2024-2026 Espressif Systems (Shanghai) CO LTD
|
||||
*
|
||||
* SPDX-License-Identifier: Unlicense OR CC0-1.0
|
||||
*/
|
||||
#include "bootloader_flash_priv.h"
|
||||
#include "esp_bit_defs.h"
|
||||
#include "bootloader_flash_override.h"
|
||||
#include "spi_flash_defs.h"
|
||||
#include "esp_rom_spiflash.h"
|
||||
#include "esp_rom_sys.h"
|
||||
#include "esp_attr.h"
|
||||
@@ -17,7 +19,7 @@ Overview
|
||||
Step-by-Step Implementation
|
||||
|
||||
1. Include Necessary Headers:
|
||||
• bootloader_flash_priv.h: For private bootloader functions.
|
||||
• bootloader_flash_override.h: For `bootloader_execute_flash_command` function.
|
||||
• esp_rom_spiflash.h: For ROM SPI flash functions.
|
||||
• esp_rom_sys.h: For basic ROM system functions.
|
||||
• esp_attr.h and esp_log.h: For attributes and logging.
|
||||
|
||||
Reference in New Issue
Block a user