Debugging MCUXpresso project with VSCode

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Debugging MCUXpresso project with VSCode

Jump to solution
1,709 Views
Kateb
Contributor I

After successfully importing mcuxpresso project to vscode, I got this error message :

Could not read settings from mcuxpresso-tools.json for project

Thanks for the help.

0 Kudos
Reply
1 Solution
1,195 Views
cristiantepus
NXP Employee
NXP Employee

Hi,

I still don't understand how to reproduce the problem, from what I see, this SDK does not have arm-gcc type support so cannot be used under vscode extension.

cristiantepus_1-1704789935623.png

Similar, KW45 is not available under github.

Consequently, SDK examples will not compile.

So, can you detail how you imported the project? From an SDK? Or from MCUXpresso IDE? And how did you used a potential SDK that you have?

 

View solution in original post

0 Kudos
Reply
5 Replies
1,679 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi Kateb 

In order to resolve your issue, please provide us more informations

1. steps of how to reproduce this issue

2. your part number, thus we can assign the question to the right engineer in charge.

Thanks,

Jun Zhang

0 Kudos
Reply
1,572 Views
Kateb
Contributor I

Hi Jun,

Thanks for the response.

I imported the NXP MCU example "kw45b41zevk_digital_key_device_freertos" into VSCode using Import Project from folder. MCUxpresso for VScode generated some files Launch.json, cmake-kits.json, cmake-variants.json, settings.json, mcuxpresso-tools.json.

When I press F5,  VSCode displays the message below:

Could not read settings from mcuxpresso-tools.json for project "c:\_dev\digital_key_device-vscode\kw45b41zevk_digital_key_device_freertos"

Here is the content of mcuxpresso-tools.json:

{
  "version": "1.1",
  "toolchainPath": "C:\\Users\\kghemari\\.mcuxpressotools\\arm-gnu-toolchain-12.2.rel1-mingw-w64-i686-arm-none-eabi",
  "toolchainVersion": "",
  "linkedProjects": [],
  "trustZoneType": "none",
  "multicoreType": "none",
  "debug": {
    "linkserver": {},
    "pemicro": {},
    "segger": {}
  },
  "projectType": "sdk-freestanding",
  "sdk": {
    "version": "",
    "boardId": "kw45b41zevk",
    "manifestId": "",
    "deviceId": "KW45B41Z83xxxA",
    "coreId": "cm33_KW45B41Z83xxxA"
  }
}

Regards,

Kateb

0 Kudos
Reply
1,515 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @Kateb 

How about import a simple SDK project?

All have the same issue or just only this project?

 

BR

Alice

0 Kudos
Reply
1,361 Views
Kateb
Contributor I
Thank you ...I'll get back to you as soon as I'll give it retry. For now I"m on another assignment.
0 Kudos
Reply
1,196 Views
cristiantepus
NXP Employee
NXP Employee

Hi,

I still don't understand how to reproduce the problem, from what I see, this SDK does not have arm-gcc type support so cannot be used under vscode extension.

cristiantepus_1-1704789935623.png

Similar, KW45 is not available under github.

Consequently, SDK examples will not compile.

So, can you detail how you imported the project? From an SDK? Or from MCUXpresso IDE? And how did you used a potential SDK that you have?

 

0 Kudos
Reply