pyocd / pyOCD

Open source Python library for programming and debugging Arm Cortex-M microcontrollers
https://pyocd.io
Apache License 2.0
1.13k stars 484 forks source link

smv_clock cannot be set #1091

Closed thedjnK closed 3 years ago

thedjnK commented 3 years ago

It seems like the 'smv_clock' value is whatever is set in the default configuration, changing it on the command like using pyocd ... -O smv_clock=2000000 does not work and the default value (1Mhz) is ued.

flit commented 3 years ago

Do you mean swv_clock? ("w" instead of "m")

thedjnK commented 3 years ago

That would be the issue, been making the same typo for quite some time it seems... Works when the correct option name is used!