Question
STM32CubeMX problem in configure NVIC priority group
In STM32CubeMX (Version 6.18.0), I configured “Priority Group” to ”2 bits for pre-emption priority 2 bits for sub-priority”.
However, after Generate Code, in HAL_Init function, the code is “HAL_NVIC_SetPriorityGrouping(NVIC_PRIORITYGROUP_4);”, which means “4 bits for pre-emption priority, 0 bits for subpriority”.
I’ve test this problem using chip STM32F103VETx and STM32H753VITx


