Debugging MCUXpresso project with VSCode

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Debugging MCUXpresso project with VSCode

跳至解决方案
3,410 次查看
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 项奖励
回复
1 解答
2,896 次查看
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 项奖励
回复
5 回复数
3,380 次查看
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 项奖励
回复
3,273 次查看
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 项奖励
回复
3,216 次查看
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 项奖励
回复
3,062 次查看
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 项奖励
回复
2,897 次查看
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 项奖励
回复