Setup guide for development environment for GCC in windows
Content:
Install ARM GNU GCC Compiler
Download the Arm GNU toolchain from: ARM_GNU toolchain Download
Run the .exe to install ARM_GNU toolchain
Add environment variable
GCC_TOOLCHAIN_13_2_1 = C:\Program Files (x86)\Arm GNU Toolchain arm-none-eabi\13.2 Rel1\bin
MSYS2 Installation For Windows
Follow the below steps to install MSYS2 in Windows:
Download the Windows installer for MSYS2: MSYS2
Once the installer is downloaded, double-click the
.exefile to start the installation process and follow the on-screen instructions in the installation wizard.Select
Launch MSYS2 UCRT64.Enter the command
pacman -S make. EnterY, incase prompted to.Add the following path:
C:\msys64\usr\binto Path in System Variables.
Ninja Installation For Windows
Follow the below steps to install ninja in Windows:
Download and extract the zip file for ninja in Windows: ninja
Add the following path:
C:\Users\user_name\Downloads\ninja-winto Path in System Variables.
CMake
CMake 3.26.0 Download
Download the CMake installer from the cmake installer.
CMake Installation
Run the downloaded msi file.
Note: For Win64, enable the install option Add CMake to the system PATH.-
Python
Python Download
(Recommended 3.10 and above)
Go to the official Python website: python
Click on Download Python 3.x.x (the latest stable release).
Python Installation
Locate the downloaded .exe file and run it.
Make sure to check the box that says
Add Python to PATHat the bottom of the installer window before clickingInstall Now. This is essential for accessing Python from the command line.
Debug steps
For debug capabilities - download the Windows installer from the link below: Ozone Debugger
Once the installer Ozone_Windows_V334a_x64.exe is downloaded, double-click the .exe file to start the installation process and follow the on-screen instructions in the installation wizard.
Environment Variables Summary
The various tools use the following environment variables.
Environment Variable |
Description |
|---|---|
GCC_TOOLCHAIN_13_2_1 |
GCC Compiler path: ( |