Replies: 2 comments 11 replies
-
Hi @0Grit, really sorry I missed this! There are two possibilities for an installer:
The blocker for the first is that pyInstaller doesn't support package entry points as used by pyocd for its debug probe and RTOS plugins. There are some options other than pyInstaller, eg pyOxidizer, but they haven't been tried yet and therefore have many unknowns. |
Beta Was this translation helpful? Give feedback.
-
I tried pyoxidizer and pyinstaller . My goal is to reduce launch time for pyocd commander along with use of user script. So I ditched everything not needed for this purpose. No capstone. No cmsis-pack-manager. No built-in targets other than cortex_m . No gdbserver. and Only support CMSIS-DAP as interface. from ..probe.cmsis_dap_probe import CMSISDAPProbe
PROBE_CLASSES["cmsisdap"] = CMSISDAPProbe instead of load_plugin_classes_of_type('pyocd.probe', PROBE_CLASSES, DebugProbe) And using impromptu startup script like this. from pyocd.__main__ import main
main() With pyinstaller, all I had to do was: |
Beta Was this translation helpful? Give feedback.
-
This has been discussed a couple times in slack but I don't see an issue or discussion for it yet
I think the project would see a significant increase in users, (and eventually contributors) if pyOCD had an official windows installer.
https://github.com/flit/pyOCD/tree/feature/binary_build
@flit what is the current blocker of this again?
Beta Was this translation helpful? Give feedback.
All reactions