nxp-mcuxpresso / vscode-for-mcux

Support for NXP Visual Studio Code for MCUXpresso Extension project.
13 stars 0 forks source link

Setup VS code to use with PN7642 SDK #11

Open dilawarali5 opened 10 months ago

dilawarali5 commented 10 months ago

Hi,

I am working with PN7642 dev kit. I have received the SDK and examples code are working fine with McuExpresso IDE. But I am not able to install the provided SDK in VS code. Can you please share a guide how can I install the sdk and use its examples?

Thanks,

DragosMiloiuNXP commented 10 months ago

Hi,

Our current VS Code implementation relies on SDK support that exists only in SDKs 2.13 or greater. For the part you indicated (PN7642), the latest ARM GCC SDK available is 2.12.

We are working to add support for older SDK versions.

Meanwhile what you can do is to import in VS Code the desired CMake project generated using MCUXpresso SDK Builder. Please refer to Working with Pure CMake Projects for details.

Note: The final step in the documentation - “Associating a repository” – is not mandatory, so please ignore it in your case. When you’ll try to debug the project, VS Code will prompt you to select the device from the list of devices supported by the GDB server - Debug Without Repository Information

Regards, Dragos.

dilawarali5 commented 10 months ago

MCUXpresso SDK Builder do not have the support for the PN7642 device.

purdurnr commented 10 months ago

@dilawarali5 I noticed that I can access the ARM GCC version of this SDK on MCUXpresso SDK Builder. https://mcuxpresso.nxp.com/en/builder?hw=PN7642 Can you attempt to download this public SDK and use the instructions provided by Dragos. Let us know if you are able to get this SDK that has CMake based projects?

dilawarali5 commented 10 months ago

If I try this link it redirects me to the main link and report an error "Unknown HW name: PN7642"

I have received the sdk "sw779511 PN7642-MCUXpresso-SDK-v021201-NDA" from nxp secure file storage. It does contains cmake example based on armgcc toolchain. But I am facing an issue to compile armgcc.

More details of issue I am facing are described here. https://community.nxp.com/t5/NFC/armgcc-compilation-is-not-working-with-SDK-02-12-01-on-windows/m-p/1720045#M10718

UCC18ECES15 commented 2 months ago

@dilawarali5, Hi are you still experiencing those issues? particularly this one, https://community.nxp.com/t5/NFC/armgcc-compilation-is-not-working-with-SDK-02-12-01-on-windows/m-p/1720045#M10718