Skip to main content

Setup

Install Eide on your pc and setup development envrionment.

Precondition

This plug-in base on VSCode, if you are going to use it, please:

  • Make sure you're familiar with VSCode
  • Make sure you're familiar with the basic build process of c/c++ project

Because this docs takes the above conditions as the premise.

Install EIDE

In this section, we will guide you on how to properly install EIDE.

We Need Network

We need download some packages from network, make sure your network is ok !
If you need to install offline, please goto Github Release to download installation package.

  • Open vscode extension market, search eide, select Embedded IDE and install it.

  • When the plug-in has been installed, it will launch and start to init.

    The plug-in will auto download and install eide-binaries and .NET6 X64 Runtime package, please wait !

  • When .NET Runtime has been installed, you need to restart vscode to refresh System Environment Variables.

    EIDE will check .NET Runtime before launch, goto VSCode Output Panel to check log.

When you have completed the above operations, EIDE will be installed normally on your computer and we are now ready to begin.

Not found runtime

Sometimes, the runtime is installed, but plug-in still prompts that it cannot be found.
You may need close all vscode instances and execute command code . in shell to refresh System Environment Variables.

How to install dotnet on Unix platform

You can install dotnet to the global environment using the system's package manager. If you are unable to access the package manager, you can follow these steps to install it:

  1. Run dotnet-install.sh to install.
  2. Run ln -s ~/.dotnet/dotnet ~/.local/bin/dotnet to add a symbol link.
  3. Logout and login, then restart vscode.
.NET Runtime Version

If you want to install the .NET runtime manually, you must install a version with major version number 6 (e.g. v6.0.5). Click here to download the runtime

Function Region Layout

Now we'll walk you through the functional areas of the plug-in.

  • EIDE PROJECTS: Project View

    The EIDE PROJECTS area will display the projects you have open.

  • OPERATIONS: Operations View

    The OPERATIONS area will display some Common Commands for user.

Configure Toolchains

EIDE support many toolchains, but these package is so big, so we not built-in them in plug-in, you need to install manualy.

Click Configure Toolchain item in OPERATIONS view.

Then a quickpick box will be pop-up. You need to choose the compiler you want to use and set its installation path.

If you configure done, a check mark '✔' will be appeared after the item.

What is the "Toolchain Installation Folder Path" ?

The Toolchain Installation Folder is the root path for your compiler.
example:

  • If your gcc compiler path is: d:/software/my_toolchain/arm_gcc_10/bin/arm-none-eabi-gcc.exe
  • Now, you need set d:/software/my_toolchain/arm_gcc_10 as your arm gcc Toolchain Installation Folder in EIDE.
Install Toolchain by EIDE

For Windows platform, EIDE provide some online installation package for Open Source Toolchains.
So you can use Install Utility Tools function or select an existing installation location.

Automatically Detect Toolchains

Each toolchain has a corresponding plugin setting. If its value is "empty", the plugin will automatically detect the available toolchains from the environment variables.

Toolchain NamePlugin SettingThe Command Used For Detection
IAR Arm CompilerEIDE.IAR.ARM.Toolchain.InstallDirectoryiccarm
GNU Toolchain For ArmEIDE.ARM.GCC.InstallDirectory${EIDE.ARM.GCC.Prefix}gcc
LLVM For ArmEIDE.ARM.LLVM.InstallDirectoryclang
Arm Compiler V5EIDE.ARM.ARMCC5.InstallDirectoryarmcc
Arm Compiler V6EIDE.ARM.ARMCC6.InstallDirectoryarmclang
Small Device C CompilerEIDE.SDCC.InstallDirectorysdcc
GNU Toolchain For RISCVEIDE.RISCV.InstallDirectory${EIDE.RISCV.ToolPrefix}gcc
GNU Toolchain For MIPSEIDE.MIPS.InstallDirectory${EIDE.MIPS.ToolPrefix}gcc
Unknown GCCEIDE.Toolchain.AnyGcc.InstallDirectory${EIDE.Toolchain.AnyGcc.ToolPrefix}gcc

For Linux Platform

Please use the package manager to install the toolchain, such as apt install arm-none-eabi-gcc, etc

Alternatively, you can append the path of the compiler's bin directory into the system's PATH variable, which can be achieved by modifying ~/.profile.

For Windows Platform

Download the installation package of the corresponding compiler by yourself from the network and execute the installation.

Then open the computer Settings, set the system environment variables, and then append the Path of the compiler's bin directory to the system environment variable: Path.

Then just restart VSCode.