From d14efc2a3cc3b7806cf8c99e18076ffee654a691 Mon Sep 17 00:00:00 2001 From: slimih Date: Wed, 15 Jul 2020 14:18:03 +0100 Subject: [PATCH] Release v2.5.2 --- Class/DFU/Src/usbd_dfu.c | 4 +--- README.md | 1 + Release_Notes.html | 26 +++++++++++++++++++++++++- 3 files changed, 27 insertions(+), 4 deletions(-) diff --git a/Class/DFU/Src/usbd_dfu.c b/Class/DFU/Src/usbd_dfu.c index 98bdf49..d71c378 100644 --- a/Class/DFU/Src/usbd_dfu.c +++ b/Class/DFU/Src/usbd_dfu.c @@ -1095,7 +1095,6 @@ static void DFU_Leave(USBD_HandleTypeDef *pdev) } else { - hdfu->dev_state = DFU_STATE_MANIFEST_WAIT_RESET; hdfu->dev_status[1] = 0U; @@ -1112,8 +1111,7 @@ static void DFU_Leave(USBD_HandleTypeDef *pdev) /* Generate system reset to allow jumping to the user code */ NVIC_SystemReset(); - /* This instruction will not be reached (system reset) */ - for(;;){} + /* The next instructions will not be reached (system reset) */ } } diff --git a/README.md b/README.md index a92107c..3d45553 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,7 @@ Note that: USB Device | HAL | ---------- | ---------- | Tag v2.5.1 | Tag v1.10.2 ([stm32l0xx_hal_driver](https://github.com/STMicroelectronics/stm32l0xx_hal_driver)) +Tag v2.5.2 | Tag v1.4.0 ([stm32l1xx_hal_driver](https://github.com/STMicroelectronics/stm32l1xx_hal_driver)) ## Troubleshooting diff --git a/Release_Notes.html b/Release_Notes.html index d986789..5fcce53 100644 --- a/Release_Notes.html +++ b/Release_Notes.html @@ -923,7 +923,31 @@ ul

Update History

-

V2.5.1 / 03-August-2018
+

V2.5.2 / 27-Mars-2019

Main +Changes

+ + + + + + + + + + + + + + + + + + + + + +
  • DFU Class:
    • fix compilation warning due to unreachable + instruction code introduced with CMSIS V5.4.0 NVIC_SystemReset() prototype change

V2.5.1 / 03-August-2018