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

pyinstaller and target lpc1788 problem, SOLVED!!! #1736

Open
fabio-ric-silva opened this issue Nov 1, 2024 · 0 comments
Open

pyinstaller and target lpc1788 problem, SOLVED!!! #1736

fabio-ric-silva opened this issue Nov 1, 2024 · 0 comments

Comments

@fabio-ric-silva
Copy link

fabio-ric-silva commented Nov 1, 2024

The target LPC4088 is compatible with LPC1788, and it is disponible in the library!


Dears, I have made a search and didn't find anything, because of it I will open this topic!

I have made a simple GUI for using the pyocd.

At first moment, I have made all the tests and development process using the target "lpc1768".
For now, it works when executed in python, and when generated the code by the pyinstaller!

The problem, for now, is with the target "lpc1788".
If I execute the code with the python 3.13, it works very fine, with none errors!
But;
If I create the executable with the pyinstaller, when executing it for writing the flash, it returns an error:

Error: Target type lpc1788 not recognized. Use 'pyocd list --targets' to see currently available target types. See https://pyocd.io/docs/target_support.html for how to install additional target support.

When executed the "pyocd list --targets", it returns the lpc1768 as the 1788 as well!

Someone could gimme a help on it?

I tried to put target='lpc1788' in the *.spec but no success!

Thanks in advance!

Sincerely;

@fabio-ric-silva fabio-ric-silva changed the title pyinstaller and target lpc1788 problem! pyinstaller and target lpc1788 problem, SOLVED!!! Nov 7, 2024
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

No branches or pull requests

1 participant