Marus / cortex-debug

Visual Studio Code extension for enhancing debug capabilities for Cortex-M Microcontrollers
MIT License
1.01k stars 240 forks source link

Enhancement: Add SWO support for pyocd #82

Closed lgl88911 closed 3 years ago

lgl88911 commented 6 years ago

I want to set pyocd param "-f", "--frequency", help = Set the SWD clock frequency in Hz." for debug. Is there a plan? Thanks

haneefdm commented 3 years ago

Sorry for the late response.

Support for adding your own arguments is already supported via serverArgs in launch.json.

However SWO is not directly supported for pyocd. I will change the topic to reflect needing support for SWO, if you don't mind.

lgl88911 commented 3 years ago

It's really late, so much so that I have given up using SWD. Fortunately, it is now supported. I will try it when I am free, thank you. The new title looks good, and this modification is indeed for pyocd.

haneefdm commented 3 years ago

I think you meant SWO. Thanks, try it out when you have a chance. I am closing this for now and pyocd based SWO is now released