nxp-mcuxpresso / vscode-for-mcux

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

MCUXpresso Installer doesn't install Arm GNU Toolchain add-ons #22

Closed escherstair closed 6 months ago

escherstair commented 8 months ago

I installed MCUXpresso Installer v1.1 b155 on my Windows 10 PC. I select MCUXpresso SDK Developer to be installed immagine

If I hover with the mouse, I see that Arm GNU Toolchain add-ons is one of the items that will be installed immagine

But it's not instaleed.

I'm able to install it if I select the Individual Component "Arm GNU Toolchain add-ons". immagine

cristitep-nxp commented 8 months ago

Hi,

"Arm GNU Toolchain add-ons" is a pack of files which (automatically) comes on top of "Arm GNU Toolchain" when this component is part of the installation. This is the case of "Arm Gnu Toolchain" from "Individual Components" and from "MCUXpresso SDK Developer". And this is indicated on their tooltips. Additionally, we had a request to provide a standalone version of the pack that can be placed on the top of a custom/user's distribution of "Arm GNU Toolchain" - which doesn't originally have our extra pack. And this is the purpose of this "Arm GNU Toolchain add-ons" standalone pack under Individual Components. So you actually might have the situation when "Arm GNU Toolchain" reports that it has the pack on top while individual pack was not downloaded (your case). This is better explained on https://github.com/nxp-mcuxpresso/vscode-for-mcux/wiki/Dependency-Installation#additional-individual-components . Indeed, this might be confusing and we'll think on a way to better represent this situation.

Regards, Cristian

escherstair commented 8 months ago

Thanks. Your explanation is really clear. The actual situation is a little bit confusing, but I understand.

escherstair commented 8 months ago

Hi @cristitep-nxp I have another question on "Arm GNU Toolchain add-ons". With MCUXpresso Installer, everything is ok on my development laptop.

But now I need to setup the environment to build my SDK-based project on CI pipeline. I download the ARM GNU Toolchain from here. Where I can download "Arm GNU Toolchain add-ons"? Is there a public download link? Wjhere should I extract the add-ons? Is there any environment variable I should export to use it?

Thanks

escherstair commented 7 months ago

Hi @cristitep-nxp sorry for pushing, but can you (or someone else from NXP) point me to the link to download "Arm GNU Toolchain add-ons" in my CI pipeline? Thanks

cristitep-nxp commented 7 months ago

Hi,

Sorry for delay, MCUXpresso Installer places in log the location from where it downloads. In this case: https://www.nxp.com/lgfiles/updates/mcuxpresso/AdditionalCLibs-12.2.1-win32.zip

Anyway, for additional links that you might need: from Installer -> Toolbar -> Open log folder -> go up one dir -> go to .cache dir -> open components.json -> all locations are there (including "Arm GNU Toolchain add-ons")

After download: unzip -> you'll get an ARM GCC dir (latest is arm-gnu-toolchain-12.2.rel1-mingw-w64-i686-arm-none-eabi) which has a similar dir structure with an ARM GCC -> copy its content on the root dir of your arm gcc layout.

escherstair commented 7 months ago

Thank you. It works perfectly