From 32b43c1fdee5cbbf9d250fbfeb75f7a654782df4 Mon Sep 17 00:00:00 2001 From: SummerGift Date: Mon, 28 Jan 2019 13:55:23 +0800 Subject: [PATCH] [bsp][stm32] optimize spi flash prompt message --- bsp/stm32/stm32f103-atk-nano/board/Kconfig | 2 +- bsp/stm32/stm32f103-fire-arbitrary/board/Kconfig | 2 +- bsp/stm32/stm32f407-atk-explorer/board/Kconfig | 2 +- bsp/stm32/stm32f429-armfly-v6/board/Kconfig | 2 +- bsp/stm32/stm32f429-atk-apollo/board/Kconfig | 2 +- bsp/stm32/stm32f429-fire-challenger/board/Kconfig | 2 +- bsp/stm32/stm32f767-atk-apollo/board/Kconfig | 2 +- bsp/stm32/stm32f767-atk-apollo/board/ports/drv_qspi_flash.c | 2 +- .../stm32f767-fire-challenger/board/ports/drv_qspi_flash.c | 2 +- bsp/stm32/stm32l475-atk-pandora/board/Kconfig | 2 +- bsp/stm32/stm32l475-atk-pandora/board/ports/drv_qspi_flash.c | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/bsp/stm32/stm32f103-atk-nano/board/Kconfig b/bsp/stm32/stm32f103-atk-nano/board/Kconfig index e7873048cf..010389a3bb 100644 --- a/bsp/stm32/stm32f103-atk-nano/board/Kconfig +++ b/bsp/stm32/stm32f103-atk-nano/board/Kconfig @@ -19,7 +19,7 @@ menu "Onboard Peripheral Drivers" default n config BSP_USING_SPI_FLASH - bool "Enable SPI FLASH (w25q16 spi2)" + bool "Enable SPI FLASH (W25Q16 spi2)" select BSP_USING_SPI select BSP_USING_SPI2 select RT_USING_SFUD diff --git a/bsp/stm32/stm32f103-fire-arbitrary/board/Kconfig b/bsp/stm32/stm32f103-fire-arbitrary/board/Kconfig index 983ce4bb86..419bb3564c 100644 --- a/bsp/stm32/stm32f103-fire-arbitrary/board/Kconfig +++ b/bsp/stm32/stm32f103-fire-arbitrary/board/Kconfig @@ -19,7 +19,7 @@ menu "Onboard Peripheral Drivers" default n config BSP_USING_SPI_FLASH - bool "Enable SPI FLASH (w25q64 spi1)" + bool "Enable SPI FLASH (W25Q64 spi1)" select BSP_USING_SPI select BSP_USING_SPI1 select RT_USING_SFUD diff --git a/bsp/stm32/stm32f407-atk-explorer/board/Kconfig b/bsp/stm32/stm32f407-atk-explorer/board/Kconfig index 66d7cf8d0f..5da6237062 100644 --- a/bsp/stm32/stm32f407-atk-explorer/board/Kconfig +++ b/bsp/stm32/stm32f407-atk-explorer/board/Kconfig @@ -26,7 +26,7 @@ menu "Onboard Peripheral Drivers" default n config BSP_USING_SPI_FLASH - bool "Enable SPI FLASH (w25q128 spi1)" + bool "Enable SPI FLASH (W25Q128 spi1)" select BSP_USING_SPI select BSP_USING_SPI1 select RT_USING_SFUD diff --git a/bsp/stm32/stm32f429-armfly-v6/board/Kconfig b/bsp/stm32/stm32f429-armfly-v6/board/Kconfig index e169c1a8ac..4ecba0d5a3 100644 --- a/bsp/stm32/stm32f429-armfly-v6/board/Kconfig +++ b/bsp/stm32/stm32f429-armfly-v6/board/Kconfig @@ -24,7 +24,7 @@ menu "Onboard Peripheral Drivers" default n config BSP_USING_SPI_FLASH - bool "Enable SPI FLASH (w25q64 spi3)" + bool "Enable SPI FLASH (W25Q64 spi3)" select BSP_USING_SPI select BSP_USING_SPI3 select RT_USING_SFUD diff --git a/bsp/stm32/stm32f429-atk-apollo/board/Kconfig b/bsp/stm32/stm32f429-atk-apollo/board/Kconfig index a38ce45a8b..e43d9db64f 100644 --- a/bsp/stm32/stm32f429-atk-apollo/board/Kconfig +++ b/bsp/stm32/stm32f429-atk-apollo/board/Kconfig @@ -30,7 +30,7 @@ menu "Onboard Peripheral Drivers" default n config BSP_USING_SPI_FLASH - bool "Enable SPI FLASH (w25q256 spi5)" + bool "Enable SPI FLASH (W25Q256 spi5)" select BSP_USING_SPI select BSP_USING_SPI5 select RT_USING_SFUD diff --git a/bsp/stm32/stm32f429-fire-challenger/board/Kconfig b/bsp/stm32/stm32f429-fire-challenger/board/Kconfig index 4e8b545302..f0514211da 100644 --- a/bsp/stm32/stm32f429-fire-challenger/board/Kconfig +++ b/bsp/stm32/stm32f429-fire-challenger/board/Kconfig @@ -25,7 +25,7 @@ menu "Onboard Peripheral Drivers" default n config BSP_USING_SPI_FLASH - bool "Enable SPI FLASH (w25q256 spi5)" + bool "Enable SPI FLASH (W25Q128 spi5)" select BSP_USING_SPI select BSP_USING_SPI5 select RT_USING_SFUD diff --git a/bsp/stm32/stm32f767-atk-apollo/board/Kconfig b/bsp/stm32/stm32f767-atk-apollo/board/Kconfig index 7d1273b33f..676fb439da 100644 --- a/bsp/stm32/stm32f767-atk-apollo/board/Kconfig +++ b/bsp/stm32/stm32f767-atk-apollo/board/Kconfig @@ -24,7 +24,7 @@ menu "Onboard Peripheral Drivers" default n config BSP_USING_QSPI_FLASH - bool "Enable QSPI FLASH (W25Q256 qspi)" + bool "Enable QSPI FLASH (w25q128 qspi)" select BSP_USING_QSPI select RT_USING_SFUD select RT_SFUD_USING_QSPI diff --git a/bsp/stm32/stm32f767-atk-apollo/board/ports/drv_qspi_flash.c b/bsp/stm32/stm32f767-atk-apollo/board/ports/drv_qspi_flash.c index 0345cfc9fb..36ecb754e9 100644 --- a/bsp/stm32/stm32f767-atk-apollo/board/ports/drv_qspi_flash.c +++ b/bsp/stm32/stm32f767-atk-apollo/board/ports/drv_qspi_flash.c @@ -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); /* init w25q128 */ - if (RT_NULL == rt_sfud_flash_probe("w25q128", "qspi10")) + if (RT_NULL == rt_sfud_flash_probe("W25Q128", "qspi10")) { return -RT_ERROR; } diff --git a/bsp/stm32/stm32f767-fire-challenger/board/ports/drv_qspi_flash.c b/bsp/stm32/stm32f767-fire-challenger/board/ports/drv_qspi_flash.c index 0345cfc9fb..36ecb754e9 100644 --- a/bsp/stm32/stm32f767-fire-challenger/board/ports/drv_qspi_flash.c +++ b/bsp/stm32/stm32f767-fire-challenger/board/ports/drv_qspi_flash.c @@ -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); /* init w25q128 */ - if (RT_NULL == rt_sfud_flash_probe("w25q128", "qspi10")) + if (RT_NULL == rt_sfud_flash_probe("W25Q128", "qspi10")) { return -RT_ERROR; } diff --git a/bsp/stm32/stm32l475-atk-pandora/board/Kconfig b/bsp/stm32/stm32l475-atk-pandora/board/Kconfig index afe8fe2f5e..28b7b0dde1 100644 --- a/bsp/stm32/stm32l475-atk-pandora/board/Kconfig +++ b/bsp/stm32/stm32l475-atk-pandora/board/Kconfig @@ -14,7 +14,7 @@ menu "Onboard Peripheral Drivers" default y config BSP_USING_QSPI_FLASH - bool "Enable QSPI FLASH" + bool "Enable QSPI FLASH (W25Q128 qspi1)" select BSP_USING_QSPI select RT_USING_SFUD select RT_SFUD_USING_QSPI diff --git a/bsp/stm32/stm32l475-atk-pandora/board/ports/drv_qspi_flash.c b/bsp/stm32/stm32l475-atk-pandora/board/ports/drv_qspi_flash.c index 0345cfc9fb..36ecb754e9 100644 --- a/bsp/stm32/stm32l475-atk-pandora/board/ports/drv_qspi_flash.c +++ b/bsp/stm32/stm32l475-atk-pandora/board/ports/drv_qspi_flash.c @@ -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); /* init w25q128 */ - if (RT_NULL == rt_sfud_flash_probe("w25q128", "qspi10")) + if (RT_NULL == rt_sfud_flash_probe("W25Q128", "qspi10")) { return -RT_ERROR; }