-
Notifications
You must be signed in to change notification settings - Fork 7
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
ladislas/feature/move to vanilla cmake #397
Conversation
ladislas
commented
Dec 30, 2021
- 🔥 (cmake): Remove USCRPL/mbed-cmake
- 🚧 (cmake): Add mbed cmake dirs
- 🚧 (cmake): Update main CMakeLists.txt
- 👽 (cmake): Rewrite custom targets following porting guide
- 🔥 (targets): Remove old dev targets
- 🚚 (targets): Remove TARGET_ prefix for target directories
- 🚨 (cmake): Add -Wno-volatile & -Wno-register flags
- 🔥 (cmake): Remove CODE_ANALYSIS
With mbed's cmake, targets: - must be made CMake INTERFACE - must be renamed in lower case, starting with 'mbed-' prefix See https://os.mbed.com/docs/mbed-os/v6.15/porting/porting-custom-boards.html
Keep repo clean and remove unused code
It was used by the old mbed-cli tools but it not needed anymore with mbed-tools v2
As of -std=cxx20, compound assignment with 'volatile'-qualified left operand is deprecated. Adding the -Wno-volatile hides the warnings for mbed-os C code used in C++ files. Same goes for register.
CODE_ANALYSIS was done using cppcheck. Now that we have SonarCloud, we can remove local code analysis.
Codecov Report
@@ Coverage Diff @@
## develop #397 +/- ##
===========================================
Coverage 100.00% 100.00%
===========================================
Files 65 7 -58
Lines 1195 188 -1007
===========================================
- Hits 1195 188 -1007 Continue to review full report at Codecov.
|
This pull request fixes 3 alerts when merging 3a0bc38 into 1e3cba0 - view on LGTM.com fixed alerts:
|
- refactor - move args to settings - ignore kit env - copy compilation database
This pull request fixes 3 alerts when merging b3505ed into 1e3cba0 - view on LGTM.com fixed alerts:
|
This pull request fixes 3 alerts when merging 11c6929 into 1e3cba0 - view on LGTM.com fixed alerts:
|
replaced by #1296 |