-
Notifications
You must be signed in to change notification settings - Fork 2.3k
[NXP] Enable mcxw72 units tests #41554
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
Conversation
Signed-off-by: Martin Girardot <[email protected]>
Signed-off-by: Martin Girardot <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Review
This pull request enables MCXW72 unit tests, adds missing S200 crypto API definitions, and updates the unit test application to support the MCXW72 platform with OSA. I have identified a potential correctness issue where an incorrect error code is being returned, and a maintainability issue where entropy source is added in two places. I have provided specific feedback and code suggestions to address these issues.
|
PR #41554: Size comparison from 842aa2c to bdd22b1 Full report (37 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, efr32, esp32, nrfconnect, nxp, psoc6, qpg, realtek, stm32, telink)
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #41554 +/- ##
==========================================
+ Coverage 51.04% 51.08% +0.03%
==========================================
Files 1384 1385 +1
Lines 100942 100901 -41
Branches 13059 13050 -9
==========================================
+ Hits 51526 51541 +15
+ Misses 49416 49360 -56 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Summary
Add mcxw72 units tests support.
Added missing S200 crypto API definitions to resolve build failures.
Updated the unit test application to support the MCXW72 platform with OSA (Operating System Abstraction) support.
Ensured compatibility with platform-specific configurations and build environments.
Testing
build mcxw72 units tests:
west build -d build_matter_unit_tests_w72/ -b frdmmcxw72 src/test_driver/nxp/ -DCONFIG_MCUX_COMPONENT_middleware.freertos-kernel.config=n -Dcore_id=cm33_core0flash the binary to execute unit tests
Readability checklist
The checklist below will help the reviewer finish PR review in time and keep the
code readable:
descriptive
“When in Rome…”
rule (coding style)
See: Pull Request Guidelines