2020-07-24 03:15 PM
I recently upgraded from CubeMX 5.3 to the new 6. Some project settings get changed when I do so and it's kind of annoying. I am looking at the raw .ioc file so make it easier to copy and paste exactly what's changing.
First)
ProjectManager.LibraryCopy=2
gets changed to
ProjectManager.LibraryCopy=1
This results in a bunch of files being copied into the output folder. Granted I can ignore them but it's kind of annoying as I specifically set the setting so this wouldn't happen and version 6 reverted that change. I have tested this on an H7 project that was built using CubeMX 5.3 and an L4 project built using CubeMX 5.0.1 and the same thing happened on both.
Second)
It changes all the NVIC interrupt settings.
old:
NVIC.DMA1_Stream0_IRQn=true\:5\:0\:false\:false\:true\:true\:false\:true
new:
NVIC.DMA1_Stream0_IRQn=true\:5\:0\:false\:false\:true\:true\:false
Something changed in the program with the way that line gets interpreted because this means that all of the interrupt handlers no longer called their HAL functions. I had to go and turn them all back on (check their boxes in the GUI under NVIC settings), resulting in this code
NVIC.DMA1_Stream0_IRQn=true\:5\:0\:false\:false\:true\:true\:true
This issue only happened on my H7 project built using 5.3, the L4 using 5.0.1 seemed to work just fine.
2020-07-27 03:10 AM
2020-07-27 07:37 AM