Skip to content

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RP2040 SH1106 Embassy Example

Minimal Embassy application for writing to a 128x64 SH1106 OLED over I2C from an RP2040.

Build

Check the firmware:

cargo check

Build and deploy with the configured UF2 drag-and-drop runner:

cargo run --release

Deploy From WSL

Install usbipd-win on Windows, then attach the RP2040 USB device to WSL from an Administrator PowerShell:

usbipd list
usbipd bind --busid <BUSID>
usbipd attach --wsl --busid <BUSID>

Inside WSL, install the Rust target:

rustup target add thumbv6m-none-eabi

Deploy with the configured UF2 drag-and-drop runner:

cargo run --release

If the device disappears after reconnecting or flashing, run usbipd attach --wsl --busid <BUSID> again.

About

SH1106 + Rotary Encoder combo using Embassy.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages