Skip to content

Versatile IO proxy used with the uORocketry rocket-code

License

Notifications You must be signed in to change notification settings

uorocketry/arduino-io-proxy

Repository files navigation

Arduino Proxy

This is the repo for the Arduino proxy, a somewhat simple project that allows the rocket code to use an Arduino for generic input and outputs. See the documentation for more information .

Windows

If you plan on flashing the Arduino, you can't use WSL and just follow the Linux instructions like with the rocket code.

Installing dependencies

  1. Install PlatformIO Core: https://docs.platformio.org/en/latest/core/installation.html#installer-script
    • While it is possible to get it working with IDEs such as VSCode and CLion, from the team's experience there are often problems encountered while doing this. For general development it is recommended to get the PlatformIO integration with IDEs, but it is not needed to build the project.

If on Linux

  1. Install protobuf dependencies. This may be different on other non Ubuntu-based distros: sudo apt update && sudo apt install protobuf-compiler nanopb

If on Windows

  1. Install nanopb to your path

Note: If the platform-io installer script doesn't work, try installing with pip install -U platformio

Building

  1. Build the project: pio run

  2. Upload to a connected Arduino: pio run --target upload

Note: on Windows, you might get an access denied error. You need to temporarly turn off Windows Security settings in order to build ( Issue ). For this, go on Settings -> Update & Security -> Windows Security -> Open Windows Security -> Virus & Threat protection -> Virus & threat protection settings (Manage settings) and turn off the security settings.

Development

Make sure to open the Arduino project in another VSCode window and make sure it is not running in WSL if on Windows.

About

Versatile IO proxy used with the uORocketry rocket-code

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published