Hi Hamed Mohammadi,
There seem to be no conflict.
In fact you don't need to enable SWD CLK and DIO pins, these two pins are default as these function.

Best Regards,
Robin
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------