veecle / tricore-probe

Just like probe-run but targeting the Tricore-Architecture
Apache License 2.0
20 stars 5 forks source link

Swap to upstream ftd2xx #22

Closed daniel-veecle closed 3 months ago

daniel-veecle commented 4 months ago

This PR attempts to reduce the complexity of tricore-docker by swapping the hardcoded implementation of FTDI with upstream https://crates.io/crates/libftd2xx.

By doing so, one can refactor code to be simpler and easier to understand.

This PR does not aim to improve the RPC protocol, logic or probe functionalities - this is left for future work.

Status

The code is kind of finished... but it needs to be tested so for now this is kept as draft.

daniel-veecle commented 4 months ago

I compiled this on our Linux workstation and stub tested and it seemed to work. I need to test with actual hardware but for that I will wait Monday. In the meantime this is ready for review (In the assumption it works).

daniel-veecle commented 4 months ago

I guess this can be closed @arctic-alpaca?

arctic-alpaca commented 4 months ago

Depends on whether we can land https://github.com/veecle/tricore-probe/pull/23. But if so, then yes.

arctic-alpaca commented 3 months ago

Superseded by #23.