Debugging MCUXpresso project with VSCode

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Debugging MCUXpresso project with VSCode

ソリューションへジャンプ
3,438件の閲覧回数
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,924件の閲覧回数
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,408件の閲覧回数
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,301件の閲覧回数
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,244件の閲覧回数
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,090件の閲覧回数
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,925件の閲覧回数
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 件の賞賛
返信