Skip to content

Install emCode

The emcode package includes the tools and a template for the Visual Studio Code projects.

To install emCode,

Note

If case emCode is used on Windows Sub-system for Linux, install emCode on the Linux environment.

  • Create the symbolic link ~/.emCode to the actual location of emCode.

For example, if emCode is located at ~/Projects/emCode, create the symbolic link with

$
ln -s ~/Projects/emCode ~/.emCode

The emCode folder contains two sub-folders.

emCode
├── Template
└── Tools
    ├── Configurations
    ├── Cores
    └── Makefiles

The Template sub-folder contains a minimal Visual Studio Code project.

The Tools sub-folder contains the configuration files of the boards, the pre-compiled core archives, and the makefiles.

The pre-compiled core archives are generated during the first successful build against a board.

For example, the first successful build and link against the Raspberry Pi Pico RP2040 board with core 4.4.4 uses the configuration Raspberry_Pi_Pico_RP2040_MSD.mk and generates Raspberry_Pi_Pico_RP2040_MSD_4.4.4.a.

emCode
├── Template
└── Tools
    ├── Configurations
    │   ├── Raspberry_Pi_Pico_RP2040_J-Link.mk
    │   ├── Raspberry_Pi_Pico_RP2040_MSD.mk
    │   └── Raspberry_Pi_Pico_RP2040_PicoProbe.mk
    ├── Cores
    │   └── Raspberry_Pi_Pico_RP2040_MSD_4.4.4.a
    └── Makefiles
        ├── About.mk
        ├── RasPiPico.mk
        ├── Step0.mk
        ├── Step1.mk
        └── Step2.mk

The following builds go faster as they use the archive.