A mcu development environment for 8051/STM8/Cortex-M/MIPS/RISC-V on VsCode.
Provide 8051/STM8/Cortex-M/MIPS/RISC-V project development, compilation, program flash and other functions.
Supported Platforms:
- Windows x64 (>= Windows 10)
- Linux x64
- macOS(Only tested in 'macOS 10.15 x64')
- Support 8051, STM8, Cortex-M, MIPS MTI, RISC-V, GCC projects.
- Support to import KEIL5/IAR/Eclipse projects, support to import 'IAR-STM8, IAR-ARM, Segger Embedded Studio' project source file resource tree.
- Support for installing standard KEIL chip support packs (only for Cortex-M projects).
- Provides many project templates for quick start a project.
- Build, rebuild, support many toolchains (armcc, gcc-arm-none-eabi, llvm-for-arm, riscv-gcc, xxx-gcc, keil_c51, sdcc ...).
- Program flash, support: jlink, stlink, openocd, pyocd ...
Built-in serial port monitor(recommended to useSerial Monitorplug-in).- Supports static checking projects by using Cppcheck.
- Automatically generates default debug configurations for debugger plug-in
cortex-debug, STM8-Debug. - Built-in many utility tools, 'CMSIS Config Wizard UI', 'Disassembly view', 'Program resource view'...
- Built-in implement
C/C++ IntelliSense Providerforms-vscode.cpptools, Not Need to configuratec_cpp_properties.jsonfile. - Built-in Msys Unix Shell environment.
-
Install any of the above compilers
-
Open the Operations bar of the extension to set the compiler installation path
-
Click on the
NeworImportfunction in the Operations bar to start your project
- Create A Project By Internal Template
- Build Project
- Flash Project (It failed because there was no connection to the development board, for demonstration purposes only)
- Show Source File Disassembly Code
- Program Resource View
You can build this project by your self.
Important
The required version of NodeJS is 16 because of some historical reasons for this extension.
-
Install
NodeJS 16(recommanded v16.20.2). You can usenvmto manage your NodeJS. Installvscebynpm install -g cheerio@1.0.0-rc.9 vsce@2.15.0 -
Clone this repo, Open folder by vscode and then run command:
npm install
-
Press
ctrl+shift+bto show vscode task-
Use
npm: webpackto build this extension, and then you can press F5 to debug it. -
Use
build vsixto build as a vsix package.
-
Note
There may be syntax errors when opening project source code using VSCode, this is because the project uses an older Version of TypeScript, please press Ctrl+Shift+P to execute TypeScript: Select TypeScript Version... and select version: v3.9.x.
If you have any good ideas, you can first put forward your suggestions in the issue section. If they are feasible, we will implement them later. If you want to add features by yourself, please also share your ideas at the very beginning (otherwise, we cannot guarantee that your PR will be merged). If you are ready and have completed the debugging and testing, then you can submit a pull request request to the dev branch. Thanks.
Thanks:






