Associate
June 5, 2018
Question
Bug report: CubeMX CMSIS generation error
- June 5, 2018
- 1 reply
- 802 views
Posted on June 05, 2018 at 11:18
Hello, everybody! I tried to generate initialization code for my STM32F103CB-based project with STM32CubeMX 4.25.1 and 1.6.1 version of firmware, and CubeMX generated Drivers/CMSIS/... folders, but they were empty, and TrueStudio got error:
In file included from ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h:45:0,
from ../Inc/stm32f1xx_hal_conf.h:219, from ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h:46, from ../Inc/rtc.h:47, from ..\Src\rtc.c:41:../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h:46:23: fatal error: stm32f1xx.h: No such file or directory &sharpinclude 'stm32f1xx.h'So, i filled these folders by the CMSIS files, generated by the older version of CubeMX, and they are OK, but Drivers\CMSIS\Device\ST\STM32F1xx\Include folder cleans every time, I regenerate code by CubeMX. Please fix this issue, or show me, where Iwas wrong.
Thank you!
#stm32cube---bug-report #cmsis