Ford Peprah
Ford Peprah
Sorry about the late response here. Hm. I'm not sure. If you run with verbose logging, does it show you anything? ``` import logging logging.basicConfig(level=logging.DEBUG) ```
It sort of seems like the `Connect` doesn't succeed: ``` INFO:pylink.jlink:TotalIRLen = ?, IRPrint = 0x..000000000000000000000000 DEBUG:pylink.jlink:TCA9DDC0 085:077.860 DEBUG:pylink.jlink:TotalIRLen = ?, IRPrint = 0x..000000000000000000000000 DEBUG:pylink.jlink: INFO:pylink.jlink:TotalIRLen = ?, IRPrint =...
Ability should be available in `v1.0.0` through `flash()`.
We can probably switch to `unittest.mock` in dropping support for Python 2. As for the other things, we've only tested on OSX (x86_64), Windows, and Ubuntu / CentOS (x86_64). I...
Looks like M1 runners are supported, so this is something we can do for the unit testing: https://github.com/github/roadmap/issues/528
Looks like the passed parameter for the constructor is only used for the context manager, and not for the `open()`. I think maybe we could document this better, or possibly...
> Not sure how to write a unit test for this - seems to require a ARM64 architecture system to test? Unless there's some way to emulate that. You can...
Since this has been sitting for awhile, I'll try to add tests, and get this merged in.
Here's a diff with working unit tests: ``` diff --git a/pylink/library.py b/pylink/library.py index 6361abf..ca4d33f 100644 --- a/pylink/library.py +++ b/pylink/library.py @@ -143,10 +143,11 @@ class Library(object): """Test whether a library is...
You can use the `ip` argument as documented [here](https://pylink.readthedocs.io/en/latest/pylink.html#pylink.jlink.JLink.open_tunnel), which takes an address and port; e.g. `127.0.0.1:8000` (`:`).