Initial dev environment setup for ESP32-C3 and ESP32-C6 programming, tailored towards Rust development. Some of this will also apply to the ESP32-C2 as well as the ESP32-H2 and ESP32-P4 when they are released.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
You don't have permissions to read from or write to a USB tty device. This can manifest in a variety of ways.
Solution: Write a udev rule for your tty device:
Identify the tty device:
Run ls /dev/. The device will show up as a /dev/ttyACMx or /dev/ttyUSBx where x is some positive whole number.
If there are multiple ACM and/or USB devices, unplug and re-plug in the USB device. Then, search for the USB event in the kernel message buffer using the following command:
sudo dmesg | grep "usb". This should print out enough information to where you can identify the desired USB tty.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This document details useful information on how to use a Raspberry Pi Pico as a SWD probe for another Pico using the Picoprobe software. This information assumes you have followed all of the steps in Appendix A of the Getting Started with Raspberry Pi Pico Guide and that you are doing development on a Linux system.
Essential Setup
Add the below files to your system to enable non-root access to the devices