Comments (10)
Finally, with your considerations and kind support, it worked. Now I will continue with the rest of the project. Thank you
from vs-code-stm32-ide.
Hard to say what is wrong. Did you inspect error message carefully?
"CubeMx returned non-zero exit code. Something went wrong: Error:
is my message, while the rest is actually CubeMX returned status:
opening registry key 'Software\JavaSoft\Java Runtime Environment'\r\nError: could not find java.dll........
Do you have some custom java installation?
I would suspect that windows 7 should work, but I never tried, I've always worked with win 10.
from vs-code-stm32-ide.
Thank you for your fast answer!
I debugged your phyton code, and copy the command issued on file 288 of importKeilProject.py.
I opened a new cmd Terminal on VS Code, and run the command. All worked Ok and finished with Makefile done.
I forgot mention you I'm using windows 7 64 bit, and the phyton version I sent you was 32 bit, so, I will check to use all tools versions in 64 bit first. I'll keep you posted
from vs-code-stm32-ide.
Finally, seems it was a conflict between VS Code and Python versions. I uninstalled Python completely and installed only Python version 3.7.3 64 bit and it worked.
Now, I'm having another error but could be from the Keil project I'm trying to import.
The error is "Multiple '*.s' source files listed...", I have to check if the project has more then one startup file.
I will not close the comment for a while in case you have some suggestion to give me.
Thank you again for your support
from vs-code-stm32-ide.
I forgot to mention, besides, I had to specifically configure the python path on settings.json (Python: Python Path)
from vs-code-stm32-ide.
If VS Code doesn't automaticaly recognize installed Python(s), the reason could be that you are having python installed on some custom path, or python.exe can't be found on system PATH.
from vs-code-stm32-ide.
Hi, I was tracking the error "Multiple '*.s' source files listed..." and I found the following:
I'm trying to import the Keil project from https://github.com/RAKWireless/RAK5205-WisTrio-LoRa
When 'importKeilProject.py' scan the file on row 187, as soon as it found the file ReleaseNotes.txt on 'doc/Firmware' directory, it start to append all files again and finally it finish with the double of c files and two startup.....s files.
So, after that, it stops with the error message mentioned before. Am I doing something wrong? Is the Keil project file bad formatted?
Please, let me know your opinions. Thank you
from vs-code-stm32-ide.
I think the recursive nature of getElementsByTagName, on row 184, is producing nodes duplications from the Keil .uvprojx file.
from vs-code-stm32-ide.
Given Keil project is a two target workspace - all files are present in both target solutions, hence importKeilProject.py script has all duplicated.
By removing one of the targets from Keil workspace (and save), this script will work properly.
Currently such more complex Keil projects are not handled - and probably won't be, since there is whole bunch of other problems for multi-target Keil projects.
from vs-code-stm32-ide.
Thank you very much for your time!
Ok, I understood. Are those pictures coming from Keil IDE? Because I don't have Keil licence to manage this project, that's why I'm trying to use for all my projects the VS Code.
Again, thanks for your understanding
from vs-code-stm32-ide.
Related Issues (20)
- Invalid path detected in 'buildData.json' 'stm32SvdPath' key HOT 9
- how to install HOT 4
- Building issue HOT 6
- .vscode cfg file not found by openocd HOT 3
- GDB not found HOT 2
- Error when Flashing HOT 1
- GNU eclipse tools, GNU Eclipse ARM Embedded GCC: 7-2018-q2 not available HOT 3
- Problem with FreeRTOS HOT 2
- Maybe I got a bug. HOT 4
- Problem with access (seemingly) when executing update.py HOT 8
- Update.py Run Error HOT 1
- Error (unrecoverable) Unable to find matching STM32 CPU name for Keil project device: STM32L072CTx HOT 2
- Install on Mac OS HOT 1
- gccExePath HOT 2
- Paths with spaces HOT 2
- IndexError: list index out of range HOT 1
- Make file missing seprator HOT 1
- PermissionError: [WinError 5] Access is denied HOT 1
- Try build and get this: "undefined reference to .... HOT 2
- update.py generates bad arguments for openocd HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vs-code-stm32-ide.