Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minimal tools for C #4

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Minimal tools for C #4

wants to merge 5 commits into from

Conversation

coder137
Copy link
Owner

@coder137 coder137 commented Jan 23, 2021

  • Static Analysis (Cppcheck)
  • Clang format
  • Libraries

- Forked from Minimal_Interfaces
- Removed LPC4078xx microcontroller drivers
Fixed potential bugs in
1. STM32L475xx_main.c
- scanf overflow
- printf format
2. syssbrk.c
- pointer conversions when comparing address

NOTE: We must add cppcheck cmake variable before the cmake add_executable is defined
- Added CMake check to find tool before usage
- Throws error if not found
- l0_lowlevel and l1_third party are excluded from clang-formatting
- Shifted project .elf creation to project_release.cmake file
- Added option for CLANG-FORMAT in options.cmake

Minor updates
- Added internal driver headers to build for clang-format
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant