cancel
Showing results for 
Search instead for 
Did you mean: 

HAL & SPL coexistence

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.

1 REPLY 1
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.