From 2332153c905cc97999e61332721e0ee140a98c68 Mon Sep 17 00:00:00 2001 From: "C.S.M" Date: Tue, 27 Aug 2024 16:20:55 +0800 Subject: [PATCH] flash_driver: fix the component manager url --- esp_flash_nor/CMakeLists.txt | 3 +-- esp_flash_nor/idf_component.yml | 4 ++-- esp_flash_nor/linker.lf | 3 ++- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/esp_flash_nor/CMakeLists.txt b/esp_flash_nor/CMakeLists.txt index 1a88460..657347d 100644 --- a/esp_flash_nor/CMakeLists.txt +++ b/esp_flash_nor/CMakeLists.txt @@ -2,8 +2,7 @@ if(BOOTLOADER_BUILD) idf_component_register(SRCS "bootloader_flash_driver/bootloader_flash_custom.c" PRIV_REQUIRES bootloader_support spi_flash INCLUDE_DIRS bootloader_flash_driver/include - INCLUDE_DIRS "" - LDFRAGMENTS linker.lf) + INCLUDE_DIRS "") else() idf_component_register(SRCS "app_flash_driver/esp_flash_eon/spi_flash_chip_eon.c" diff --git a/esp_flash_nor/idf_component.yml b/esp_flash_nor/idf_component.yml index 10384ac..9d3d294 100644 --- a/esp_flash_nor/idf_component.yml +++ b/esp_flash_nor/idf_component.yml @@ -1,6 +1,6 @@ -version: "0.0.1" +version: "0.0.2" description: "Component of 3rd party NOR flash drivers" -url: https://github.com/espressif/esp-flash-drivers/esp_flash_nor +url: https://github.com/espressif/esp-flash-drivers dependencies: idf: version: ">=5.0" diff --git a/esp_flash_nor/linker.lf b/esp_flash_nor/linker.lf index 5ff46eb..d9eed64 100644 --- a/esp_flash_nor/linker.lf +++ b/esp_flash_nor/linker.lf @@ -1,4 +1,5 @@ [mapping:custom_flash_driver] archive: libcustom_flash_driver.a entries: - spi_flash_chip_eon (noflash) + if APP_BUILD_TYPE_PURE_RAM_APP = n: + spi_flash_chip_eon (noflash)