Installing and using Eclipse Oxygen for #ESP32 with esp-idf.
Preparation
install esp-idf (https://github.com/espressif/esp-idf)
check $PATH
check $IDF_PATH
(Tip: insert $PATH and $IDF_PATH into $HOME/.profile and logoff/logon or restart)
Installing Oracle Java on Ubuntu:
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
(sorry: not installing today oracle-java9-installer .... new oracle java version available ... 177 not 175)
Config steps on Ubuntu Linux:
1. edit include.xml
change ESP32_eclipse_template to your PATH
(https://github.com/pcbreflux/espressi...)
2. start eclipse
3. config make-targets for (if exist copy them from previous project)
menuconfig
all (Target "-j8 all")
clear
flash (Command gnome-terminal -x make)
monitor (Command gnome-terminal -x make)
flash monitor (Command gnome-terminal -x make)
(Tip: Command xterm -e make also works)
4. import include.xml
Project Explorer - Properties - C/C++ General - Paths and Symbols
Includes - Import Settings
Browse (Open File include.xml)
Finish
5. Use Make-Targets menuconfig
6. Use Make-Targets all, flash and monitor
7. enjoy
(Tipps for Ubuntu:
if no proper startup with unity laucher icon ... delete $HOME/.local/share/applications/eclipse.desktop and try again
"extract here" for thunar: sudo apt-get install thunar-archive-plugin
)