To get started, create a repo starting from this template and clone it locally.
- Generate the code from CubeMX into the folder.
- Modify the
platformio.inito compile your exact structure (check other repositories for examples). - Setup git hooks (instructions below).
- Setup Doxygen (instructions below).
Warning
Make sure to add all the needed directories in TARGET_DIRS
To setup git hooks in your local repository you will have to execute the following commands:
cd <project-name>chmod +x hooks/pre-commit
chmod +x hooks/commit-msggit config core.hooksPath hooksIf the project structure is the normal CubeMX generated, you only need to change the PROJECT_NAME, PROJECT_NUMBER and PROJECT_BRIEF variables in the Doxyfile to generate the documentation.