Skip to main content
SpinKernel
Associate III
Feb 20, 2020 8:44 PM UTC
Question

Missing HAL files on new and old project

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)

This topic has been closed for replies.

6 replies

Khouloud ZEMMELI
ST Employee
Feb 21, 2020 7:17 AM UTC

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

Thanks,

Khouloud

Khouloud ZEMMELI
ST Employee
Feb 21, 2020 8:17 AM UTC

Your old project*

Regards,

Khouloud​

Mary Solomo
Associate II
Mar 20, 2020 10:22 AM UTC

Hello,

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

Please help!

Khouloud ZEMMELI
ST Employee
Mar 24, 2020 10:50 AM UTC

​Hello @Mary Solomo​ ,

Could you please explain me your case?

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

Thanks,

Khouloud

Pavel A.
Mar 24, 2020 11:43 PM UTC

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
Associate III
May 13, 2020 9:36 PM UTC

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.