This is project uses Espressif IoT Development Framework.
- Install ESP-IDF.
- Clone this project (carcomputer) using
git clone
command. - Open project with CLion.
- Tell CLion to open the project as CMake project.
- Setup CMake profile enviroment varables as in the video.
- Use 'Reset Cache and Reload Project' from the settings icon in the CMake tab in CLion.
Now you can build (Ctrl+F9) the different configurations (app, flash, monitor) (even though not executor is defined)
If you want to use the terminal, make sure you've fired up EDS-IF using the get_idf
command (if you've set that alias during ESP-IDF install).
Commands to use:
idf.py build
idf.py [-p /dev/ttyUSB0] flash
(build included)idf.py [-p /dev/ttyUSB0] monitor
- Copy and rename the
secrets.h.template
file tosecrets.h
and edit the values to your need.
Remember to add newly created files to the CMakeLists.txt
in main/
.