STM32F429ZI Discovery board drivers
Dependents: 2a 2b 2c 2d1 ... more
Revision 2:53d9067a4feb, committed 2018-02-28
- Comitter:
- Jerome Coutant
- Date:
- Wed Feb 28 13:17:14 2018 +0100
- Parent:
- 1:2371382139dd
- Commit message:
- STM32Cube_FW_F4_V1.19.0 BSP_DISCO_F429ZI
Changed in this revision
diff -r 2371382139dd -r 53d9067a4feb Drivers/BSP/STM32F429I-Discovery/stm32f429i_discovery.c --- a/Drivers/BSP/STM32F429I-Discovery/stm32f429i_discovery.c Tue May 16 10:50:25 2017 +0200 +++ b/Drivers/BSP/STM32F429I-Discovery/stm32f429i_discovery.c Wed Feb 28 13:17:14 2018 +0100 @@ -2,8 +2,6 @@ ****************************************************************************** * @file stm32f429i_discovery.c * @author MCD Application Team - * @version V2.1.5 - * @date 27-January-2017 * @brief This file provides set of firmware functions to manage Leds and * push-button available on STM32F429I-Discovery Kit from STMicroelectronics. ****************************************************************************** @@ -69,11 +67,11 @@ */ /** - * @brief STM32F429I DISCO BSP Driver version number V2.1.5 + * @brief STM32F429I DISCO BSP Driver version number V2.1.6 */ #define __STM32F429I_DISCO_BSP_VERSION_MAIN (0x02) /*!< [31:24] main version */ #define __STM32F429I_DISCO_BSP_VERSION_SUB1 (0x01) /*!< [23:16] sub1 version */ -#define __STM32F429I_DISCO_BSP_VERSION_SUB2 (0x05) /*!< [15:8] sub2 version */ +#define __STM32F429I_DISCO_BSP_VERSION_SUB2 (0x06) /*!< [15:8] sub2 version */ #define __STM32F429I_DISCO_BSP_VERSION_RC (0x00) /*!< [7:0] release candidate */ #define __STM32F429I_DISCO_BSP_VERSION ((__STM32F429I_DISCO_BSP_VERSION_MAIN << 24)\ |(__STM32F429I_DISCO_BSP_VERSION_SUB1 << 16)\
diff -r 2371382139dd -r 53d9067a4feb Drivers/BSP/STM32F429I-Discovery/stm32f429i_discovery.h --- a/Drivers/BSP/STM32F429I-Discovery/stm32f429i_discovery.h Tue May 16 10:50:25 2017 +0200 +++ b/Drivers/BSP/STM32F429I-Discovery/stm32f429i_discovery.h Wed Feb 28 13:17:14 2018 +0100 @@ -2,8 +2,6 @@ ****************************************************************************** * @file stm32f429i_discovery.h * @author MCD Application Team - * @version V2.1.5 - * @date 27-January-2017 * @brief This file contains definitions for STM32F429I-Discovery Kit LEDs, * push-buttons hardware resources. ******************************************************************************
diff -r 2371382139dd -r 53d9067a4feb Drivers/BSP/STM32F429I-Discovery/stm32f429i_discovery_eeprom.c --- a/Drivers/BSP/STM32F429I-Discovery/stm32f429i_discovery_eeprom.c Tue May 16 10:50:25 2017 +0200 +++ b/Drivers/BSP/STM32F429I-Discovery/stm32f429i_discovery_eeprom.c Wed Feb 28 13:17:14 2018 +0100 @@ -2,8 +2,6 @@ ****************************************************************************** * @file stm32f429i_discovery_eeprom.c * @author MCD Application Team - * @version V2.1.5 - * @date 27-January-2017 * @brief This file provides a set of functions needed to manage an I2C M24LR64 * EEPROM memory. * To be able to use this driver, the switch EE_M24LR64 must be defined
diff -r 2371382139dd -r 53d9067a4feb Drivers/BSP/STM32F429I-Discovery/stm32f429i_discovery_eeprom.h --- a/Drivers/BSP/STM32F429I-Discovery/stm32f429i_discovery_eeprom.h Tue May 16 10:50:25 2017 +0200 +++ b/Drivers/BSP/STM32F429I-Discovery/stm32f429i_discovery_eeprom.h Wed Feb 28 13:17:14 2018 +0100 @@ -2,8 +2,6 @@ ****************************************************************************** * @file stm32f429i_discovery_eeprom.h * @author MCD Application Team - * @version V2.1.5 - * @date 27-January-2017 * @brief This file contains all the functions prototypes for * the stm32f429i_discovery_eeprom.c firmware driver. ******************************************************************************
diff -r 2371382139dd -r 53d9067a4feb Drivers/BSP/STM32F429I-Discovery/stm32f429i_discovery_gyroscope.c --- a/Drivers/BSP/STM32F429I-Discovery/stm32f429i_discovery_gyroscope.c Tue May 16 10:50:25 2017 +0200 +++ b/Drivers/BSP/STM32F429I-Discovery/stm32f429i_discovery_gyroscope.c Wed Feb 28 13:17:14 2018 +0100 @@ -2,8 +2,6 @@ ****************************************************************************** * @file stm32f429i_discovery_gyroscope.c * @author MCD Application Team - * @version V2.1.5 - * @date 27-January-2017 * @brief This file provides a set of functions needed to manage the * MEMS gyroscope available on STM32F429I-Discovery Kit. ******************************************************************************
diff -r 2371382139dd -r 53d9067a4feb Drivers/BSP/STM32F429I-Discovery/stm32f429i_discovery_gyroscope.h --- a/Drivers/BSP/STM32F429I-Discovery/stm32f429i_discovery_gyroscope.h Tue May 16 10:50:25 2017 +0200 +++ b/Drivers/BSP/STM32F429I-Discovery/stm32f429i_discovery_gyroscope.h Wed Feb 28 13:17:14 2018 +0100 @@ -2,8 +2,6 @@ ****************************************************************************** * @file stm32f429i_discovery_gyroscope.h * @author MCD Application Team - * @version V2.1.5 - * @date 27-January-2017 * @brief This file contains definitions for stm32f429i_discovery_gyroscope.c * firmware driver. ******************************************************************************
diff -r 2371382139dd -r 53d9067a4feb Drivers/BSP/STM32F429I-Discovery/stm32f429i_discovery_io.c --- a/Drivers/BSP/STM32F429I-Discovery/stm32f429i_discovery_io.c Tue May 16 10:50:25 2017 +0200 +++ b/Drivers/BSP/STM32F429I-Discovery/stm32f429i_discovery_io.c Wed Feb 28 13:17:14 2018 +0100 @@ -2,8 +2,6 @@ ****************************************************************************** * @file stm32f429i_discovery_io.c * @author MCD Application Team - * @version V2.1.5 - * @date 27-January-2017 * @brief This file provides a set of functions needed to manage the STMPE811 * IO Expander device mounted on STM32F429I-Discovery Kit. ******************************************************************************
diff -r 2371382139dd -r 53d9067a4feb Drivers/BSP/STM32F429I-Discovery/stm32f429i_discovery_io.h --- a/Drivers/BSP/STM32F429I-Discovery/stm32f429i_discovery_io.h Tue May 16 10:50:25 2017 +0200 +++ b/Drivers/BSP/STM32F429I-Discovery/stm32f429i_discovery_io.h Wed Feb 28 13:17:14 2018 +0100 @@ -2,8 +2,6 @@ ****************************************************************************** * @file stm32f429i_discovery_io.h * @author MCD Application Team - * @version V2.1.5 - * @date 27-January-2017 * @brief This file contains all the functions prototypes for the * stm32f429i_discovery_io.c driver. ******************************************************************************
diff -r 2371382139dd -r 53d9067a4feb Drivers/BSP/STM32F429I-Discovery/stm32f429i_discovery_lcd.c --- a/Drivers/BSP/STM32F429I-Discovery/stm32f429i_discovery_lcd.c Tue May 16 10:50:25 2017 +0200 +++ b/Drivers/BSP/STM32F429I-Discovery/stm32f429i_discovery_lcd.c Wed Feb 28 13:17:14 2018 +0100 @@ -2,8 +2,6 @@ ****************************************************************************** * @file stm32f429i_discovery_lcd.c * @author MCD Application Team - * @version V2.1.5 - * @date 27-January-2017 * @brief This file includes the LCD driver for ILI9341 Liquid Crystal * Display Modules of STM32F429I-Discovery kit (MB1075). ****************************************************************************** @@ -907,19 +905,16 @@ uint32_t inputcolormode = 0; /* Get bitmap data address offset */ - index = *(__IO uint16_t *) (pBmp + 10); - index |= (*(__IO uint16_t *) (pBmp + 12)) << 16; + index = pBmp[10] + (pBmp[11] << 8) + (pBmp[12] << 16) + (pBmp[13] << 24); /* 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); + /* Read bit/pixel */ - bitpixel = *(uint16_t *) (pBmp + 28); + bitpixel = pBmp[28] + (pBmp[29] << 8); /* Set Address */ address = LtdcHandler.LayerCfg[ActiveLayer].FBStartAdress + (((BSP_LCD_GetXSize()*Y) + X)*(4));
diff -r 2371382139dd -r 53d9067a4feb Drivers/BSP/STM32F429I-Discovery/stm32f429i_discovery_lcd.h --- a/Drivers/BSP/STM32F429I-Discovery/stm32f429i_discovery_lcd.h Tue May 16 10:50:25 2017 +0200 +++ b/Drivers/BSP/STM32F429I-Discovery/stm32f429i_discovery_lcd.h Wed Feb 28 13:17:14 2018 +0100 @@ -2,8 +2,6 @@ ****************************************************************************** * @file stm32f429i_discovery_lcd.h * @author MCD Application Team - * @version V2.1.5 - * @date 27-January-2017 * @brief This file contains all the functions prototypes for the * stm32f429i_discovery_lcd.c driver. ******************************************************************************
diff -r 2371382139dd -r 53d9067a4feb Drivers/BSP/STM32F429I-Discovery/stm32f429i_discovery_sdram.c --- a/Drivers/BSP/STM32F429I-Discovery/stm32f429i_discovery_sdram.c Tue May 16 10:50:25 2017 +0200 +++ b/Drivers/BSP/STM32F429I-Discovery/stm32f429i_discovery_sdram.c Wed Feb 28 13:17:14 2018 +0100 @@ -2,8 +2,6 @@ ****************************************************************************** * @file stm32f429i_discovery_sdram.c * @author MCD Application Team - * @version V2.1.5 - * @date 27-January-2017 * @brief This file provides a set of functions needed to drive the * IS42S16400J SDRAM memory mounted on STM32F429I-Discovery Kit. ******************************************************************************
diff -r 2371382139dd -r 53d9067a4feb Drivers/BSP/STM32F429I-Discovery/stm32f429i_discovery_sdram.h --- a/Drivers/BSP/STM32F429I-Discovery/stm32f429i_discovery_sdram.h Tue May 16 10:50:25 2017 +0200 +++ b/Drivers/BSP/STM32F429I-Discovery/stm32f429i_discovery_sdram.h Wed Feb 28 13:17:14 2018 +0100 @@ -2,8 +2,6 @@ ****************************************************************************** * @file stm32f429i_discovery_sdram.h * @author MCD Application Team - * @version V2.1.5 - * @date 27-January-2017 * @brief This file contains all the functions prototypes for the * stm32f429i_discovery_sdram.c driver. ******************************************************************************
diff -r 2371382139dd -r 53d9067a4feb Drivers/BSP/STM32F429I-Discovery/stm32f429i_discovery_ts.c --- a/Drivers/BSP/STM32F429I-Discovery/stm32f429i_discovery_ts.c Tue May 16 10:50:25 2017 +0200 +++ b/Drivers/BSP/STM32F429I-Discovery/stm32f429i_discovery_ts.c Wed Feb 28 13:17:14 2018 +0100 @@ -2,8 +2,6 @@ ****************************************************************************** * @file stm32f429i_discovery_ts.c * @author MCD Application Team - * @version V2.1.5 - * @date 27-January-2017 * @brief This file provides a set of functions needed to manage Touch * screen available with STMPE811 IO Expander device mounted on * STM32F429I-Discovery Kit.
diff -r 2371382139dd -r 53d9067a4feb Drivers/BSP/STM32F429I-Discovery/stm32f429i_discovery_ts.h --- a/Drivers/BSP/STM32F429I-Discovery/stm32f429i_discovery_ts.h Tue May 16 10:50:25 2017 +0200 +++ b/Drivers/BSP/STM32F429I-Discovery/stm32f429i_discovery_ts.h Wed Feb 28 13:17:14 2018 +0100 @@ -2,8 +2,6 @@ ****************************************************************************** * @file stm32f429i_discovery_ts.h * @author MCD Application Team - * @version V2.1.5 - * @date 27-January-2017 * @brief This file contains all the functions prototypes for the * stm32f429i_discovery_ts.c driver. ******************************************************************************