Another non-x86 issue (dependency on pypemicro)
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1.5k
- Forks
- 560
- Avg merge
- 1h 41m
- Merged PRs (30d)
- 3
Description
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 on pyocd-pemicro and pypemicro. When pyocd is started, it tries to load these modules and the library unitacmp-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 on pyocd-pemicro, and let those who need it install the add-on by hand. My workaround is to remove the dependency from the pyocd metadata file, like the dependency on cmsis-package-manager, before installing. The GDB server works fine without them.
With best wishes,
-- Mike Spivey
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Inspect pyOCD's dependency metadata and the startup path that loads pyocd-pemicro and pypemicro. Reproduce installation and startup on Raspberry Pi with a non-Pemicro adapter such as the BBC micro:bit interface; done means that adapter works without unitacmp-64.so while Pemicro support remains appropriately documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- devtools, embedded-iot
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 28/100