2017-06-18 12:16 PM
When generating peripheral initialization code with the STM32CubeMX application, I can check a box to Backup Previous Files When Re-Generating and another box to Delete Previously Generated Files When Not Re-Generated
This works great for things I've added to Inc and Src. Could we please add this respectful behavior to Drivers/STMxxxx_HAL_Driver directory? I often find myself adding things by hand. User Code sections in hal_conf.h would be nice too.
2017-06-19 04:21 AM
Hi
doe.john.016
,Your suggestion is forwarded for our CubeMX team.
Could we please add this respectful behavior to Drivers/STMxxxx_HAL_Driver directory? User Code sections in hal_conf.h would be nice too.
-> Could you please precise for what reason you're modifying those files? Are you dealing witha bug, limitation...?
Thanks in advance for your feedback.
Khouloud.
2017-06-19 08:15 AM
Sometimes I add a peripheral by hand without using STM32CubeMX application. Add the HAL header file to Drivers/STM32XX_HAL_Drivers/Inc and the source file to Drivers/STM32XX_HAL_Drivers/ISrc, and uncomment it in stm32xx_hal_conf.h. Then, if I regenerate with the STM32CubeMX application, it wipes out my changes and deletes the driver files I added.