2025-05-07 8:08 AM
What I have to do that I can directly call some python scripts as pre/post code generation step with CubeMX 6.14.1 under Linux?
Currently I can execute directly the python script on a Windows Machine, but on the Linux machine nothing happens. On Linux I can execute the scripts directly from command line without CubeMX and I can execute the scripts over a bash script which is calling the python script.
Thanks in advance
nobody
2025-05-07 8:23 AM
does your script contain a proper shebang?
has it the executable flag set?
If so and it doesn't work, wrap it in a shell script.
hth
KnarfB
2025-05-07 8:23 AM
Does it work if you use "python ../../helloWorld.py"?