EyeTrackVR-Docs/docs/_pages/Setup_Visual_Studio.md
2022-08-15 16:07:19 -07:00

1.8 KiB

layout title nav_order permalink parent
page Setup Visual Studio Code environment 1 /setting-up-firmware-enviroment/ Firmware Guide

Setting up the environment

This procedure will show how to prepare your system for uploading the firmware to your tracker.

1. Install Visual Studio Code

Download the latest Visual Studio Code and install it.

Download

{% include custom/images/image_2.html url="https://i.imgur.com/jXPXIFz.gif" max-width="500" caption="" alt="" %}

Install

{% include custom/images/image_2.html url="https://i.imgur.com/hAm3Zu0.gif" max-width="500" caption="" alt="" %}

2. Install PlatformIO IDE

Once Visual Studio Code is installed, open it and install PlatformIO IDE for VSCode, an extension that will allow you to connect to the tracker, build and upload the firmware.

{% include custom/images/image_2.html url="https://i.imgur.com/ebV0IgT.gif" max-width="500" caption="" alt="" %}

3. Clone the firmware project

Make sure you close any current projects you have open or open a new window before moving forward with these steps.

  1. Go to https://github.com/lorow/OpenIris and download the latest version of the code.

  2. Extract the zip, take note of the path it is in for when we open it in Platform IO.

  3. Open the firmware in VS Code by going to PlatformIO, selecting open, then navigating to OpenIris ESP folder and opening it.

{% include custom/images/image_2.html url="https://i.imgur.com/c61Cpaz.gif" max-width="500" caption="" alt="" %}

This is a direct adaptation from SlimeVR. Credit goes to the SlimeVR team adapted from here