Giter VIP home page Giter VIP logo

espflasher's Introduction

ESP Flasher

A collection of simple commands for interfacing with a MicroPython ESP device through VSCode. Unlike other, similar extensions, this extension has no external dependencies.

Features

Currently, the following features are supported:

  • Initialize the workspace with a settings file for controlling this extension.
  • Flashing the current workspace to an ESP.
  • Rebooting an ESP.

Planned future features include:

  • Cleaning all files installed on the ESP that are not also present in the workspace.
  • Browsing the ESP file system through VSCode.

Extension Settings

This extension is configured on a per-directory basis using a special .espconfig.json file. This file must be present in the root of the workspace for the extension to work. To create the file, use the command:

MicroPython ESP: Initialize

The anatomy of the settings file is as such, and is described below:

{
	"port": "COM4",
	"device": "ESP32",
	"ignore": [
		"**/.*",
		"**/*.pyi",
		"**/LICENSE*",
		"__pycache__*"
	]
}
  • port: The port on your computer to which the ESP is connected.
  • device: The device type. This is required since different devices work slightly differently.
  • ignore: A list of glob patterns describing files in the workspace that should be ignored when flashing to the ESP.

Release Notes

1.0.0

Initial release supporting the following commands:

  • Initializing the workspace with an .espconfig.json file.
  • Flashing the workspace to an ESP32.
  • Rebooting the ESP32.

espflasher's People

Contributors

xitric avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.