This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Adding HAL functions to the PACK in project for STM32L496

Hello,
my project was created for blinking project with STM32L496QG using PACK. The set of Device HAL functions is limited. How I can add more HAL functions e.g. for SPI and UART? they are present in the folder Keil\ARM\PACK\Keil\STM32L4xx_DFP\2.2.0\.
Thanks,
Alex

Parents Reply Children
  • Thanks, Andrew.
    I discovered that the file stm32l496xx_hal_msp.c is present in the component class Device. But files generated for Blinky project and generated by CubeMX are different, file generated by CubeMX has more initialisation functions. How can I get the file stm32l496xx_hal_msp.c that has initialisation functions for all peripherals.
    Thanks,
    Alex