You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1.0 KiB

ESP32 Code

If you would like to edit the code, feel free to edit esp32.c Feel free to change any options in the Makefile to help it work for your system. For example, where the Arduino libraries are held, the connecting baud rate, etc. Should work by default in most distributions.

Installing Dependencies

To install the dependencies for the board, use the make install-deps command.

You will also need to manually install the following packages/libraries:

  • pyserial, a Python library
    • pip install pyserial
  • tmux and screen for serial viewing
    • apt install tmux screen
    • pacman -S tmux screen
    • etc.
  • arduino-cli from your package manager

Compiling The Code

To compile the source file, run the following command: make

Upload the code

If you would like to upload the code to a connected device, use the make upload command.

Troubleshooting

If you recieve an error about the serial package is not found, use the following command to install Python's serialization library:

$ pip install pyserial