Skip to content

STM32L1 update drivers version to CUBE V1.10.2 #14337

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

Merged
merged 5 commits into from
Mar 9, 2021

Conversation

jeromecoutant
Copy link
Collaborator

Summary of changes

ST Cube drivers version is updated from V1.8.1 to V1.10.2
which is the latest official version from:

https://github.com/STMicroelectronics/STM32CubeL1/

  • directories have been restructured to be aligned with other STM32 families
  • Sub-family MCU has been introduced in targets.json to help custom boards use

@ARMmbed/team-st-mcd

@chrissnow

Impact of changes

Migration actions required

Documentation


Pull request type

[x] Patch update (Bug fix / Target update / Docs update / Test update / Refactor)
[] Feature update (New feature / Functionality change / New API)
[] Major update (Breaking change E.g. Return code change / API behaviour change)

Test results

[] No Tests required for this change (E.g docs only update)
[x] Covered by existing mbed-os tests (Greentea or Unittest)
[] Tests / results supplied as part of this PR

Reviewers


@ciarmcom ciarmcom added the release-type: patch Indentifies a PR as containing just a patch label Feb 24, 2021
@ciarmcom ciarmcom requested a review from a team February 24, 2021 08:30
@ciarmcom
Copy link
Member

@jeromecoutant, thank you for your changes.
@ARMmbed/mbed-os-maintainers please review.

@0xc0170
Copy link
Contributor

0xc0170 commented Feb 25, 2021

@jeromecoutant can you share the tests run ?

@jeromecoutant
Copy link
Collaborator Author

Tests have been done:

  • with GCC, ARM and IAR
  • with OS and baremetal
  • MBED CLI2 also verified

@ciarmcom ciarmcom added the stale Stale Pull Request label Feb 28, 2021
@ciarmcom
Copy link
Member

This pull request has automatically been marked as stale because it has had no recent activity. @ARMmbed/mbed-os-maintainers, please complete review of the changes to move the PR forward. Thank you for your contributions.

@chrissnow
Copy link
Contributor

@jeromecoutant I'm getting the following

Building project mbed-os-example-blinky (XDOT_L151CC, ARMC6)
Scan: mbed-os-example-blinky
[Error] gpio_api.c@162,27: no member named 'BRR' in 'GPIO_TypeDef'; did you mean 'BSRR'?
[ERROR] .\mbed-os\targets\TARGET_STM\gpio_api.c:162:27: error: no member named 'BRR' in 'GPIO_TypeDef'; did you mean 'BSRR'?
    obj->reg_clr = &gpio->BRR;
                          ^~~
                          BSRR
./mbed-os/targets/TARGET_STM/TARGET_STM32L1/STM32Cube_FW/CMSIS/stm32l151xc.h:339:17: note: 'BSRR' declared here
  __IO uint32_t BSRR;         /*!< GPIO port bit set/reset registerBSRR,        Address offset: 0x18      */
                ^
1 error generated.

[mbed] ERROR: "C:\Python27\python.exe" returned error.
       Code: 1
       Path: "C:\Code\SmartSentry\mbed-os-example-blinky"
       Command: "C:\Python27\python.exe -u C:\Code\SmartSentry\mbed-os-example-blinky\mbed-os\tools\make.py -t arm -m xdot_l151cc --profile DEBUG --source . --build .\BUILD\XDOT_L151CC\ARM-DEBUG"
       Tip: You could retry the last command with "-v" flag for verbose output
---

0xc0170
0xc0170 previously approved these changes Mar 2, 2021
@0xc0170
Copy link
Contributor

0xc0170 commented Mar 2, 2021

I started CI although the failure above should be looked at

@mbed-ci
Copy link

mbed-ci commented Mar 2, 2021

Jenkins CI Test : ❌ FAILED

Build Number: 1 | 🔒 Jenkins CI Job | 🌐 Logs & Artifacts

CLICK for Detailed Summary

jobs Status
jenkins-ci/mbed-os-ci_unittests ✔️
jenkins-ci/mbed-os-ci_cmake-example-ARM ✔️
jenkins-ci/mbed-os-ci_cmake-example-GCC_ARM ✔️
jenkins-ci/mbed-os-ci_build-greentea-GCC_ARM
jenkins-ci/mbed-os-ci_build-greentea-ARM
jenkins-ci/mbed-os-ci_build-cloud-example-GCC_ARM ✔️
jenkins-ci/mbed-os-ci_build-cloud-example-ARM ✔️
jenkins-ci/mbed-os-ci_build-example-GCC_ARM
jenkins-ci/mbed-os-ci_build-example-ARM

@ciarmcom ciarmcom removed the stale Stale Pull Request label Mar 2, 2021
@jeromecoutant
Copy link
Collaborator Author

@chrissnow
I am checking STMicroelectronics/STM32CubeL1#8

@mergify mergify bot dismissed 0xc0170’s stale review March 9, 2021 11:57

Pull request has been modified.

@jeromecoutant
Copy link
Collaborator Author

@0xc0170 could you restart CI ?
Thx

@0xc0170
Copy link
Contributor

0xc0170 commented Mar 9, 2021

CI restarted

@mbed-ci
Copy link

mbed-ci commented Mar 9, 2021

Jenkins CI Test : ✔️ SUCCESS

Build Number: 2 | 🔒 Jenkins CI Job | 🌐 Logs & Artifacts

CLICK for Detailed Summary

jobs Status
jenkins-ci/mbed-os-ci_unittests ✔️
jenkins-ci/mbed-os-ci_cmake-example-GCC_ARM ✔️
jenkins-ci/mbed-os-ci_cmake-example-ARM ✔️
jenkins-ci/mbed-os-ci_build-example-GCC_ARM ✔️
jenkins-ci/mbed-os-ci_build-greentea-GCC_ARM ✔️
jenkins-ci/mbed-os-ci_build-cloud-example-ARM ✔️
jenkins-ci/mbed-os-ci_build-greentea-ARM ✔️
jenkins-ci/mbed-os-ci_build-example-ARM ✔️
jenkins-ci/mbed-os-ci_build-cloud-example-GCC_ARM ✔️
jenkins-ci/mbed-os-ci_cmake-example-test ✔️
jenkins-ci/mbed-os-ci_greentea-test ✔️

@0xc0170 0xc0170 merged commit 0e89f9d into ARMmbed:master Mar 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants