bcos.app.get_count() - Get number of discovered apps
System Namespace (bcos.sys.*)
bcos.sys.free_mem() - Get free heap memory in bytes
bcos.sys.restart() - Restart the system
Requirements
VSCode 1.105.0 or later
BCOS device connected via serial port (for run/deploy commands)
Extension Settings
This extension contributes the following settings:
capy.device.port - Serial port for BCOS device (default: COM3)
capy.device.baudRate - Baud rate for serial connection (default: 115200)
capy.deploy.autoRun - Automatically run app after deployment (default: true)
Known Issues
Serial communication for run/deploy commands is not yet implemented
Hardware device list is hardcoded (should be read from topology file)
Release Notes
0.1.0
Initial release:
Syntax highlighting for .capy files
Code completion for BCOS API
Hover documentation
Code snippets
Document outline and folding
Create new app command
About BCOS
BCOS (Bad Capybara OS) is a modular embedded operating system designed for ESP32-based hardware. It uses MicroPython for application development and supports dynamic hardware topology configuration.