Code Monkey home page Code Monkey logo

Comments (2)

rreicher avatar rreicher commented on August 21, 2024

Hi,

Same error inside VSCode console

`> Executing task in folder NucleoF446RE_template: """C:/Users/romain reicher/AppData/Roaming/GNU MCU Eclipse/Build Tools/2.11-20180428-1604/bin/make.exe" "GCC_PATH=C:/Users/romain reicher/AppData/Roaming/GNU MCU Eclipse/ARM Embedded GCC/8.2.1-1.1-20190102-1122/bin" -j6"" <

'""C:' is not recognized as an internal or external command,
operable program or batch file.
The terminal process terminated with exit code: 1`

{ "version": "2.0.0", "tasks": [ { "label": "Build project", "group": { "kind": "build", "isDefault": true }, "type": "shell", "command": "C:/Users/name/AppData/Roaming/GNU MCU Eclipse/Build Tools/2.11-20180428-1604/bin/make.exe", "args": [ "GCC_PATH=C:/Users/name/AppData/Roaming/GNU MCU Eclipse/ARM Embedded GCC/8.2.1-1.1-20190102-1122/bin", "-j6" ], "problemMatcher": { "pattern": { "regexp": "^(.*):(\\d+):(\\d+):\\s+(warning|error):\\s+(.*)$", "file": 1, "line": 2, "column": 3, "severity": 4, "message": 5 } }, "presentation": { "focus": true } }, {

from vs-code-stm32-ide.

schperplata avatar schperplata commented on August 21, 2024

Seems like your default integrated terminal is cmd.exe. Mine indeed is powershell.exe. I don't remember manually reconfiguring VS Code settings to use powershell, so I assume you either changed it manually or, some other thing changed your default terminal.

As Windows default terminal is now powershell, I decided to keep the tasks as they are, and ask user to switch to powershell.exe.
If you, for some reason, wish to keep the default terminal cmd.exe (instead of powershell.exe), you can reconfigure this VS Code workspace integrated shell path:

"terminal.integrated.shell.windows": "C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\powershell.exe"

It is possible to add this into workspace settings (as currently are cortex-debug settings), but I would prefer to keep as little modified VS Code settings as possible. I will implement it if there will be more requests.

from vs-code-stm32-ide.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.