Skip to content

Latest commit

 

History

History
183 lines (119 loc) · 4.91 KB

hardMode.md

File metadata and controls

183 lines (119 loc) · 4.91 KB

HARD MODE

Personal Computer install Linux (Unsupported)

Ubuntu 18.04 Instructions:

InstallToolchainOnUbuntu18-04.md

Ubuntu 16.04 Instructions: Installation instructions for Debian / Ubuntu OS

  • Install latest Arduino IDE from arduino.cc

  • Open Terminal and execute the following command (copy->paste and hit enter):

    sudo usermod -a -G dialout $USER && \
    sudo apt-get install git && \
    wget https://bootstrap.pypa.io/get-pip.py && \
    sudo python get-pip.py && \
    sudo pip install pyserial && \
    mkdir -p ~/Arduino/hardware/espressif && \
    cd ~/Arduino/hardware/espressif && \
    git clone https://github.com/espressif/arduino-esp32.git esp32 && \
    cd esp32 && \
    git checkout 1.0.3 && \
    git submodule update --init --recursive && \
    cd tools && \
    python3 get.py
  • Restart Arduino IDE

  • If you have Arduino installed to ~/, modify the installation as follows, beginning at mkdir -p ~/Arduino/hardware:

    cd ~/Arduino/hardware
    mkdir -p espressif && \
    cd espressif && \
    git clone https://github.com/espressif/arduino-esp32.git esp32 && \
    cd esp32 && \
    git checkout 1.0.3 && \
    git submodule update --init --recursive && \
    cd tools && \
    python3 get.py

END Optional


You most likely do not want to be here, but just in case you want to know how the sausage is made, here you go...

Make Sure you have Java 8, not 9, 10, 11 or 12

Check your java version by opening CMD and typing

java -version

and you should see:

java version "1.8.0_181"
Java(TM) SE Runtime Environment (build 1.8.0_181-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.181-b13, mixed mode)

If you see anything other than 1.8.something, remove Java then install it from:

https://www.java.com/en/download/manual.jsp

Select this java on windows

Install Eclipse and the Sloeber plugin (If the computer doesn't already have it)

Download the Eclipse Oxygen for C Development from here:

https://www.eclipse.org/downloads/packages/release/2018-12/r

Select this Eclipse

Install Eclipse on C drive if using personal

C:\eclipse\

Once the install is done, open eclipse and go to the workbench.

alt text alt text

Open

Help->Eclipse Marketplace...

Search for Sloeber

alt text

Set the workspace to Arduino mode. In the upper right hand corner there is a button with a little yellow plus sign, and when you hover over it is says "pen Perspective". Click that button. Select Arduino.

Eclipse will restart to load the plugin.

Open the Arduino Preferences:

Arduino -> Preferences

alt text

And start by removing both of the default values for private Hardware and Private libraries:

alt text

Under Private Hardware Path, select New.. and search for (where you extracted Arduino)/hardware/

Mine looks like:

C:\WPIAPPS\arduino-1.8.3\hardware\

Under Private Library path, select New.. and search for your user library directory. It is usually in (your users home)\Documents\Arduino\libraries for Windows, or (your users home)/Arduino/libraries for Unix systems. You know you have the right one if the folder contains ESP32Servo, Esp32SimplePacketComs, SimplePacketComs, EspWii and WiiChuck Directories from the library install step above. Remember the location of this folder, it will be where you clone your code in a coming step.

Mine looks like:

C:\Users\harrington\Documents\Arduino\libraries

alt text

Doxygen and GraphViz

Windows Doxygen and GraphViz

Install Doxygen From these instructions or the direct link

and GraphViz from here

Then use these instructins to set add GraphViz to the path

C:\Program Files (x86)\Graphviz2.38\bin

Ubuntu Doxygen and GraphViz

sudo apt install doxygen

After the native Doxygen, install the plugin

In eclipse

Help->Eclipse Marketplace...

Search for

eclox

and install it.

Setup your project

Open Projects in Eclipse using the Eclipse instructions

Troubleshooting

arduinoPlugin\tools\make\make not found in PATH

There can be a currupted download to the Make tools, if this error comes up follow these instructions to correct it Follow the instructions here : Sloeber/arduino-eclipse-plugin#767