nigelb / platform-apollo3blue

AmbiqMicro Apollo 3 Blue: development platform for PlatformIO
Apache License 2.0
30 stars 13 forks source link

Add ability to set swo clock in swo viewer #44

Closed fariouche closed 1 year ago

fariouche commented 1 year ago

Hello,

My application is configured using the default ambiq swo clock of 1Mbauds and the autodetect seems to not work (it tries to set it to 12M -swofreq 1000000 works for me

Thanks!

nigelb commented 1 year ago

Hi @fariouche ,

You can now add:

board_debug.swo_freq=1000000

to your platform.ini file. Give it a whirl and let me know how you go.

fariouche commented 1 year ago

oh, it works! thanks! I see you also added the option in the board json too!

fariouche commented 1 year ago

if you can have also a look at the other issue https://github.com/nigelb/platform-apollo3blue/issues/43, that would be perfect. This is the only patch I have remaining!