STM32 CUBEMX SYS Debug Settings
Here is the SYS debug settings Here is what CubeMX did. My questions is:
I use Serial Wire and Trace Synchro Sw (4 bits) most.
Here is the SYS debug settings Here is what CubeMX did. My questions is: Here is the SYS debug settings Here is what CubeMX did. My questions is: In Serial Wire mode IS: INTrace Synchro Sw (4 bits)IS:__HAL_RCC_AFIO_CLK_ENABLE();
__HAL_AFIO_REMAP_SWJ_NOJTAG();
__HAL_RCC_GPIOA_CLK_ENABLE();
In Serial Wire mode IS: INTrace Synchro Sw (4 bits)IS:__HAL_RCC_AFIO_CLK_ENABLE();
__HAL_AFIO_REMAP_SWJ_NOJTAG();
__HAL_RCC_GPIOA_CLK_ENABLE();
__HAL_RCC_GPIOE_CLK_ENABLE();
Here is the SYS debug settings Here is what CubeMX did. My questions is:It's necessary to do those job in main() ?
I think the right way is to set up configuration before the program is running.
and I right ?
Note: this post was migrated and contained many threaded conversations, some content may be missing.