Skip to content

Instantly share code, notes, and snippets.

@freol35241
Last active July 26, 2022 13:38
Show Gist options
  • Save freol35241/72e388e4c5e36ca07adf8c31cb2f656b to your computer and use it in GitHub Desktop.
Save freol35241/72e388e4c5e36ca07adf8c31cb2f656b to your computer and use it in GitHub Desktop.
Micropython dev setup on WSL2

Micropython development setup on WSL2 (Ubuntu 20.04 on Windows 10)

  1. Make sure your WSL2 distro can see the USB devices: https://devblogs.microsoft.com/commandline/connecting-usb-devices-to-wsl/
  2. Install some very handy udev rules (from the platformIO project) to give your user permissions to talk with the connected board: https://docs.platformio.org/en/latest/core/installation/udev-rules.html#platformio-udev-rules
  3. TODO...

Initial board setup

  1. Connect board via usb
  2. Attach usb to WSL as described in:
  3. Flash a micropython firmware on the board using (preferably): esptool.py
  4. Upload custom boot.py
  5. TODO...

Workflow

  1. TODO...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment