-
Notifications
You must be signed in to change notification settings - Fork 16
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
STM32_gen_peripheralPins.py chrashing after generating pinmaps #212
Comments
I could use it succesfully on another Linux laptop. |
Can not be this caused by python version?
|
Difficult to reproduce, because it was done in WSL2 on a Windows bootcamp, but after a fatal crash with a non bootcamp supported tool in Windows I had to reinstall my whole partition and lost half of a week and all docs on my desktop. But however, maybe it's an idea to catch that error in the code and create a message for it. |
I think I'd like to close this one for now unless we can find a way to reproduce the issue. I don't think we can confidently fix it until we know what causes it. Any objections? |
|
ah yeah, that will do it https://forums.mbed.com/t/stm32-gen-peripheralpins-py-is-broken-in-mbedos-6-6/11523 |
Maybe in the script doing a verification for Python version before continuing? |
Could you make a PR for that? |
Let me first bringup my new environment. |
So we can add something like this at the beginning of the script maybe?
I can test it and make the PR later. You can focus other things. |
Ok, we have an info about Python version requirement directly in the .py script now. |
Description of defect
When generating pinmap files the script is crashing:
Target(s) affected by this defect ?
Custom target
Toolchain(s) (name and version) displaying this defect ?
NA
What version of Mbed-os are you using (tag or sha) ?
Mbed 7.59.0
What version(s) of tools are you using. List all that apply (E.g. mbed-cli)
CLI2
How is this defect reproduced ?
Execute command above
The text was updated successfully, but these errors were encountered: