-
Notifications
You must be signed in to change notification settings - Fork 3k
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
STM32WB update drivers version to CUBE V1.8.0 #13659
Conversation
@jeromecoutant, thank you for your changes. |
e437611
to
61ab7ed
Compare
@jeromecoutant Please rebase this one as well, will start CI |
61ab7ed
to
a24b06c
Compare
@0xc0170 Done :-) |
CI started |
***************************************************************************** | ||
* @attention | ||
* | ||
* <h2><center>© Copyright (c) 2019 STMicroelectronics. |
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.
I recall seeing other cube drivers using SPDX, not this version?
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.
Mmm, this is because file comes from CubeFW without any modification....
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.
Can you add SPDX identifiers and send also upstream?
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.
As I said, file comes from https://github.com/STMicroelectronics/STM32CubeWB/blob/master/Middlewares/ST/STM32_WPAN/ble/core/ble_bufsize.h
Like in https://github.com/ARMmbed/mbed-os/tree/master/targets/TARGET_STM/TARGET_STM32WB/STM32Cube_FW
I prefer to avoid any modification to ease driver updates when there is a new ST package
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.
Travis fails as SPDX is required for all new files :(
the only way to address this would be to add the driver to license check ignore.
- add to ignore for now,
- add SPDX to the usptream repo (link above)
- update drivers in this tree once the update is due
what do you think?
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.
You should ignore all files */STM32Cube_FW/*
in targets/TARGET_STM
and in other directories like this one....
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.
Ok, please add them to codecheckignore list. This will make Travis green.
Jenkins CI Test : ✔️ SUCCESSBuild Number: 1 | 🔒 Jenkins CI Job | 🌐 Logs & ArtifactsCLICK for Detailed Summary
|
waiting for #13745 |
I restarted travis but it will fail as no change to the PR itself. @jeromecoutant can you rebase? master got updated with 13745. I can actually test this, I'll create new testing PR with this one and the latest master |
a24b06c
to
41e3ac2
Compare
done |
3acf97b
to
b128dba
Compare
I did not realize codeignore check is for styling not for license. Any file in our repo must follow the license guide. Introducing a ignore file for licensing is not an answer, it is dangerous to do. How long would it take to update the driver and bring the update here? Adding SPDX should be simple to do for this driver as there are not that many files. |
Extend my above comment - the 3rd party driver has a permissive license, missing SPDX identifier - ignoring completely the check is not the answer, we need to fix the check. It should not yet block the PRs, we will need to clean this up step by step. I am looking at the license check and how to fix it. |
b128dba
to
c811e10
Compare
This PR cannot be merged due to conflicts. Please rebase to resolve them. |
@jeromecoutant PR #13782 merged, and also another one causing a conflict. Please rebase. Travis should be green now |
c811e10
to
7c214cb
Compare
@jeromecoutant 8b945f1 - can you cherry pick this commit here ? |
Thanks that was quick ! I fixed only new files, I updated to fix also updated files. 0xc0170@6ba2859 |
Do not force red status for PRs due to SPDX missing (license must be there). We will add better SPDX checks later (more work required to enable these for 3rd party code).
4822e50
to
5eeced1
Compare
license check passed, I'll merge this one once CI completes, the rest depending on the fix can be rebased then. |
Sorry for the trouble, the rest of the PRs shall progress after merging this one. |
Jenkins CI Test : ✔️ SUCCESSBuild Number: 2 | 🔒 Jenkins CI Job | 🌐 Logs & ArtifactsCLICK for Detailed Summary
|
Summary of changes
ST Cube drivers version is updated from V1.7.0 to V1.8.0
which is the latest official version from:
https://github.com/STMicroelectronics/STM32CubeWB/
@ARMmbed/team-st-mcd
Impact of changes
Migration actions required
Documentation
Pull request type
Test results
Verified with ST CI
Reviewers