Question
Forcing STCube not to touch some lines of code when regenarting
Posted on October 14, 2015 at 05:20
I am using Cube, everytime that I make a small change in the cube project and regenrate the code, it generates this line in stm32f1xx_hal_msp.c
/**DISABLE: JTAG-DP Disabled and SW-DP Disabled */ __HAL_AFIO_REMAP_SWJ_DISABLE();Everytime I have to go and comment this line out. The other codes that I write in between the special comment sections remains fine, but this line always makes some problem. Is there a special comment tag or something to let cube know that it should not touch that particular line or block of code?Thanks. #hal #cubemx #stm32 #bug