Development Guide for Linux
Setup
To set up your development environment on Linux, follow these steps:
- Update your package list and install the necessary packages:
You should now be able to run the make
command in the root of the repo to get started.
A note on make install
make install
is a command that can be used to quickly install the code you're working on onto the board. On linux you can use the findmnt
command to locate your board's mount point.
For example, if the board is mounted at /media/username/SOME-VALUE
then your install command will look like:
Accessing the Serial Console
To see streaming logs and use the on-board repl you must access the Circuit Python serial console. Accessing the serial console starts with finding the tty port for the board. The easiest way to do that is by plugging in your board and running:
Look for the file that was created around the same time that you plugged in the board. For Linux users the port typically looks like/dev/ttyACM0
. You can then connect to the board using the screen
command: For more information visit the Circuit Python Serial Console documentation.