Skip to content

Re-enable MPS2 platform #9870

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 12 commits into from
Apr 17, 2019
Merged

Conversation

ChangwuShan
Copy link

This pull request is about Re-enable MPS2 platform. It’s continuation of this closed pull request #7694 and add GCC_ARM and IAR support to those targets ( ARM_MPS2_M3, ARM_MPS2_M4 and ARM_MPS2_M7 ).

@ashok-rao

Pull request type

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

@ciarmcom ciarmcom requested review from ashok-rao and a team February 27, 2019 08:00
@ciarmcom
Copy link
Member

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

@0xc0170
Copy link
Contributor

0xc0170 commented Feb 27, 2019

Can you share tests results for these targets?

Was this tested with IAR8 ? It's now enabled for master and upcoming 5.12.

@ChangwuShan
Copy link
Author

Hi @0xc0170, may I ask which kind of test results do you need? I have tested all those targets with the Greentea test and all the tests passed.
I tested the targets with IAR7.5.

@0xc0170
Copy link
Contributor

0xc0170 commented Feb 28, 2019

I tested the targets with IAR7.5.

To be on the safe side, we should run IAR8.32 tests as well.

Hi @0xc0170, may I ask which kind of test results do you need? I have tested all those targets with the Greentea test and all the tests passed.

Tests you run, attach the logs here. For any new target (this is reenabled so treated as new target as was disabled for some reason) tests should be part of the PR.

@ChangwuShan
Copy link
Author

Hi @0xc0170 , I got similar problems with this link #7733 when running IAR 8.32. Does Mbed support IAR8.X now?

@cmonr
Copy link
Contributor

cmonr commented Mar 8, 2019

@ChangwuShan Yes, Mbed OS recently (finally) moved over to IAR 8.32 . Unfortunately, the switch was a hard switch due to some technical challenges.

@ChangwuShan
Copy link
Author

Hi, the Greentea test logs are attached.
ARM_MPS2_M3_ARM.txt
ARM_MPS2_M3_GCC.txt
ARM_MPS2_M3_IAR.txt
ARM_MPS2_M4_ARM.txt
ARM_MPS2_M4_GCC.txt
ARM_MPS2_M4_IAR.txt
ARM_MPS2_M7_ARM.txt
ARM_MPS2_M7_GCC.txt
ARM_MPS2_M7_IAR.txt

@0xc0170
Copy link
Contributor

0xc0170 commented Mar 14, 2019

Changes look fine to me. As we discussed yesterday, M0 build issue should be fixed now, can you also attach M0 test logs?

@ashok-rao Waiting for your review

@ashok-rao
Copy link
Contributor

@ChangwuShan : Thanks for this. Just for completeness, can you please also attach M0 & M0P test logs? Thanks.
@0xc0170 : Changes LGTM! Thanks.

Copy link
Contributor

@0xc0170 0xc0170 left a comment

Choose a reason for hiding this comment

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

Waiting for M0 confirmation all is tested and OK

@ChangwuShan
Copy link
Author

Hi, test logs for M0:
ARM_MPS2_M0_ARM.txt
ARM_MPS2_M0_GCC_ARM.txt
ARM_MPS2_M0_IAR.txt
There are some timeout issues with M0P (ARMC6, GCC_ARM, IAR) , trying to fix it.

@0xc0170
Copy link
Contributor

0xc0170 commented Mar 18, 2019

@ChangwuShan Let us know. You can still enable rest of targets and separate PR for M0P with fixes.

@ChangwuShan
Copy link
Author

Add GCC_ARM and IAR support for ARM_MPS2_M0P and ARM_MPS2_M0.

@ChangwuShan
Copy link
Author

Test logs for ARM_MPS2_M0P
ARM_MPS_M0P_GCC_ARM.txt
ARM_MPS_M0P_IAR.txt
ARM_MPS_M0P_ARMC6.txt

@cmonr cmonr requested review from 0xc0170 and cmonr March 25, 2019 20:09
@@ -5116,15 +5117,16 @@
"SERIAL",
"SPI",
"SPISLAVE",
"TSC",
"MPU"
"TSC"
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm curious. What is TSC?

Copy link
Author

Choose a reason for hiding this comment

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

It is Touch Screen. This change is just to delete the "MPU", but I have to delete the comma behind "TSC".

@cmonr
Copy link
Contributor

cmonr commented Mar 27, 2019

CI started

@cmonr cmonr dismissed 0xc0170’s stale review March 27, 2019 21:11

M0 logs provided

Add file MPS2.icf and startup_MPS2.S to suppout IAR of the target
AN500(ARM_MPS2_M7). Add "IAR" to supported_toolchain list.

Change-Id: I0b8f018fc937727382b27ea0669940ae6675c834
Signed-off-by: Shawn Shan <[email protected]>
Add file MPS2.icf and startup_MPS2.S to suppout IAR of the target
AN386(ARM_MPS2_M4). Add "IAR" to supported_toolchain list.

Change-Id: I4f43617c870197b9d39a4d4c9c12456adcc6f96f
Signed-off-by: Shawn Shan <[email protected]>
Add file MPS2.icf and startup_MPS2.S to suppout IAR of the target
AN385(ARM_MPS2_M3). Add "IAR" to supported_toolchain list.

Change-Id: I038b05b8b21bd146a1568de897ed030ccd52ab79
Signed-off-by: Shawn Shan <[email protected]>
Add files MPS2.ld and startup_MPS2.S to support GCC_ARM of the target
AN383(ARM_MPS2_M0P). Add "GCC_ARM" to supported_toolchains list.

Change-Id: I48020b4f0f1b6e0aef3c53f5a3586bc9e9fca9c9
Signed-off-by: Shawn Shan <[email protected]>
Add files MPS2.ld and startup_MPS2.S to support GCC_ARM of the target
AN382(ARM_MPS2_M0). Add "GCC_ARM" to supported_toolchains list.

Change-Id: I7046b698834c82e94015e51eef9a0f5e1315ddaa
Signed-off-by: Shawn Shan <[email protected]>
Add file MPS2.icf and startup_MPS2.S to suppout IAR of the target
AN383(ARM_MPS2_M0P). Add "IAR" to supported_toolchain list.

Change-Id: Ib2278d34e265e53ad070aecd318ed4e6a355e3c0
Signed-off-by: Shawn Shan <[email protected]>
Add file MPS2.icf and startup_MPS2.S to suppout IAR of the target
AN382(ARM_MPS2_M0). Add "IAR" to supported_toolchain list.

Change-Id: I2b2ad7645166c4f973a8baa9c394521514183767
Signed-off-by: Shawn Shan <[email protected]>
Change-Id: I0205d381de331a827435d667c16297aaf5bb609e
Signed-off-by: Shawn Shan <[email protected]>
@ChangwuShan ChangwuShan force-pushed the Re-enable_MPS2_platform branch from 2c0ea89 to 3d9b7df Compare April 15, 2019 09:59
@0xc0170
Copy link
Contributor

0xc0170 commented Apr 15, 2019

CI started

@mbed-ci
Copy link

mbed-ci commented Apr 15, 2019

Test run: FAILED

Summary: 2 of 11 test jobs failed
Build number : 4
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

@0xc0170
Copy link
Contributor

0xc0170 commented Apr 16, 2019

@ashok-rao Final review please

Copy link
Contributor

@ashok-rao ashok-rao left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks @ChangwuShan

@0xc0170 0xc0170 changed the title Re enable mps2 platform Re-enable MPS2 platform Apr 16, 2019
@mbed-ci
Copy link

mbed-ci commented Apr 17, 2019

Test run: SUCCESS

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

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.

8 participants