Skip to content

Edit on Toolchain linker files for stm32L071xx target #13611

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 4 commits into from
Sep 30, 2020

Conversation

andreagilardoni
Copy link
Contributor

Summary of changes

Linker files provided by #13509 were not working, using nucleol073RZ files

Impact of changes

Migration actions required

Documentation

Linker files provided by #13509 were not working, using nucleol073RZ files


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)
[] Covered by existing mbed-os tests (Greentea or Unittest)
[X] Tests / results supplied as part of this PR

The device I am using is now able to run the code


Reviewers


Andrea Gilardoni added 2 commits September 15, 2020 11:13
Previous one were not working, using nucleol073RZ files
@andreagilardoni
Copy link
Contributor Author

I am not able right now to understand what is inside the .ld and .S files.

Since #13509 I received a proper device mounting the stm32l071CZTx and I am now testing it.

I am not able to test the device against an ARM and IAR compiler to check if those files are working.

@ciarmcom ciarmcom added the release-type: patch Indentifies a PR as containing just a patch label Sep 15, 2020
@ciarmcom ciarmcom requested a review from a team September 15, 2020 09:30
@ciarmcom
Copy link
Member

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

Copy link
Collaborator

@jeromecoutant jeromecoutant left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Source: https://github.com/STMicroelectronics/STM32CubeL0/tree/master/Drivers/CMSIS/Device/ST/STM32L0xx

Then in GCC startup file,
replace
bl __libc_init_array
bl main

by
bl_start

@andreagilardoni
Copy link
Contributor Author

What are we missing?

@0xc0170
Copy link
Contributor

0xc0170 commented Sep 30, 2020

@alcheagle Thanks for the contribution, we will start CI later today and it should be integrated afterwards.

@0xc0170
Copy link
Contributor

0xc0170 commented Sep 30, 2020

CI started

@mbed-ci
Copy link

mbed-ci commented Sep 30, 2020

Jenkins CI Test : ✔️ SUCCESS

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_build-ARM ✔️
jenkins-ci/mbed-os-ci_build-GCC_ARM ✔️
jenkins-ci/mbed-os-ci_dynamic-memory-usage ✔️
jenkins-ci/mbed-os-ci_greentea-test ✔️
jenkins-ci/mbed-os-ci_cloud-client-pytest ✔️

@andreagilardoni
Copy link
Contributor Author

Thanks

@0xc0170 0xc0170 merged commit 1dea16b into ARMmbed:master Sep 30, 2020
@mergify mergify bot removed the ready for merge label Sep 30, 2020
@mbedmain mbedmain added release-version: 6.4.0 Release-pending and removed release-type: patch Indentifies a PR as containing just a patch Release-pending labels Oct 20, 2020
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