2015-10-13 08:20 PM
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 #bug2015-10-15 03:58 AM
Hi yazdani.saeid,
For F1 series in STM32CubeMx, you have to change the status of SYS, in pinout view, from disable to any other one and your issue will be resolved.This bug will be fixed in the next release 4.11. Sorry for the inconvenience may bring. -Shahrzad-