Make sure you have cloned the repository with the --recursive
flag to include the submodules. If you haven't, you can run git submodule update --init --recursive
to get them.
- Install VSCode
- Install the C++ extension
- Open the workspace starting from the root of the repository (Not this folder) to get the correct include paths
- This is also important for the linter and other settings to work correctly
- Open a terminal at
node/code
and runmake compile-commands
to generate the compile commands file- This helps the C++ extension with intellisense
If you followed the development setup instructions, VSCode should automatically format the code based on the Google standards. Please make sure to follow the Google standards to keep the code consistent.
make compile-commands
- Generate the compile commands filemake build
- Build the projectmake flash
- Flash the project onto the Feathermake term
- Open a serial terminal to the Feathermake clean
- Clean the build directory