Set up toolchain#
This section contains the steps to install the necessary components required to build and run a MCUXpresso SDK demo application with the Arm GCC toolchain on Windows OS, as supported by the MCUXpresso SDK.
Install GCC Arm embedded toolchain#
Download and run the installer from the GNU Arm Embedded Toolchain Downloads page. The GNU Arm embedded toolchain contains the GCC compiler, libraries, and other tools required for bare-metal software development. The GCC toolchain should correspond to the latest supported version, as described in MCUXpresso SDK Release Notes for EVK-MIMX8ULP (document MCUXSDKIMX8ULPRN).
Note: See How to set up Windows/Linux host system for setting up Windows host before compiling the application.
Parent topic:Set up toolchain
Add a new system environment variable for ARMGCC_DIR#
Create a new system environment variable and name it ARMGCC_DIR. The value of this variable should point to the Arm GCC embedded toolchain installation path. For this example, the path is:
C:\Program Files (x86)\GNU Arm Embedded Toolchain\9 2020-q2-update
Reference the installation folder of the GNU Arm GCC embedded tools for the exact pathname.
Parent topic:Set up toolchain
Parent topic:Windows OS host