提交 32b43c1f 编写于 作者: S SummerGift

[bsp][stm32] optimize spi flash prompt message

上级 d53a8f55
...@@ -19,7 +19,7 @@ menu "Onboard Peripheral Drivers" ...@@ -19,7 +19,7 @@ menu "Onboard Peripheral Drivers"
default n default n
config BSP_USING_SPI_FLASH config BSP_USING_SPI_FLASH
bool "Enable SPI FLASH (w25q16 spi2)" bool "Enable SPI FLASH (W25Q16 spi2)"
select BSP_USING_SPI select BSP_USING_SPI
select BSP_USING_SPI2 select BSP_USING_SPI2
select RT_USING_SFUD select RT_USING_SFUD
......
...@@ -19,7 +19,7 @@ menu "Onboard Peripheral Drivers" ...@@ -19,7 +19,7 @@ menu "Onboard Peripheral Drivers"
default n default n
config BSP_USING_SPI_FLASH config BSP_USING_SPI_FLASH
bool "Enable SPI FLASH (w25q64 spi1)" bool "Enable SPI FLASH (W25Q64 spi1)"
select BSP_USING_SPI select BSP_USING_SPI
select BSP_USING_SPI1 select BSP_USING_SPI1
select RT_USING_SFUD select RT_USING_SFUD
......
...@@ -26,7 +26,7 @@ menu "Onboard Peripheral Drivers" ...@@ -26,7 +26,7 @@ menu "Onboard Peripheral Drivers"
default n default n
config BSP_USING_SPI_FLASH config BSP_USING_SPI_FLASH
bool "Enable SPI FLASH (w25q128 spi1)" bool "Enable SPI FLASH (W25Q128 spi1)"
select BSP_USING_SPI select BSP_USING_SPI
select BSP_USING_SPI1 select BSP_USING_SPI1
select RT_USING_SFUD select RT_USING_SFUD
......
...@@ -24,7 +24,7 @@ menu "Onboard Peripheral Drivers" ...@@ -24,7 +24,7 @@ menu "Onboard Peripheral Drivers"
default n default n
config BSP_USING_SPI_FLASH config BSP_USING_SPI_FLASH
bool "Enable SPI FLASH (w25q64 spi3)" bool "Enable SPI FLASH (W25Q64 spi3)"
select BSP_USING_SPI select BSP_USING_SPI
select BSP_USING_SPI3 select BSP_USING_SPI3
select RT_USING_SFUD select RT_USING_SFUD
......
...@@ -30,7 +30,7 @@ menu "Onboard Peripheral Drivers" ...@@ -30,7 +30,7 @@ menu "Onboard Peripheral Drivers"
default n default n
config BSP_USING_SPI_FLASH config BSP_USING_SPI_FLASH
bool "Enable SPI FLASH (w25q256 spi5)" bool "Enable SPI FLASH (W25Q256 spi5)"
select BSP_USING_SPI select BSP_USING_SPI
select BSP_USING_SPI5 select BSP_USING_SPI5
select RT_USING_SFUD select RT_USING_SFUD
......
...@@ -25,7 +25,7 @@ menu "Onboard Peripheral Drivers" ...@@ -25,7 +25,7 @@ menu "Onboard Peripheral Drivers"
default n default n
config BSP_USING_SPI_FLASH config BSP_USING_SPI_FLASH
bool "Enable SPI FLASH (w25q256 spi5)" bool "Enable SPI FLASH (W25Q128 spi5)"
select BSP_USING_SPI select BSP_USING_SPI
select BSP_USING_SPI5 select BSP_USING_SPI5
select RT_USING_SFUD select RT_USING_SFUD
......
...@@ -24,7 +24,7 @@ menu "Onboard Peripheral Drivers" ...@@ -24,7 +24,7 @@ menu "Onboard Peripheral Drivers"
default n default n
config BSP_USING_QSPI_FLASH config BSP_USING_QSPI_FLASH
bool "Enable QSPI FLASH (W25Q256 qspi)" bool "Enable QSPI FLASH (w25q128 qspi)"
select BSP_USING_QSPI select BSP_USING_QSPI
select RT_USING_SFUD select RT_USING_SFUD
select RT_SFUD_USING_QSPI select RT_SFUD_USING_QSPI
......
...@@ -65,7 +65,7 @@ static int rt_hw_qspi_flash_with_sfud_init(void) ...@@ -65,7 +65,7 @@ static int rt_hw_qspi_flash_with_sfud_init(void)
stm32_qspi_bus_attach_device("qspi1", "qspi10", RT_NULL, 4, w25qxx_enter_qspi_mode, RT_NULL); stm32_qspi_bus_attach_device("qspi1", "qspi10", RT_NULL, 4, w25qxx_enter_qspi_mode, RT_NULL);
/* init w25q128 */ /* init w25q128 */
if (RT_NULL == rt_sfud_flash_probe("w25q128", "qspi10")) if (RT_NULL == rt_sfud_flash_probe("W25Q128", "qspi10"))
{ {
return -RT_ERROR; return -RT_ERROR;
} }
......
...@@ -65,7 +65,7 @@ static int rt_hw_qspi_flash_with_sfud_init(void) ...@@ -65,7 +65,7 @@ static int rt_hw_qspi_flash_with_sfud_init(void)
stm32_qspi_bus_attach_device("qspi1", "qspi10", RT_NULL, 4, w25qxx_enter_qspi_mode, RT_NULL); stm32_qspi_bus_attach_device("qspi1", "qspi10", RT_NULL, 4, w25qxx_enter_qspi_mode, RT_NULL);
/* init w25q128 */ /* init w25q128 */
if (RT_NULL == rt_sfud_flash_probe("w25q128", "qspi10")) if (RT_NULL == rt_sfud_flash_probe("W25Q128", "qspi10"))
{ {
return -RT_ERROR; return -RT_ERROR;
} }
......
...@@ -14,7 +14,7 @@ menu "Onboard Peripheral Drivers" ...@@ -14,7 +14,7 @@ menu "Onboard Peripheral Drivers"
default y default y
config BSP_USING_QSPI_FLASH config BSP_USING_QSPI_FLASH
bool "Enable QSPI FLASH" bool "Enable QSPI FLASH (W25Q128 qspi1)"
select BSP_USING_QSPI select BSP_USING_QSPI
select RT_USING_SFUD select RT_USING_SFUD
select RT_SFUD_USING_QSPI select RT_SFUD_USING_QSPI
......
...@@ -65,7 +65,7 @@ static int rt_hw_qspi_flash_with_sfud_init(void) ...@@ -65,7 +65,7 @@ static int rt_hw_qspi_flash_with_sfud_init(void)
stm32_qspi_bus_attach_device("qspi1", "qspi10", RT_NULL, 4, w25qxx_enter_qspi_mode, RT_NULL); stm32_qspi_bus_attach_device("qspi1", "qspi10", RT_NULL, 4, w25qxx_enter_qspi_mode, RT_NULL);
/* init w25q128 */ /* init w25q128 */
if (RT_NULL == rt_sfud_flash_probe("w25q128", "qspi10")) if (RT_NULL == rt_sfud_flash_probe("W25Q128", "qspi10"))
{ {
return -RT_ERROR; return -RT_ERROR;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册