Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Bouffalo IDFNew to Visual Studio Code? Get it now.
Bouffalo IDF

Bouffalo IDF

Bouffalo Lab

|
7 installs
| (0) | Free
Develop, build, and flash Bouffalo Lab chips with Bouffalo SDK
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Bouffalo SDK for VS Code

VS Code extension for Bouffalo SDK: clone the SDK, pick chip and serial port, then build / clean / flash from the editor.

Run from this repo

  1. Open this folder in VS Code.
  2. npm install
  3. Press F5 (Run Extension). A new Extension Development Host window opens — that window has the plugin loaded.
  4. In the host window, open a project such as bouffalo_sdk/examples/helloworld.

Do not expect commands in the original window until the extension is installed as a .vsix or published.

Commands

All commands start with Bouffalo SDK: in the Command Palette (F1):

Command What it does
Clone / Pull SDK Enter git URL, pick a tag/version, then clone (or checkout/pull an existing tree)
Set SDK Git URL Default https://github.com/bouffalolab/bouffalo_sdk.git; company users set an internal remote (user setting)
Set SDK Path Choose an existing SDK root (project.build present)
Select Serial Port Pick COM* / /dev/ttyUSB* / /dev/cu.*
Set Chip Pick CHIP and matching BOARD (and CPU_ID for bl618dg)
Build Integrated terminal: configure env, then GNU Make 4 CHIP=… BOARD=…
Clean make clean
Flash make flash CHIP=… COMX=…
Doctor (Check Host Tools) Verify Make 4 / CMake / Python / Git / toolchain / flash tool for this OS
Open SDK Terminal VS Code terminal with BL_SDK_BASE, PATH, CROSS_COMPILE already exported

Status bar (left): SDK path, chip/board, port, Build, Flash.

Settings

Setting Meaning
bouffalo.sdkPath BL_SDK_BASE
bouffalo.gitUrl SDK git remote. Default is the public GitHub repo; override for internal mirrors
bouffalo.gitRef Last selected tag or branch
bouffalo.chip / bouffalo.board / bouffalo.cpuId Make variables
bouffalo.port / bouffalo.baudRate Flash serial port
bouffalo.toolchainPath Extra PATH entry for the RISC-V toolchain
bouffalo.makePath GNU Make 4.x binary. On macOS Apple /usr/bin/make is 3.81 (brew install make)
bouffalo.cmakePath Host-native CMake (do not use SDK tools/cmake/bin/cmake on macOS)
bouffalo.pythonPath Python 3 for Kconfig

On activate the extension checks host tools. Build/Flash run in the integrated shell, re-exporting PATH after login-shell path_helper so macOS does not pick /usr/bin/make 3.81 or the Linux CMake ELF.

Package a VSIX

npx @vscode/vsce package

Then in VS Code: Extensions → ⋯ → Install from VSIX…

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft