Skip to main content
SpinKernel
Associate III
February 20, 2020
Question

Missing HAL files on new and old project

  • February 20, 2020
  • 6 replies
  • 2097 views

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
February 21, 2020

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

Thanks,

Khouloud

Khouloud ZEMMELI
ST Employee
February 21, 2020

Your old project*

Regards,

Khouloud​

Mary Solomo
Associate II
March 20, 2020

Hello,

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

Please help!

Khouloud ZEMMELI
ST Employee
March 24, 2020

​Hello @Mary Solomo​ ,

Could you please explain me your case?

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

Thanks,

Khouloud

Pavel A.
March 24, 2020

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

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.