Skip to main content

Install Utility Tools

Install external tools, programs

Utility Tools

We provide some external utility tools on github repository.

You can install these tools by eide, as follows:

These tools will be installed to <user_home>/.eide/tools folder, and eide will export bin path to extension system environment variables.

Check Tool Location

We provide a terminal type for vscode: EIDE Terminal.

Open an eide terminal, use shell command to list all internal eide System Environment Variables:

Command: ls env:

Execute above command to list all env items, then you can check your tool's location:

Install Toolchains On Linux/Macos

Linux software mostly has dependencies. Please use system package manager to install linux softwares.

Or consider use xpack package manager to install them.

Install toolchain by system package manager

  • Ubuntu/Debian
namecommanddescription
Small Device C Compiler(sdcc)apt install sdccUsed to compile 8051 stm8 projects
GNU Arm Embedded Toolchain(gcc-arm-none-eabi)apt install gcc-arm-none-eabiUsed to compile cortex-m projects
  • MacOS
namecommanddescription
Small Device C Compiler(sdcc)brew install sdccUsed to compile 8051 stm8 projects
GNU Arm Embedded Toolchain(gcc-arm-none-eabi)brew install gcc-arm-none-eabiUsed to compile cortex-m projects

Install toolchain by xpack package manager

You need to install xpm first, See docs: https://xpack-dev-tools.github.io/riscv-none-elf-gcc-xpack/docs/install/#prerequisites

namecommanddescription
RISC-V GCC Toolchain (riscv-none-embed-gcc)xpm install @xpack-dev-tools/riscv-none-elf-gccfor riscv mcu project
GNU Arm Embedded Toolchain(gcc-arm-none-eabi)xpm install @xpack-dev-tools/arm-none-eabi-gccfor cortex-m project
Notice

These commands need to be executed in the root directory of the current project and need to be initialized by xpm init