Thank you for your interest in contributing!
# Make
make all # build library + examples
make test # run unit tests
# CMake
cmake -B build -DMULTIBUTTON_BUILD_TESTS=ON -DMULTIBUTTON_BUILD_EXAMPLES=ON
cmake --build build
cd build && ctest- C99 standard
- K&R brace style (opening brace on same line)
- Tab indentation in source files
button_prefix for all public API functions- Null pointer checks on all public API entry points
- Fork the repository and create a feature branch
- Ensure
make testpasses with no failures - Ensure
make allcompiles with no warnings (-Wall -Wextra) - Update documentation if the public API changes
- Describe your changes clearly in the PR description
Please use the bug report template and include:
- Hardware platform (MCU, board)
- Compiler version
- Steps to reproduce
- Expected vs actual behavior