Skip to content
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

Fix IAR cmsis update breakage #15016

Merged
merged 2 commits into from
Aug 24, 2021
Merged

Conversation

0xc0170
Copy link
Contributor

@0xc0170 0xc0170 commented Aug 20, 2021

Summary of changes

Our old tools do not pass includes to iarasm (it could be due to path length or other limitations there, I could dig into the history and find out but I don't think it's worth for the old tools). I introduce this fix to fix the build and let IAR be still buildable.

I tested with building rtos test for one target.

cc @ARMmbed/team-st-mcd Thanks for reporting this.

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

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

Reviewers


@0xc0170
Copy link
Contributor Author

0xc0170 commented Aug 20, 2021

The issue was reported via #15013 (I closed it).

@ciarmcom ciarmcom added the release-type: patch Indentifies a PR as containing just a patch label Aug 20, 2021
@ciarmcom
Copy link
Member

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

@0xc0170
Copy link
Contributor Author

0xc0170 commented Aug 20, 2021

I've noticed I got a problem with an email, I'll rebase to fix this

mbed-cli1 does not pass -I to IAR for iarasm (comparing to other toolchains). Because old tools are frozen,
we implement this workaround for fixing the build.

We use preprocessor macros that are passed to .S files anyway, so we do not loose anything but we do diverge again from CMSIS, for now..
@0xc0170
Copy link
Contributor Author

0xc0170 commented Aug 20, 2021

Rebased, author fixed.

@0xc0170 0xc0170 requested a review from a team August 20, 2021 12:24
@mbed-ci
Copy link

mbed-ci commented Aug 23, 2021

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-cloud-example-ARM ✔️
jenkins-ci/mbed-os-ci_cmake-cloud-example-ARM ✔️
jenkins-ci/mbed-os-ci_build-cloud-example-GCC_ARM ✔️
jenkins-ci/mbed-os-ci_cmake-cloud-example-GCC_ARM ✔️
jenkins-ci/mbed-os-ci_build-greentea-ARM ✔️
jenkins-ci/mbed-os-ci_build-greentea-GCC_ARM ✔️
jenkins-ci/mbed-os-ci_cmake-example-GCC_ARM ✔️
jenkins-ci/mbed-os-ci_cmake-example-ARM ✔️
jenkins-ci/mbed-os-ci_build-example-ARM ✔️
jenkins-ci/mbed-os-ci_build-example-GCC_ARM ✔️
jenkins-ci/mbed-os-ci_greentea-test ✔️

Copy link
Contributor

@LDong-Arm LDong-Arm left a comment

Choose a reason for hiding this comment

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

LGTM

@LDong-Arm LDong-Arm added this to In progress (8) in Mbed Core via automation Aug 23, 2021
@LDong-Arm LDong-Arm moved this from In progress (8) to Reviewer approved & awaiting CI & merge (3) in Mbed Core Aug 23, 2021
@0xc0170 0xc0170 merged commit f6e165f into ARMmbed:master Aug 24, 2021
Mbed Core automation moved this from Reviewer approved & awaiting CI & merge (3) to Done Aug 24, 2021
@0xc0170 0xc0170 deleted the fix-iar-cmsis-update branch August 24, 2021 09:14
@mergify mergify bot removed the ready for merge label Aug 24, 2021
@LDong-Arm LDong-Arm moved this from Done to Reported in Mbed Core Aug 26, 2021
@mbedmain mbedmain added release-version: 6.15.0 Release-pending and removed release-type: patch Indentifies a PR as containing just a patch Release-pending labels Sep 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Mbed Core
  
Reported
Development

Successfully merging this pull request may close these issues.

None yet

6 participants