mirror of
https://github.com/espressif/esp-idf.git
synced 2025-11-26 20:53:11 +00:00
refactor(spi_flash): Refactor the flash frequency config file
This commit is contained in:
10
components/spi_flash/esp32c5/Kconfig.flash_freq
Normal file
10
components/spi_flash/esp32c5/Kconfig.flash_freq
Normal file
@@ -0,0 +1,10 @@
|
||||
choice ESPTOOLPY_FLASHFREQ
|
||||
prompt "Flash SPI speed"
|
||||
default ESPTOOLPY_FLASHFREQ_80M
|
||||
config ESPTOOLPY_FLASHFREQ_80M
|
||||
bool "80 MHz"
|
||||
config ESPTOOLPY_FLASHFREQ_40M
|
||||
bool "40 MHz"
|
||||
config ESPTOOLPY_FLASHFREQ_20M
|
||||
bool "20 MHz"
|
||||
endchoice
|
||||
8
components/spi_flash/esp32c5/Kconfig.soc_caps.in
Normal file
8
components/spi_flash/esp32c5/Kconfig.soc_caps.in
Normal file
@@ -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
|
||||
8
components/spi_flash/esp32c5/flash_vendor_caps.h
Normal file
8
components/spi_flash/esp32c5/flash_vendor_caps.h
Normal file
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
* SPDX-FileCopyrightText: 2023-2024 Espressif Systems (Shanghai) CO LTD
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#define SPI_FLASH_VENDOR_XMC_SUPPORTED (1)
|
||||
Reference in New Issue
Block a user