This preview release of the extension provides support for Mongoose OS in Visual Studio Code.
See Mongoose OS IDE for more details.
- Run any mos command:
Ctrl+.
- Open device serial log console: toggle "Output" panel
(
Shift+Ctrl+U
/Shift+Cmd+U
) and select "Mongoose OS" output in a dropdown - To build firmware, open app directory in VSCode, select board and run
build
. Note:mos
tool executes in the first workspace's directory, so only that directory can be built, and it must be a Mongoose firmware directory with themos.yml
file - To flash firmware, select port and run
flash
- To configure wifi, run
wifi NETWORK PASSWORD
- Edit files on a device: select port and click on a file to edit and save
- Edit device config as a file: select port and click on "Device configuration"
- C/C++ and JS API autocompletions:
- mos command-line tool installed