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)
Revision 1:a3f6b8b5a6bf, committed 2017-05-17
- Comitter:
- arostm
- Date:
- Wed May 17 14:00:44 2017 +0200
- Parent:
- 0:4af3ca173992
- Child:
- 2:0f07a9ac06f7
- Commit message:
- Add patch for mbed in stm32f413h_discovery.h and stm32f413h_discovery_lcd.c
Changed in this revision
--- a/Drivers/BSP/STM32F413H-Discovery/stm32f413h_discovery.h Wed May 17 10:23:19 2017 +0200
+++ b/Drivers/BSP/STM32F413H-Discovery/stm32f413h_discovery.h Wed May 17 14:00:44 2017 +0200
@@ -64,10 +64,10 @@
*/
typedef enum
{
-LED3 = 0,
-LED_GREEN = LED3,
-LED4 = 1,
-LED_RED = LED4,
+ DISCO_LED3 = 0, //Patch for mbed
+ LED_GREEN = DISCO_LED3, //Patch for mbed
+ DISCO_LED4 = 1, //Patch for mbed
+ DISCO_LED_RED = DISCO_LED4, //Patch for mbed
}Led_TypeDef;
--- a/Drivers/BSP/STM32F413H-Discovery/stm32f413h_discovery_lcd.c Wed May 17 10:23:19 2017 +0200
+++ b/Drivers/BSP/STM32F413H-Discovery/stm32f413h_discovery_lcd.c Wed May 17 14:00:44 2017 +0200
@@ -64,11 +64,11 @@
/* Includes ------------------------------------------------------------------*/
#include "stm32f413h_discovery_lcd.h"
#include "../../../Utilities/Fonts/fonts.h"
-#include "../../../Utilities/Fonts/font24.c"
-#include "../../../Utilities/Fonts/font20.c"
-#include "../../../Utilities/Fonts/font16.c"
-#include "../../../Utilities/Fonts/font12.c"
-#include "../../../Utilities/Fonts/font8.c"
+//#include "../../../Utilities/Fonts/font24.c" //Patch for mbed
+//#include "../../../Utilities/Fonts/font20.c" //Patch for mbed
+//#include "../../../Utilities/Fonts/font16.c" //Patch for mbed
+//#include "../../../Utilities/Fonts/font12.c" //Patch for mbed
+//#include "../../../Utilities/Fonts/font8.c" //Patch for mbed
/** @addtogroup BSP
* @{
Daniel Lee