Arm Keil MDK v6 Essential and Professional editions are now available to buy as monthly or annual subscriptions from our Developer Tools store. Visit the store to get access to the tools suite today!

  1. Packs
  2. STM32L4xx_DFP

Change Log

Version 3.0.0: Oct. 11, 2024

Get Pack
      Updated for new CMSIS-Toolbox CubeMX integration
      Removed CMSIS Drivers
      Removed STM32CubeMX_FW_L4
      Removed board drivers (ADC, Buttons, LED...)
      Removed all examples
      Removed previous generator (gpdsc)
      Added new global generator
      Package Description (pdsc):
      - Removed Device:Startup component
      - Removed Device:STM32Cube HAL components
      - Removed Device:STM32Cube LL components
      - Removed Board descriptions
      - Removed BSP components
      - Removed compile device header from device description
      - Removed unused conditions
      - Replaced documentation files with permalinks
      - Updated memories regions

Version 2.7.0: March 27, 2024

Get Pack
      Updated STM32Cube FW to STM32Cube_FW_L4_V1.18.0 (HAL V1.13.4).
      Device Support:
      - Added devices:
        STM32L443CCFx,  STM32L452REYxP, STM32L452CETxP,
        STM32L476QGIxP, STM32L496QGIxS, STM32L4R5QGIxS, STM32L4R5QIIxP, STM32L4R5AIIxP, STM32L4P5QGIxS
      - Updated SVD files and documentation.
      - Removed STM32L4Rx, STM32L4Px Single Flash algorithm
      Board Examples:
      - Updated to STM32Cube_FW_L4_V1.18.0
      - Updated to fixed pack versions
      CMSIS Driver:
      - fixed include file name in MCI_STM32L4xx.c using non portable case.

Version 2.6.2: June 2, 2023

Get Pack
      CMSIS SVD: Updated to most recent versions
      CMSIS Flash Algorithm:
      - Updated flash algorithms: STM32L4Rx_2048_Dual, STM32L4Rx_1024_Dual, STM32L4P5xx_1M, STM32L4P5xx_512
      - Addeded flash algorithms: STM32L4Rx_2048_Single, STM32L4Rx_1024_Single, STM32L4P5x_1024_Single, STM32L4P5x_512_Single
      CMSIS-Driver:
      - I2C:
      -- Corrected MasterTransmit and MasterReceive functions when not generating STOP condition (when xfer_pending is "true")
      -- Corrected GetDataCount function operation when DMA is used
      -- Corrected Bus Clear functionality
      -- Updated check if I2C peripheral is enabled in the CubeMx and improved user experience if it is not enabled
      -- Updated busy flag handling in Transmit and Receive functions
      -- Added DMA functionality for Slave transfers
      -- Added internal function to retrieve peripheral clock
      - USBD:
      -- Updated patched stm32l4xx_ll_usb.c to be in sync with latest one from the FW package V1.17.0
      - SPI: Corrected STM32CubeMX configuration documentation
      Boards:
      - Examples: Overwritten default HAL_InitTick function.
      Added 32L496GDISCOVERY board details for better web display.

Version 2.6.1: Sept. 8, 2021

Get Pack
      PDSC file: add RAMstart/size attributes to algorithm elements
      CMSIS-Driver:
      - I2C: Corrected pins configuration

Version 2.6.0: July 30, 2021

Get Pack
      Updated Pack to STM32Cube_FW_L4 Firmware Package version V1.17.0
      Package Description:
      - Added global define USE_FULL_LL_DRIVER to component ::Device:STM32Cube LL:Common.
      - Added debugProbe board description.
      Device Support:
      - Updated SVD files and documentation.
      - Reworked device RAM size.
      - Added missing devices:
        STM32L451CETx, STM32L452CETx, STM32L462CETx,
        STM32L4Q5CGTxP, STM32L4Q5CGUxP, STM32L4Q5VGTxP, STM32L4Q5QGIxP, STM32L4Q5ZGTxP, STM32L4Q5AGIxP, STM32L4Q5RGTxP.
      - Removed devices:
        STM32L451RCYx, STM32L452RCYx, STM32L485xx.
      - Updated dbgconf files - Add missing variable DoOptionByteLoading.
      CMSIS Flash Algorithm:
      - Added algorithm for STM32L4RxxG devices.
      - Updated flash algorithms: STM32L4Rx_2048_Dual, STM32L4P5xx_1M, STM32L4P5xx_512:
      -- Added empty check, disable interrupts while programming, fix programming while IWDG in HW mode.
      - Fixed last word programming.
      CMSIS-Driver:
      - USBH:
      -- Fixed port resume occasionally getting stuck in resume signaling.
      -- Added compile time configuration for reducing Bulk IN NAK rate.
      - SPI:
      -- Updated Control function to: Set SPI bus speed only for master mode and disable DMA before reconfigure DMA
      -- Updated SPI_GetStatus function with correct error code
      -- Updated SPI_GetDataCount function when SPI is not initialized
      Board Examples:
      - Updated Assembler option to armclang(Auto Select).
      - Updated config files to CMSIS 5.8.0 and MDK-Middleware 7.13.0.

Version 2.5.0: Oct. 21, 2020

Get Pack
      Updated Pack to STM32Cube_FW_L4 Firmware Package version V1.16.0 using HAL Drivers V1.12.0
      Package Description (pdsc): Added global define USE_HAL_DRIVER to the component ::Device:STM32Cube HAL:Common.
      Device support: Aligned devices with CubeMX DB.
      CMSIS Flash Algorithm:
      - Removed targets (STM32L4xx_512, STM32L4xx_256) from STM32L4Rx Flash Algorithm project.
      - Added source code for: STM32L476G-Disco QSPI, STM32L4P5G-DK OSPI, STM32L4P5G-DK PSRAM
      STM32L4R9I-DK PSRAM, STM32L4R9I-DK OSPI1 and STM32L4R9I-EVAL OSPI.
      - Added PSRAM external Loader support for STM32L4R9I-Disco.
      - Fixed STM32L4P5 1M internal flash Loader sector erase with DBANK mode.
      - Fixed STM32L4xx 512K and 128K internal flash Loader sector erase.
      CMSIS-Driver:
      - MCI:
      -- Replaced empty delay loops with _NOP().
      -- Added handling for separate SD and MMC HAL layers.
      -- Added busy signal handling after CMDREND interrupt.
      - SPI:
      -- Corrected PowerControl function (to return error if Initialize was
      not called, to abort active transfer if power off was requested).
      -- Updated GetDataCount function to give accurate count.
      -- Corrected Uninitialize function (to power off the peripheral if it is powered).
      - USART:
      -- Added Driver_USART6 (uses LPUART1).
      -- Corrected GetTxCount/GetRxCount implementation.
      - USBD:
      -- Removed include of stm32l4xx_hal_pcd.h header.
      -- Corrected documentation of STM32CubeMx configuration.
      Updated Boards Examples:
      - Migrated CubeMX projects to V6.0.1.
      - Changed variant selection to "MDK-Plus" where possible.
      - Updated all USB Host/Device examples with user templates from MDK-Middleware v7.11.1.

Version 2.4.0: June 5, 2020

Get Pack
      Updated STM32CubeL4 Firmware Package version to version 1.15.1 (using HAL Drivers V1.11.1)
      Board support for B-L475E-IOT01A got moved to dedicated board support pack Keil.B-L475E-IOT01A_BSP
      Flash Programming:
      - Adding support of the PSRAM loader for the STM32L4P5x Disco Board
      - Corrected: the OSPI loader for the STM32L4P5x Disco Board
      Package Description (pdsc):
      - Added missing devices: STM32L412R8Tx, STM32L412R8Ix, STM32L412RBTx, STM32L412RBTxP, STM32L412RBIx, STM32L412RBIxP
      - Renaming devices for:
        STM32L4P5 : STM32L4P5QGIx and STM32L4P5AGIx
        STM32L4Q5 : STM32L4Q5QGIx and STM32L4Q5AGIx
      - Eliminating Flash device and rename it to STM32L4S9VITx
      - Updating svd files: STM32L4x1 and STM32L412
      CMSIS-Driver:
      - Added I2C driver
      - USART:
      -- Added Hardware Flow Control RTS/CTS
      - MCI:
      -- Added DMA support for Transmit
      -- Added MCI driver for STM32L4Plus devices (STM32L4Px, STM32L4Rx, STM32L4Sx, STM32L4Qx)

Version 2.3.0: Dec. 20, 2019

Get Pack
      Updated STM32CubeL4 Firmware to version 1.15.0 (requires STM32CubeMX 5.5.0 or higher)
      Added device support for STM32L4P5 and STM32L4Q5 Series (reworked device descriptions)
      Flash Programming:
      - Added support to the OSPI loader for the STM32L4P5x Disco Board and STM32L4Pxx/L4Qxx.
      - Corrected: STM32L4Rx dualbank erase function
     Package Description (pdsc):
      - Added capability to launch the Option Byte Loading after a Flash Download.
      - Added new STM32Cube HAL Components: MMC, PKA and PSSI.
      - Added new STM32Cube LL Component: PKA.
      - Added a patch to stm32l4xx_hal_def.h to support ARM Compiler 6.
      - FrameworkCubeMX_gpdsc.ftl: Added support for Timebase Source TIMx.
      CMSIS-Driver:
      - USB Device:
      -- Updated USBD_EndpointConfigure function to check that maximum packet size requested fits into configured FIFO (compile time configured).
      -- Added driver for STM32L412, STM32L422, STM32L432, STM32L433, STM32L442, STM32L443, STM32L452 and STM32L462 devices.
      Board support:
      - Updated examples with CMSIS-RTOS terminating app_main thread with osThreadExit() to avoid endless loop.
      - Added B-L475E-IOT01 board.
      - Added Blinky Low Power for STM32L476G-EVAL board.

Version 2.2.0: Jan. 11, 2019

Get Pack
      Corrected: launching STM32CubeMX via "play" button for existing projects overwrites with a new STM32CubeMX project file instead of loading it.
      CMSIS Driver:
      - SPI: Removed __HAL_SPI_ENABLE from SPI_Control function.

Version 2.1.0: Dec. 18, 2018

Get Pack
      This DFP requires STM32CubeMX V5.0 and STM32Cube_FW_L4 V1.13.0 or higher to be installed.
      This pack only contains 'Drivers', 'Documentation' and 'Fonts' from Firmware Library pack.
      New projects require the component 'Device:STM32Cube Framework:STM32CubeMX' for configuration of pins and clocks.
      Device support:
      - Added STM32L412, STM32L422 device support.
      - Added some STM32L4R device variants.
      - Added STM32L4R 1024KB Flash variants.
      - Added device STM32L496VE.
      - Corrected dbgconf file selection.
      CMSIS Driver:
      - SPI: Corrected Slave select handling.
      - USART: Corrected UARTx/USARTx related typing mistakes.
      - USB Device:
      -- Updated to be compliant with HAL Driver version 1.9.0.
      -- USB Device: Corrected transmitted count for non-control IN endpoints.
      - USB Host: Corrected Device Family name in USBH CMSIS driver description.
      STM32CubeMX integration - MX_Device.h generation:
      - Updated parsing of USART virtual mode.
      - Updated generation of macros: Added handling for '(' and ')' symbols.
      Board example projects:
      - Updated Blinky example projects.
      - Updated board support LED_*.c files.

Version 2.0.0: Oct. 6, 2017

Get Pack
      This DFP requires STM32CubeMX V4.22.1 and STM32Cube_FW_L4 V1.9.0 or higher to be installed.
      Reduced overall pack size by extracting only 'Drivers', 'Documentation' and 'Fonts' from Firmware Library pack.
      Updated documentation for STM32Cube Framework usage.
      - New projects require the component 'Device:STM32Cube Framework:STM32CubeMX' for configuration of pins and clocks.
      Device support:
      - Added STM32L4Rx, STM32L4Sx device support.
      CMSIS Driver:
      - Added USART driver.
      - Added SPI driver.
      - Added USB Host and Device drivers without CMSIS-RTOS dependency.
      Example projects:
      - Introducing debug and release project targets focussing on debug visibility versus application performance.
      - Added STM32L4R9I-Eval board support.
      - Updated STM32L476G-EVAL board support.
      - Updated STM32L496G-DISCO board support.

Version 1.5.0: June 19, 2017

Get Pack
      Added STM32CubeMX support based on STM32Cube_FW_L4_V1.8.0
      - Removed large media files to reduce the overall pack size
      - Added a patch to stm32l4xx_hal_def.h to support ARM Compiler 6.
      Added STM32L442 basic device support.
      Added STM32L496G-Discovery Board Support:
      - Added File_Demo Example
      - Added RTOS Blinky example
      Updated documentation.
      Updated Flash Programming Algorithms.
      Updated Pack Description (pdsc)
      - Added debug sequences and debug configuration
      - Corrected SRAM1/SRAM2 settings.

Version 1.4.0: Feb. 24, 2017

Get Pack
      Added basic device support for subfamilies STM32L4A6 and STM32L496
      Updated device support files to version V1.2.0 (except subfamilies STM32L4A6, STM32L496)
      Added QUADSPI peripheral to STM32L4x2.svd, STM32L4x3.svd

Version 1.3.0: Nov. 14, 2016

Get Pack
      Added device support for subfamilies STM32L462 STM32L452, STM32L451
      Updated documentation.

Version 1.2.0: March 3, 2016

Get Pack
      Added device support for subfamilies STM32L431, STM32L432, STM32L433, STM32L443
      Updated documentation.

Version 1.1.0: Feb. 19, 2016

Get Pack
      Updated device support files and documentation

Version 1.0.0: July 28, 2015

Get Pack
      Initial version of STM32L4 Device Family Pack.