When trying to build a "hello world" project provided by NXP, I get the following error:
Executing task: CMake: configure
Config task started...
Configure failed.
I'm using the latest version of VS Code (1.99.3) and MCUXpresso for VS Code (25.3.72). All the dependencies and Extension packs have been installed. So where and which configuration is missing. I have seen some recommend to uninstall both MCUXpresso and MCUXpresso for VS Code - I tried that! First I installed the VS Code and MCUXpresso for VS Code - this caused an error saying that the path for the toolchain was missing. After install MCUXpresso this was solved... but the issue with the configuration remains.
Maybe related... When I try to "attach" to the MCU using a Segger Jlink plus, I get the error "could not determine the build target path for project..."
Pressing the button and open the "launch.json" shows the file, and here I cannot find any "target path" if that was expected? When the file is open, there is a "add configuration" button but neither of the configuration options are related to "build target path"... How do I set the the build target path?
Regards Henrik
Hi @Harry_Zhang
Thanks for you reply.
I was triggered by you colleague, who asked about the version of CMake I am using. I was not able to answer the questions, because I believed that CMake was installed together with MCUXpresso IDE or at least the CMake extension for VS Code, when installing the MCUXpresso for VS Code. However that doesn't seem to be the case.
After manually installing:
I got it to work, but it would have saved me some time, if it had been written in documentation for the MCUXpresso, that you need manually to install some basic tools, e.g. in "Getting Started with MCUXpresso SDK for EVK-MCIMX7ULP.pdf" or "AN14120".
Regards Henrik