Skip to main content
maryam magdy
Associate III
March 15, 2018
Question

Can I use HAL library in MBED?

  • March 15, 2018
  • 2 replies
  • 720 views
Posted on March 15, 2018 at 19:21

Hello,

I have Stm32 L4 microcontroller.  I want to make use of all its power modes and I have only found the HAL library generated by the Cube software(

https://github.com/JoeMerten/Stm32L4-Workshop/blob/master/AudioPlayer/AudioPlayer/Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_pwr.c

) that uses all the 8 power modes. My question is can I use the HAL library with the MBED compiler? 
    This topic has been closed for replies.

    2 replies

    Mark Peter Vargha
    Associate III
    March 15, 2018
    Posted on March 15, 2018 at 19:38

    Yes, you can. There are HAL drivers under mbed. So you can call them directly.

    Mark Peter Vargha
    Associate III
    March 16, 2018