Open Spivoxity opened 3 years ago
See the "installing pyocd" section here:
https://github.com/Spivoxity/baremetal-v1/blob/master/setup/install
I was wondering if one way is for pyocd-pemicro
to depend on pyocd
instead of other way around? Then if one needs PEMicro support it can be installed at one go?
In addition to the known problem with installing
cmsis-package-manager
on Raspberry Pi, a new problem has appeared in version 0.30.3, caused by the dependency onpyocd-pemicro
andpypemicro
. Whenpyocd
is started, it tries to load these modules and the libraryunitacmp-64.so
that they use. If fails to find the library and crashes.As far as I can see, the
unitacmp-64.so
library is closed source and not available for Raspi OS. But in any case, it seems a shame to require it to be installed in order to use some other debug adapter -- in my case, the built in debugging interface of the BBC micro:bit.Perhaps a solution would be to remove the dependency of
pyocd
onpyocd-pemicro
, and let those who need it install the add-on by hand. My workaround is to remove the dependency from thepyocd
metadata file, like the dependency oncmsis-package-manager
, before installing. The GDB server works fine without them.With best wishes, -- Mike Spivey