/stm32_cmake

Your project build files are created with Cmake. It can be used for the STM32F family of MCUs. CMSIS supports it in OS. Freertos was used as the base.

Primary LanguageCGNU General Public License v3.0GPL-3.0

How to build

git clone https://github.com/sengulhamza/stm32_cmake.git
cd stm32_cmake
./build.sh
cd build
make
make flash

Source hierarchy

  • src is the main application source directory.
  • src/app for application related code files. ie: main
  • src/drv for driver code files.
  • src/core system files related to STM32

Branch workflow

  • Before create a new branch follow the below flow
git checkout master
git pull
git checkout -b feature/branch-name
  • If your commit fixing a bug branch name will be like bugfix/branch-name
  • Before push your commit, write a clear and concise explanation with -m option

Before commit

  • Make sure your project builds without any warning
  • Make sure the code style is in a correct format. You can run below command to fix
cd stm32_cmake
./code-format.sh