This VS Code extension provides a seamless development environment for ESP LowCode projects, integrating essential tools and workflows for efficient IoT device programming.
Features
ESP-IDF Integration: Automatically sets up and configures ESP-IDF for your development environment.
Per-Device Data Management: Generate and flash per-device data with ease.
Product Selection: Easily switch between different LowCode products.
Port Selection: Simplifies the process of selecting the correct port for flashing.
Status Bar Controls: Quick access to common actions through status bar buttons.
Requirements
Visual Studio Code 1.93.0 or higher
Git
Python 3.7 or higher
Installation
Open VS Code
Go to the Extensions view (Ctrl+Shift+X)
Search for "LowCode"
Click Install
Getting Started
Open a LowCode project folder in VS Code
Run the LowCode: Setup command to initialize the development environment
If you already have ESP-IDF in your system:
a. Add it to the workspace
b. If the version matches, it will use the ESP-IDF in the workspace
c. If the version doesn't match, it will provide the option to download the required version
Use the status bar buttons or command palette to access LowCode features
Extension Settings
This extension contributes the following settings:
lowCode.idfPath: Path to the ESP-IDF installation
lowCode.lowCodePath: Path to the LowCode repository
lowCode.defaultProduct: Default product to use when opening a new workspace
Commands
LowCode: Setup: Set up the LowCode development environment, including ESP-IDF and necessary tools.
LowCode: Select Product: Choose the active LowCode product from available options in your workspace.
LowCode: Select Port: Select the serial port for flashing and communication with your device.
LowCode: Generate Per-Device Data: Generate device-specific configuration data, including certificates and unique identifiers.
LowCode: Flash Per-Device Data: Flash the generated device-specific data to a connected device.
LowCode: Build: Compile the current project, generating firmware binaries.
LowCode: Flash: Flash the built firmware to the connected device using the selected port.
LowCode: Monitor: Start serial monitoring of the device, allowing you to view logs and debug output.
LowCode: Clean: Remove all build artifacts and temporary files from the project directory.
LowCode: Menuconfig: Open the ESP-IDF configuration menu to customize project settings and components.
LowCode: Update ESP-IDF: Update the ESP-IDF to the latest compatible version, ensuring you have the most recent features and bug fixes.
LowCode: Open Terminal: Open a terminal with the ESP-IDF environment variables set up for command-line operations.
LowCode: Generate Documentation: Automatically generate documentation for the current project using Doxygen or a similar tool.
LowCode: Run Tests: Execute unit tests for the current project to ensure code quality and functionality.
LowCode: Package Firmware: Create a distributable package of the firmware, including any necessary metadata or additional files.
Known Issues
The extension currently supports Linux ,MacOS and Windows.