sampie777 / carcomputer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Car Computer

This is project uses Espressif IoT Development Framework.

Workspace setup

  1. Install ESP-IDF.
  2. Clone this project (carcomputer) using git clone command.
  3. Open project with CLion.
  4. Tell CLion to open the project as CMake project.
  5. Setup CMake profile enviroment varables as in the video.
  6. 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)

Terminal usage

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

Project setup

  1. Copy and rename the secrets.h.template file to secrets.h and edit the values to your need.

New files

Remember to add newly created files to the CMakeLists.txt in main/.

About

License:Other


Languages

Language:C 96.6%Language:C++ 1.4%Language:Shell 1.3%Language:CMake 0.5%Language:Makefile 0.2%