cancel
Showing results for 
Search instead for 
Did you mean: 

Missing HAL files on new and old project

SpinKernel
Senior

Happens in an old project created with an older version of cubemx and going to a new one.

When I create a new project with pin interrupts, it defines

#ifdef HAL_EXTI_MODULE_ENABLED
  #include "stm32f0xx_hal_exti.h"
#endif /* HAL_EXTI_MODULE_ENABLED */

however, no matter where I search (online and downloaded drivers in my CubeMX dir), that file exists no where in the drivers library. Why is this an option when the file doesn't exist? Using STM32Cube FW_F0 V1.10.1 and STM32F091RCTx. I had just rebuilt some code and it enabled this where previously it hadn't (or i had to comment it out before, I can't remember)

6 REPLIES 6
Khouloud ZEMMELI
ST Employee

​Hello @SpinKernel​  could you please share your ioc file ?

Thanks,

Khouloud

Khouloud ZEMMELI
ST Employee

Your old project*

Regards,

Khouloud​

Mary Solomo
Associate II

Hello,

I have the same issue. Attached is my ioc file.

Please help!

​Hello @Mary Solomo​ ,

Could you please explain me your case?

First you created a project using MX which version then .. ?

Thanks,

Khouloud

Pavel A.
Evangelist III

You can get it here

https://github.com/STMicroelectronics/STM32CubeF0/blob/master/Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_exti.h

This file was missing before certain 'F0 library update. Probably you have an older version.

-- pa

SpinKernel
Senior

Awesome thanks! I searched and searched for this file, never showed up. Now I know!

Sorry for the late response, was very busy. I'm curious why this doesn't get automatically pulled even with the latest version cube 1.2 and stm32ide 1.3.1.

Oh well.