-
Notifications
You must be signed in to change notification settings - Fork 7.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'feature/spi_flash_vendor_classify' into 'master'
spi_flash: only link flash vendor which is officially supported to save IRAM See merge request espressif/esp-idf!22255
- Loading branch information
Showing
20 changed files
with
337 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
##################################################### | ||
# This file is auto-generated from SoC caps | ||
# using gen_soc_caps_kconfig.py, do not edit manually | ||
##################################################### | ||
|
||
config SPI_FLASH_VENDOR_XMC_SUPPORTED | ||
bool | ||
default y | ||
|
||
config SPI_FLASH_VENDOR_GD_SUPPORTED | ||
bool | ||
default y | ||
|
||
config SPI_FLASH_VENDOR_ISSI_SUPPORTED | ||
bool | ||
default y | ||
|
||
config SPI_FLASH_VENDOR_MXIC_SUPPORTED | ||
bool | ||
default y | ||
|
||
config SPI_FLASH_VENDOR_WINBOND_SUPPORTED | ||
bool | ||
default y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
/* | ||
* SPDX-FileCopyrightText: 2023 Espressif Systems (Shanghai) CO LTD | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
/** | ||
* This file records the flash vendor that we offically supported. | ||
* we have many chip-specific files, like ``spi_flash_chip_gd.c``, | ||
* which means that this file is used for GD flash chips. | ||
* | ||
* The following definations illustrate what flash vendor is officially | ||
* supported by ESP chips. If a flash vendor is officially supported, the chip | ||
* specific file will be linked by default, vice versa. You can also adjust this | ||
* manually in Kconfig options. | ||
* | ||
* For example: | ||
* Following `SPI_FLASH_VENDOR_ISSI_SUPPORTED` is (1), which means file `spi_flash_chip_issi.c` | ||
* will be linked. | ||
* | ||
*/ | ||
|
||
#pragma once | ||
|
||
#define SPI_FLASH_VENDOR_XMC_SUPPORTED (1) | ||
#define SPI_FLASH_VENDOR_GD_SUPPORTED (1) | ||
#define SPI_FLASH_VENDOR_ISSI_SUPPORTED (1) | ||
#define SPI_FLASH_VENDOR_MXIC_SUPPORTED (1) | ||
#define SPI_FLASH_VENDOR_WINBOND_SUPPORTED (1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
##################################################### | ||
# This file is auto-generated from SoC caps | ||
# using gen_soc_caps_kconfig.py, do not edit manually | ||
##################################################### | ||
|
||
config SPI_FLASH_VENDOR_XMC_SUPPORTED | ||
bool | ||
default y | ||
|
||
config SPI_FLASH_VENDOR_GD_SUPPORTED | ||
bool | ||
default y | ||
|
||
config SPI_FLASH_VENDOR_ISSI_SUPPORTED | ||
bool | ||
default y | ||
|
||
config SPI_FLASH_VENDOR_MXIC_SUPPORTED | ||
bool | ||
default y | ||
|
||
config SPI_FLASH_VENDOR_WINBOND_SUPPORTED | ||
bool | ||
default y | ||
|
||
config SPI_FLASH_VENDOR_BOYA_SUPPORTED | ||
bool | ||
default y | ||
|
||
config SPI_FLASH_VENDOR_TH_SUPPORTED | ||
bool | ||
default y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
/* | ||
* SPDX-FileCopyrightText: 2023 Espressif Systems (Shanghai) CO LTD | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
#pragma once | ||
|
||
#define SPI_FLASH_VENDOR_XMC_SUPPORTED (1) | ||
#define SPI_FLASH_VENDOR_GD_SUPPORTED (1) | ||
#define SPI_FLASH_VENDOR_ISSI_SUPPORTED (1) | ||
#define SPI_FLASH_VENDOR_MXIC_SUPPORTED (1) | ||
#define SPI_FLASH_VENDOR_WINBOND_SUPPORTED (1) | ||
#define SPI_FLASH_VENDOR_BOYA_SUPPORTED (1) | ||
#define SPI_FLASH_VENDOR_TH_SUPPORTED (1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
##################################################### | ||
# This file is auto-generated from SoC caps | ||
# using gen_soc_caps_kconfig.py, do not edit manually | ||
##################################################### | ||
|
||
config SPI_FLASH_VENDOR_XMC_SUPPORTED | ||
bool | ||
default y | ||
|
||
config SPI_FLASH_VENDOR_GD_SUPPORTED | ||
bool | ||
default y | ||
|
||
config SPI_FLASH_VENDOR_ISSI_SUPPORTED | ||
bool | ||
default y | ||
|
||
config SPI_FLASH_VENDOR_MXIC_SUPPORTED | ||
bool | ||
default y | ||
|
||
config SPI_FLASH_VENDOR_WINBOND_SUPPORTED | ||
bool | ||
default y | ||
|
||
config SPI_FLASH_VENDOR_BOYA_SUPPORTED | ||
bool | ||
default y | ||
|
||
config SPI_FLASH_VENDOR_TH_SUPPORTED | ||
bool | ||
default y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
/* | ||
* SPDX-FileCopyrightText: 2023 Espressif Systems (Shanghai) CO LTD | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
#pragma once | ||
|
||
#define SPI_FLASH_VENDOR_XMC_SUPPORTED (1) | ||
#define SPI_FLASH_VENDOR_GD_SUPPORTED (1) | ||
#define SPI_FLASH_VENDOR_ISSI_SUPPORTED (1) | ||
#define SPI_FLASH_VENDOR_MXIC_SUPPORTED (1) | ||
#define SPI_FLASH_VENDOR_WINBOND_SUPPORTED (1) | ||
#define SPI_FLASH_VENDOR_BOYA_SUPPORTED (1) | ||
#define SPI_FLASH_VENDOR_TH_SUPPORTED (1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
##################################################### | ||
# This file is auto-generated from SoC caps | ||
# using gen_soc_caps_kconfig.py, do not edit manually | ||
##################################################### | ||
|
||
config SPI_FLASH_VENDOR_XMC_SUPPORTED | ||
bool | ||
default y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
/* | ||
* SPDX-FileCopyrightText: 2023 Espressif Systems (Shanghai) CO LTD | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
#pragma once | ||
|
||
#define SPI_FLASH_VENDOR_XMC_SUPPORTED (1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
##################################################### | ||
# This file is auto-generated from SoC caps | ||
# using gen_soc_caps_kconfig.py, do not edit manually | ||
##################################################### | ||
|
||
config SPI_FLASH_VENDOR_XMC_SUPPORTED | ||
bool | ||
default y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
/* | ||
* SPDX-FileCopyrightText: 2023 Espressif Systems (Shanghai) CO LTD | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
#pragma once | ||
|
||
#define SPI_FLASH_VENDOR_XMC_SUPPORTED (1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
##################################################### | ||
# This file is auto-generated from SoC caps | ||
# using gen_soc_caps_kconfig.py, do not edit manually | ||
##################################################### | ||
|
||
config SPI_FLASH_VENDOR_XMC_SUPPORTED | ||
bool | ||
default y | ||
|
||
config SPI_FLASH_VENDOR_GD_SUPPORTED | ||
bool | ||
default y | ||
|
||
config SPI_FLASH_VENDOR_ISSI_SUPPORTED | ||
bool | ||
default y | ||
|
||
config SPI_FLASH_VENDOR_MXIC_SUPPORTED | ||
bool | ||
default y | ||
|
||
config SPI_FLASH_VENDOR_WINBOND_SUPPORTED | ||
bool | ||
default y | ||
|
||
config SPI_FLASH_VENDOR_BOYA_SUPPORTED | ||
bool | ||
default y | ||
|
||
config SPI_FLASH_VENDOR_TH_SUPPORTED | ||
bool | ||
default y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
/* | ||
* SPDX-FileCopyrightText: 2023 Espressif Systems (Shanghai) CO LTD | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
#pragma once | ||
|
||
#define SPI_FLASH_VENDOR_XMC_SUPPORTED (1) | ||
#define SPI_FLASH_VENDOR_GD_SUPPORTED (1) | ||
#define SPI_FLASH_VENDOR_ISSI_SUPPORTED (1) | ||
#define SPI_FLASH_VENDOR_MXIC_SUPPORTED (1) | ||
#define SPI_FLASH_VENDOR_WINBOND_SUPPORTED (1) | ||
#define SPI_FLASH_VENDOR_BOYA_SUPPORTED (1) | ||
#define SPI_FLASH_VENDOR_TH_SUPPORTED (1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
##################################################### | ||
# This file is auto-generated from SoC caps | ||
# using gen_soc_caps_kconfig.py, do not edit manually | ||
##################################################### | ||
|
||
config SPI_FLASH_VENDOR_XMC_SUPPORTED | ||
bool | ||
default y | ||
|
||
config SPI_FLASH_VENDOR_GD_SUPPORTED | ||
bool | ||
default y | ||
|
||
config SPI_FLASH_VENDOR_ISSI_SUPPORTED | ||
bool | ||
default y | ||
|
||
config SPI_FLASH_VENDOR_MXIC_SUPPORTED | ||
bool | ||
default y | ||
|
||
config SPI_FLASH_VENDOR_WINBOND_SUPPORTED | ||
bool | ||
default y | ||
|
||
config SPI_FLASH_VENDOR_BOYA_SUPPORTED | ||
bool | ||
default y | ||
|
||
config SPI_FLASH_VENDOR_TH_SUPPORTED | ||
bool | ||
default y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
/* | ||
* SPDX-FileCopyrightText: 2023 Espressif Systems (Shanghai) CO LTD | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
#pragma once | ||
|
||
#define SPI_FLASH_VENDOR_XMC_SUPPORTED (1) | ||
#define SPI_FLASH_VENDOR_GD_SUPPORTED (1) | ||
#define SPI_FLASH_VENDOR_ISSI_SUPPORTED (1) | ||
#define SPI_FLASH_VENDOR_MXIC_SUPPORTED (1) | ||
#define SPI_FLASH_VENDOR_WINBOND_SUPPORTED (1) | ||
#define SPI_FLASH_VENDOR_BOYA_SUPPORTED (1) | ||
#define SPI_FLASH_VENDOR_TH_SUPPORTED (1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
##################################################### | ||
# This file is auto-generated from SoC caps | ||
# using gen_soc_caps_kconfig.py, do not edit manually | ||
##################################################### | ||
|
||
config SPI_FLASH_VENDOR_XMC_SUPPORTED | ||
bool | ||
default y | ||
|
||
config SPI_FLASH_VENDOR_GD_SUPPORTED | ||
bool | ||
default y | ||
|
||
config SPI_FLASH_VENDOR_ISSI_SUPPORTED | ||
bool | ||
default y | ||
|
||
config SPI_FLASH_VENDOR_MXIC_SUPPORTED | ||
bool | ||
default y | ||
|
||
config SPI_FLASH_VENDOR_WINBOND_SUPPORTED | ||
bool | ||
default y | ||
|
||
config SPI_FLASH_VENDOR_BOYA_SUPPORTED | ||
bool | ||
default y | ||
|
||
config SPI_FLASH_VENDOR_TH_SUPPORTED | ||
bool | ||
default y |
Oops, something went wrong.