Skip to content

ARM MPS2: Cortex-M4 -> M4F & M7 -> M7FD #10386

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 1 commit into from
Apr 18, 2019
Merged

Conversation

kjbracey
Copy link
Contributor

Description

According to their cmsis.h, FPU is present, so change targets.json to use it.

  • ARM_MPS2_M4: already was Cortex-M4F
  • ARM_MPS2_M7: Cortex-M7 -> M7FD
  • FVP_MPS2_M4: Cortex-M4 -> M4F
  • FVP_MPS2_M7: Cortex-M7 -> M7FD

If they do not in fact have FPU, then cmsis.h should be modified to set __FPU_PRESENT to 0. This will currently cause compilation problems with ARMC6, but I'll be submitting a fix for that.

Pull request type

[ ] Fix
[ ] Refactor
[X] Target update
[ ] Functionality change
[ ] Docs update
[ ] Test update
[ ] Breaking change

@0xc0170
Copy link
Contributor

0xc0170 commented Apr 12, 2019

@ChangwuShan Can you review? We discussed some FPU issues related to these targets.

@ciarmcom
Copy link
Member

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

@ciarmcom ciarmcom requested a review from a team April 12, 2019 09:00
@0xc0170
Copy link
Contributor

0xc0170 commented Apr 15, 2019

CI started

@ChangwuShan
Copy link

Looks ok on my side.

@mbed-ci
Copy link

mbed-ci commented Apr 15, 2019

Test run: FAILED

Summary: 2 of 11 test jobs failed
Build number : 1
Build artifacts

Failed test jobs:

  • jenkins-ci/mbed-os-ci_dynamic-memory-usage
  • jenkins-ci/mbed-os-ci_greentea-test

@alekla01
Copy link
Contributor

restarted jenkins-ci/mbed-os-ci_dynamic-memory-usage

@alekla01
Copy link
Contributor

restarted jenkins-ci/greentea-test

@mbed-ci
Copy link

mbed-ci commented Apr 16, 2019

Test run: FAILED

Summary: 1 of 11 test jobs failed
Build number : 2
Build artifacts

Failed test jobs:

  • jenkins-ci/mbed-os-ci_greentea-test

According to their cmsis.h, FPU is present, so change targets.json to
use it.

* ARM_MPS2_M4: already was Cortex-M4F
* ARM_MPS2_M7: Cortex-M7 -> M7FD
* FVP_MPS2_M4: Cortex-M4 -> M4F
* FVP_MPS2_M7: Cortex-M7 -> M7FD

If they do not in fact have FPU, then cmsis.h should be modified to set
`__FPU_PRESENT` to 0. This will currently cause compilation problems
with ARMC6, but I'll be submitting a fix for that.
@kjbracey
Copy link
Contributor Author

Rebased.

@0xc0170
Copy link
Contributor

0xc0170 commented Apr 17, 2019

CI restarted

@mbed-ci
Copy link

mbed-ci commented Apr 17, 2019

Test run: SUCCESS

Summary: 11 of 11 test jobs passed
Build number : 3
Build artifacts

@0xc0170
Copy link
Contributor

0xc0170 commented Apr 18, 2019

@jamesbeyond Quick review ?

@0xc0170 0xc0170 merged commit 9157902 into ARMmbed:master Apr 18, 2019
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.

7 participants