Patched for Audio example - Add status check when DFSDM's filter and channel de-init.

Dependents:   DISCO_F413ZH-AUDIO-demo

The base repository is https://os.mbed.com/teams/ST/code/BSP_DISCO_F413ZH/. I've just added workaround patch for Audio-in demo on DISCO_F413ZH board(Microphone U16, U17)

Files at this revision

API Documentation at this revision

Comitter:
Jerome Coutant
Date:
Wed Feb 28 14:35:04 2018 +0100
Parent:
2:0f07a9ac06f7
Child:
4:c051317d4051
Commit message:
STM32Cube_FW_F4_V1.19.0 BSP_DISCO_F413ZH

Changed in this revision

Drivers/BSP/STM32F413H-Discovery/stm32f413h_discovery.c Show annotated file Show diff for this revision Revisions of this file
Drivers/BSP/STM32F413H-Discovery/stm32f413h_discovery.h Show annotated file Show diff for this revision Revisions of this file
Drivers/BSP/STM32F413H-Discovery/stm32f413h_discovery_audio.c Show annotated file Show diff for this revision Revisions of this file
Drivers/BSP/STM32F413H-Discovery/stm32f413h_discovery_audio.h Show annotated file Show diff for this revision Revisions of this file
Drivers/BSP/STM32F413H-Discovery/stm32f413h_discovery_lcd.c Show annotated file Show diff for this revision Revisions of this file
Drivers/BSP/STM32F413H-Discovery/stm32f413h_discovery_lcd.h Show annotated file Show diff for this revision Revisions of this file
Drivers/BSP/STM32F413H-Discovery/stm32f413h_discovery_psram.c Show annotated file Show diff for this revision Revisions of this file
Drivers/BSP/STM32F413H-Discovery/stm32f413h_discovery_psram.h Show annotated file Show diff for this revision Revisions of this file
Drivers/BSP/STM32F413H-Discovery/stm32f413h_discovery_qspi.c Show annotated file Show diff for this revision Revisions of this file
Drivers/BSP/STM32F413H-Discovery/stm32f413h_discovery_qspi.h Show annotated file Show diff for this revision Revisions of this file
Drivers/BSP/STM32F413H-Discovery/stm32f413h_discovery_sd.c Show annotated file Show diff for this revision Revisions of this file
Drivers/BSP/STM32F413H-Discovery/stm32f413h_discovery_sd.h Show annotated file Show diff for this revision Revisions of this file
Drivers/BSP/STM32F413H-Discovery/stm32f413h_discovery_ts.c Show annotated file Show diff for this revision Revisions of this file
Drivers/BSP/STM32F413H-Discovery/stm32f413h_discovery_ts.h Show annotated file Show diff for this revision Revisions of this file
--- a/Drivers/BSP/STM32F413H-Discovery/stm32f413h_discovery.c	Tue May 23 11:03:57 2017 +0200
+++ b/Drivers/BSP/STM32F413H-Discovery/stm32f413h_discovery.c	Wed Feb 28 14:35:04 2018 +0100
@@ -2,8 +2,6 @@
   ******************************************************************************
   * @file    stm32f413h_discovery.c
   * @author  MCD Application Team
-  * @version V1.0.0
-  * @date    27-January-2017
   * @brief   This file provides a set of firmware functions to manage LEDs, 
   *          push-buttons and COM ports available on STM32F413H-DISCOVERY board 
   *          (MB1209) from STMicroelectronics.
@@ -69,11 +67,11 @@
   * @{
   */
 /**
- * @brief STM32F413H DISCOVERY BSP Driver version number V1.0.0
+ * @brief STM32F413H DISCOVERY BSP Driver version number V1.0.1
    */
 #define __STM32F413H_DISCOVERY_BSP_VERSION_MAIN   (0x01) /*!< [31:24] main version */
 #define __STM32F413H_DISCOVERY_BSP_VERSION_SUB1   (0x00) /*!< [23:16] sub1 version */
-#define __STM32F413H_DISCOVERY_BSP_VERSION_SUB2   (0x00) /*!< [15:8]  sub2 version */
+#define __STM32F413H_DISCOVERY_BSP_VERSION_SUB2   (0x01) /*!< [15:8]  sub2 version */
 #define __STM32F413H_DISCOVERY_BSP_VERSION_RC     (0x00) /*!< [7:0]  release candidate */
 #define __STM32F413H_DISCOVERY_BSP_VERSION        ((__STM32F413H_DISCOVERY_BSP_VERSION_MAIN << 24)\
                                                  |(__STM32F413H_DISCOVERY_BSP_VERSION_SUB1 << 16)\
--- a/Drivers/BSP/STM32F413H-Discovery/stm32f413h_discovery.h	Tue May 23 11:03:57 2017 +0200
+++ b/Drivers/BSP/STM32F413H-Discovery/stm32f413h_discovery.h	Wed Feb 28 14:35:04 2018 +0100
@@ -2,8 +2,6 @@
   ******************************************************************************
   * @file    stm32f413h_discovery.h
   * @author  MCD Application Team
-  * @version V1.0.0
-  * @date    27-January-2017
   * @brief   This file contains definitions for STM32F413H_DISCOVERY's LEDs,
   *          push-buttons and COM ports hardware resources.
   ******************************************************************************
--- a/Drivers/BSP/STM32F413H-Discovery/stm32f413h_discovery_audio.c	Tue May 23 11:03:57 2017 +0200
+++ b/Drivers/BSP/STM32F413H-Discovery/stm32f413h_discovery_audio.c	Wed Feb 28 14:35:04 2018 +0100
@@ -2,8 +2,6 @@
   ******************************************************************************
   * @file    STM32f413h_discovery_audio.c
   * @author  MCD Application Team
-  * @version V1.0.0
-  * @date    27-January-2017
   * @brief   This file provides the Audio driver for the STM32F413H-DISCOVERY board.
   ******************************************************************************
   * @attention
--- a/Drivers/BSP/STM32F413H-Discovery/stm32f413h_discovery_audio.h	Tue May 23 11:03:57 2017 +0200
+++ b/Drivers/BSP/STM32F413H-Discovery/stm32f413h_discovery_audio.h	Wed Feb 28 14:35:04 2018 +0100
@@ -2,8 +2,6 @@
   ******************************************************************************
   * @file    stm32f413h_discovery_audio.h
   * @author  MCD Application Team
-  * @version V1.0.0
-  * @date    27-January-2017
   * @brief   This file contains the common defines and functions prototypes for
   *          the stm32f413h_discovery_audio.c driver.
   ******************************************************************************
--- a/Drivers/BSP/STM32F413H-Discovery/stm32f413h_discovery_lcd.c	Tue May 23 11:03:57 2017 +0200
+++ b/Drivers/BSP/STM32F413H-Discovery/stm32f413h_discovery_lcd.c	Wed Feb 28 14:35:04 2018 +0100
@@ -2,8 +2,6 @@
   ******************************************************************************
   * @file    stm32f413h_discovery_lcd.c
   * @author  MCD Application Team
-  * @version V1.0.0
-  * @date    27-January-2017
   * @brief   This file includes the driver for Liquid Crystal Display (LCD) module
   *          mounted on STM32F413H-DISCOVERY board.
   ******************************************************************************
@@ -688,12 +686,10 @@
   uint32_t width  = 0;
  
   /* Read bitmap width */
-  width = *(uint16_t *) (pbmp + 18);
-  width |= (*(uint16_t *) (pbmp + 20)) << 16;
-  
+  width = pbmp[18] + (pbmp[19] << 8) + (pbmp[20] << 16)  + (pbmp[21] << 24);
+
   /* Read bitmap height */
-  height = *(uint16_t *) (pbmp + 22);
-  height |= (*(uint16_t *) (pbmp + 24)) << 16; 
+  height = pbmp[22] + (pbmp[23] << 8) + (pbmp[24] << 16)  + (pbmp[25] << 24);
   
   SetDisplayWindow(Xpos, Ypos, width, height);
   
--- a/Drivers/BSP/STM32F413H-Discovery/stm32f413h_discovery_lcd.h	Tue May 23 11:03:57 2017 +0200
+++ b/Drivers/BSP/STM32F413H-Discovery/stm32f413h_discovery_lcd.h	Wed Feb 28 14:35:04 2018 +0100
@@ -2,8 +2,6 @@
   ******************************************************************************
   * @file    stm32f413h_discovery_lcd.h
   * @author  MCD Application Team
-  * @version V1.0.0
-  * @date    27-January-2017
   * @brief   This file contains the common defines and functions prototypes for
   *          the stm32f413h_discovery_lcd.c driver.
   ******************************************************************************
--- a/Drivers/BSP/STM32F413H-Discovery/stm32f413h_discovery_psram.c	Tue May 23 11:03:57 2017 +0200
+++ b/Drivers/BSP/STM32F413H-Discovery/stm32f413h_discovery_psram.c	Wed Feb 28 14:35:04 2018 +0100
@@ -2,8 +2,6 @@
   ******************************************************************************
   * @file    stm32f413h_discovery_psram.c
   * @author  MCD Application Team
-  * @version V1.0.0
-  * @date    27-January-2017
   * @brief   This file includes the PSRAM driver for the IS61WV51216BLL-10MLI memory 
   *          device mounted on STM32F413H-DISCOVERY boards.
   @verbatim
--- a/Drivers/BSP/STM32F413H-Discovery/stm32f413h_discovery_psram.h	Tue May 23 11:03:57 2017 +0200
+++ b/Drivers/BSP/STM32F413H-Discovery/stm32f413h_discovery_psram.h	Wed Feb 28 14:35:04 2018 +0100
@@ -2,8 +2,6 @@
   ******************************************************************************
   * @file    stm32f413H_discovery_psram.h
   * @author  MCD Application Team
-  * @version V1.0.0
-  * @date    27-January-2017
   * @brief   This file contains the common defines and functions prototypes for
   *          the stm32f413h_discovery_psram.c driver.
   ******************************************************************************
--- a/Drivers/BSP/STM32F413H-Discovery/stm32f413h_discovery_qspi.c	Tue May 23 11:03:57 2017 +0200
+++ b/Drivers/BSP/STM32F413H-Discovery/stm32f413h_discovery_qspi.c	Wed Feb 28 14:35:04 2018 +0100
@@ -2,8 +2,6 @@
   ******************************************************************************
   * @file    stm32f413h_discovery_qspi.c
   * @author  MCD Application Team
-  * @version V1.0.0
-  * @date    27-January-2017
   * @brief   This file includes a standard driver for the N25Q128A QSPI
   *          memory mounted on STM32F413H-DISCOVERY board.
   @verbatim
--- a/Drivers/BSP/STM32F413H-Discovery/stm32f413h_discovery_qspi.h	Tue May 23 11:03:57 2017 +0200
+++ b/Drivers/BSP/STM32F413H-Discovery/stm32f413h_discovery_qspi.h	Wed Feb 28 14:35:04 2018 +0100
@@ -2,8 +2,6 @@
   ******************************************************************************
   * @file    stm32f413h_discovery_qspi.h
   * @author  MCD Application Team
-  * @version V1.0.0
-  * @date    27-January-2017
   * @brief   This file contains the common defines and functions prototypes for
   *          the stm32f413h_discovery_qspi.c driver.
   ******************************************************************************
--- a/Drivers/BSP/STM32F413H-Discovery/stm32f413h_discovery_sd.c	Tue May 23 11:03:57 2017 +0200
+++ b/Drivers/BSP/STM32F413H-Discovery/stm32f413h_discovery_sd.c	Wed Feb 28 14:35:04 2018 +0100
@@ -2,8 +2,6 @@
   ******************************************************************************
   * @file    stm32f413h_discovery_sd.c
   * @author  MCD Application Team
-  * @version V1.0.0
-  * @date    27-January-2017
   * @brief   This file includes the uSD card driver mounted on STM32F413H-DISCOVERY
   *          board.
   ******************************************************************************
--- a/Drivers/BSP/STM32F413H-Discovery/stm32f413h_discovery_sd.h	Tue May 23 11:03:57 2017 +0200
+++ b/Drivers/BSP/STM32F413H-Discovery/stm32f413h_discovery_sd.h	Wed Feb 28 14:35:04 2018 +0100
@@ -2,8 +2,6 @@
   ******************************************************************************
   * @file    stm32f413h_discovery_sd.h
   * @author  MCD Application Team
-  * @version V1.0.0
-  * @date    27-January-2017
   * @brief   This file contains the common defines and functions prototypes for
   *          the stm32413h_discovery_sd.c driver.
   ******************************************************************************
--- a/Drivers/BSP/STM32F413H-Discovery/stm32f413h_discovery_ts.c	Tue May 23 11:03:57 2017 +0200
+++ b/Drivers/BSP/STM32F413H-Discovery/stm32f413h_discovery_ts.c	Wed Feb 28 14:35:04 2018 +0100
@@ -2,8 +2,6 @@
   ******************************************************************************
   * @file    stm32f413h_discovery_ts.c
   * @author  MCD Application Team
-  * @version V1.0.0
-  * @date    27-January-2017
   * @brief   This file provides a set of functions needed to manage the Touch
   *          Screen on STM32F413h-DISCOVERY evaluation board.
   ******************************************************************************
--- a/Drivers/BSP/STM32F413H-Discovery/stm32f413h_discovery_ts.h	Tue May 23 11:03:57 2017 +0200
+++ b/Drivers/BSP/STM32F413H-Discovery/stm32f413h_discovery_ts.h	Wed Feb 28 14:35:04 2018 +0100
@@ -2,8 +2,6 @@
   ******************************************************************************
   * @file    stm32f413h_discovery_ts.h
   * @author  MCD Application Team
-  * @version V1.0.0
-  * @date    27-January-2017
   * @brief   This file contains the common defines and functions prototypes for
   *          the stm32f413h_discovery_ts.c driver.
   ******************************************************************************