This directory contains a project template to serve as a starting point for mJackets based projects.
- Copy the contents of this directory into your project directory.
- Open a command line terminal in the project directory and type
git submodule initto download and intialize the mJackets API into your project directory. - Uncomment the appropriate line in CMakeLists.txt file to match your target architecture.
- Edit/replace the PinDefs.hpp file in the /bsp/config directory to match your target board.
- Copy your HAL config file from STM32CubeMX into the /bsp/config directory.
- Copy the flash linker script generated by STM32CubeMX into the /bsp directory.
- Copy the startup.s file generated by STM32CubeMX into the /bsp directory.
- Uncomment the appropriate lines in CMakeLists.txt to enable the desired modules.
- Add the line
#include "mJackets.h"in your main.cpp file if not present to incorporate the mJackets API into your project.
- Add a script to check that the previously mentioned files are present before building.