Template for C TDD that uses the cpputest framework/test harness. This template uses Makefiles instead of CMake
Find a file Use this template
jake a28d4dd937 Added main sections
Added sections to readme for requirements, instructions and how to test.
2024-11-07 00:50:38 -08:00
.template_files fixed issue with external linkage of "C" files 2024-03-20 16:10:10 -07:00
build
cpputest@c3625dc668
docs
inc Added and included the "inc" directory in the project root. Also added in line to include the mocks dir 2024-06-14 13:38:04 -07:00
mocks
src removed whitespace 2024-08-04 09:28:29 -07:00
tests
.clang-format fixed cli flags 2024-08-04 09:27:15 -07:00
.gitignore
.gitmodules
CMakeLists.txt Added and included the "inc" directory in the project root. Also added in line to include the mocks dir 2024-06-14 13:38:04 -07:00
compile_commands.json
Doxyfile
otto.sh removed filecheck for formatting file. 2024-08-04 09:28:22 -07:00
README.md Added main sections 2024-11-07 00:50:38 -08:00
setup.sh
stm32-toolchain.cmake Created STM32 toolchain file 2024-11-07 00:36:49 -08:00

STM32 CMake+CppuTest Template

Requirements

  • An ARM compiler and linker.
  • Bash or a POSIX shell.
  • CMAKE version 3.20 or newer.
  • Cpputest 3.8 or newer.
  • Clangd LSP.
  • Git version control.

Instructions

  1. Clone/copy the repo locally.
  2. Check the requirements to make sure you're development enviroment is ready.
  3. Update the linker script files to target your current uC.

Running Tests