rt-thread icon indicating copy to clipboard operation
rt-thread copied to clipboard

About the newest version of STM32cubeMX working with the BSP template of Stm32F407ZE

Open arikadogenya opened this issue 7 years ago • 6 comments

when base on the template of stm32f4xx to make the BSP for a user-defined stm32f407zet using the STM32CubeMX Ver 5.2.1, only the GPIO and Uart is configured, the script tools generated a line "#define HAL_EXTI_MODULE_ENABLED" in the "stm32f4xx_hal_conf.h" which introduces an including of file "stm32f4xx_hal_exti.h" , to manage the EXTI for the MCU. However the file "stm32f4xx_hal_exti.h" may be no longer generated by the CubeMX and some of the content was removed to another file , which I think may be "stm32f4xx_hal_gpio.h". Please confirm it and make the changes if it is right, Thank you and best regards.

arikadogenya avatar Jun 28 '19 06:06 arikadogenya

you can comment out #define HAL_EXTI_MODULE_ENABLED

zhangjun1996 avatar Jun 28 '19 09:06 zhangjun1996

We will fix the problem as soon as possible.

SummerGift avatar Jun 28 '19 14:06 SummerGift

The reason this macro definition #define HAL_EXTI_MODULE_ENABLED appears is because you are using the 1.24 version of the F4 series HAL library.

However, the existing firmware library version is 1.21, so you can try to change the HAL library version you selected in cubemx or comment out the macro definition.

Next we will consider whether to upgrade the firmware library version of F4 series BSP to 1.24. @arikadogenya

SummerGift avatar Jun 29 '19 01:06 SummerGift

#2820 The PR is ready to update the F4 series firmware library to version 1.24.1.

SummerGift avatar Jun 29 '19 01:06 SummerGift

Thank you and have a nice day. It is really hard to follow the steps of STM32CubeMx.

arikadogenya avatar Jul 01 '19 01:07 arikadogenya

you can comment out #define HAL_EXTI_MODULE_ENABLED

Thank you !

arikadogenya avatar Jul 01 '19 01:07 arikadogenya