Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: DISCO_F413ZH-AUDIO-demo
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
* @{