Skip to main content
Bogdan Golab
Lead
February 2, 2018
Question

HAL & SPL coexistence

  • February 2, 2018
  • 1 reply
  • 499 views
Posted on February 02, 2018 at 23:15

Hello,

I have a piece of code using STM32F103VE FSMC based on SPL and have some problem with porting it to HAL.

It seems that the FSMC HAL structure is slightly different than the SPL - at least quick comparison does not help but I did not spend much time on it. Maybe it's easy to do.

Do you know an easy way to avoid porting and combine SPL FSMC drivers with HAL code.

I mean pure FSMC part. The GPIO initialization is easy to port, of course.

BTW. I tried to use SPL to LL converter but the FSMC is not supported by the LL drivers.

    This topic has been closed for replies.

    1 reply

    Bogdan Golab
    Lead
    February 2, 2018
    Posted on February 02, 2018 at 23:23

    Additional thought: if the FSMC is not supported by LL, so the SPL2LL converted will not convert the FSMC code.

    So there should be  a way of mix the LL and SPL.

    I use Keil IDE.