Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setup: make pyocd-pemicro optional #1359

Merged
merged 4 commits into from
Apr 30, 2022
Merged

Conversation

flit
Copy link
Member

@flit flit commented Apr 1, 2022

The main purpose of this PR is to move pyocd-pemicro to an optional extra install. There are two reasons for this:

  1. The PEMicro shared libraries contained in the pypemicro Python package are closed source. That's an issue for a number of Linux distros. (The built-in Segger J-Link probe driver also uses a closed source shared library at runtime, but that library is not contained in or installed via a Python package.)

  2. For some reason, the PEMicro shared libraries cause Microsoft PowerShell to crash when pyocd exits. See Use of pyocd to flash from powershell seems to emit an error #1129.

Making pyocd-pemicro an install extra means that installing it is as simple pip install pyocd[pemicro]. Installation documentation has been updated to note this, and a section added to the debug probes documentation.

Other included changes: allow prettytable version 3.x; fix the keywords metadata value.

cc @Gargy007 @dvzrv

Fixes #1319

@elfmimi
Copy link

elfmimi commented Apr 7, 2022

Fixes #1314 too.

@flit flit merged commit c1bb219 into pyocd:develop Apr 30, 2022
@flit flit deleted the change/optional_pemicro branch May 27, 2022 20:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants