This is the repository for Pampa Aerodesign's first continuously developed embedded system, cardeal-esp.
We're currently using esp-idf version v4.2.
This repo contains some git submodules, so you'll need extra steps when cloning the repo to local:
- git clone https://github.com/Pampa-Aerodesign/cardeal-esp.git
- git submodule init
- git submodule update
Git submodules are basically repositories embedded inside another repository. In our case, some ESP components from the GitHub community are referenced this way.
The cardeal-esp project uses a code formatting tool called clang-format. It is avaliable standalone or with the C/C++ extension in Visual Studio Code.
This repo is configured with a GitHub action that automatically formats code in the master branch when a commit or a pull request is made to such branch. It ignores files in the components
folder to avoid changing those source files.
The .clang-format
file in the root directory contains the code style configuration used.
To prevent a section of code from being formatted, one can use // clang-format off
and // clang-format on
around it.