diff --git a/os/hal/lib/complex/serial_nor/devices/macronix_mx25/hal_flash_device.h b/os/hal/lib/complex/serial_nor/devices/macronix_mx25/hal_flash_device.h index 0f47895d1..c0dbb1f31 100644 --- a/os/hal/lib/complex/serial_nor/devices/macronix_mx25/hal_flash_device.h +++ b/os/hal/lib/complex/serial_nor/devices/macronix_mx25/hal_flash_device.h @@ -288,9 +288,9 @@ /** * @brief Device bus mode to be used. - * #note if @p MX25_SWITCH_WIDTH is @p FALSE then this is the bus mode + * @note if @p MX25_SWITCH_WIDTH is @p FALSE then this is the bus mode * that the device is expected to be using. - * #note if @p MX25_SWITCH_WIDTH is @p TRUE then this is the bus mode + * @note if @p MX25_SWITCH_WIDTH is @p TRUE then this is the bus mode * that the device will be switched in. * @note This option is only valid in WSPI bus mode. */ diff --git a/os/hal/lib/complex/serial_nor/devices/micron_n25q/hal_flash_device.h b/os/hal/lib/complex/serial_nor/devices/micron_n25q/hal_flash_device.h index 14d00c775..c70399703 100644 --- a/os/hal/lib/complex/serial_nor/devices/micron_n25q/hal_flash_device.h +++ b/os/hal/lib/complex/serial_nor/devices/micron_n25q/hal_flash_device.h @@ -124,9 +124,9 @@ /** * @brief Device bus mode to be used. - * #note if @p N25Q_SWITCH_WIDTH is @p FALSE then this is the bus mode + * @note if @p N25Q_SWITCH_WIDTH is @p FALSE then this is the bus mode * that the device is expected to be using. - * #note if @p N25Q_SWITCH_WIDTH is @p TRUE then this is the bus mode + * @note if @p N25Q_SWITCH_WIDTH is @p TRUE then this is the bus mode * that the device will be switched in. * @note This option is only valid in WSPI bus mode. */ diff --git a/testhal/STM32/multi/WSPI-MFS/cfg/stm32h735ig_discovery/portab.c b/testhal/STM32/multi/WSPI-MFS/cfg/stm32h735ig_discovery/portab.c index 4e8de6bf3..d5b91fea7 100644 --- a/testhal/STM32/multi/WSPI-MFS/cfg/stm32h735ig_discovery/portab.c +++ b/testhal/STM32/multi/WSPI-MFS/cfg/stm32h735ig_discovery/portab.c @@ -39,7 +39,7 @@ const WSPIConfig WSPIcfg1 = { .error_cb = NULL, .dcr1 = STM32_DCR1_DLYBYP_MODE | STM32_DCR1_MTYP(1U) | /* Macronix mode. */ - STM32_DCR1_DEVSIZE(26U) | /* 64MB device. */ + STM32_DCR1_DEVSIZE(25U) | /* 64MB device. */ STM32_DCR1_CSHT(1U), /* NCS 2 cycles delay. */ .dcr2 = 0U, .dcr3 = 0U, diff --git a/testhal/STM32/multi/WSPI-MFS/cfg/stm32l4r9_discovery/portab.c b/testhal/STM32/multi/WSPI-MFS/cfg/stm32l4r9_discovery/portab.c index e24d7446e..73469452f 100644 --- a/testhal/STM32/multi/WSPI-MFS/cfg/stm32l4r9_discovery/portab.c +++ b/testhal/STM32/multi/WSPI-MFS/cfg/stm32l4r9_discovery/portab.c @@ -38,7 +38,7 @@ const WSPIConfig WSPIcfg1 = { .end_cb = NULL, .error_cb = NULL, .dcr1 = STM32_DCR1_MTYP(1U) | /* Macronix mode. */ - STM32_DCR1_DEVSIZE(26U) | /* 64MB device. */ + STM32_DCR1_DEVSIZE(25U) | /* 64MB device. */ STM32_DCR1_CSHT(1U), /* NCS 2 cycles delay. */ .dcr2 = 0U, .dcr3 = 0U,