Skip to content

Nuvoton: Fix crypto compile error with Mbed OS 2 #9191

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 3 commits into from
Jan 3, 2019

Conversation

ccli8
Copy link
Contributor

@ccli8 ccli8 commented Dec 24, 2018

Description

This PR tries to fix #9081 which causes crypto compile error with Mbed OS 2 for Nuvoton targets.

Related PR or issue

#9081
#9190

Related targets

  • NUMAKER_PFM_NUC472
  • NUMAKER_PFM_M487/NUMAKER_IOT_M487

Pull request type

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

Reviewers

@ciarmcom ciarmcom requested a review from a team December 24, 2018 04:00
@ciarmcom
Copy link
Member

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

@cmonr
Copy link
Contributor

cmonr commented Dec 27, 2018

@screamerbg Please recheck when able.

@cmonr cmonr requested a review from screamerbg December 27, 2018 20:25
@ccli8 ccli8 force-pushed the nuvoton_fix_crypto_no-rtos branch from a57b50f to 39f705e Compare January 2, 2019 08:10
@ccli8
Copy link
Contributor Author

ccli8 commented Jan 2, 2019

I make the following modifications:

  1. Do rebase
  2. Replace DummyMutex with PlatformMutex which supports both RTOS-present and RTOS-absent.

0xc0170
0xc0170 previously requested changes Jan 2, 2019
@@ -19,15 +19,16 @@
#include "mbed_assert.h"
#include "mbed_critical.h"
#include "mbed_error.h"
#if defined(MBED_CONF_RTOS_PRESENT) && MBED_CONF_RTOS_PRESENT
Copy link
Contributor

Choose a reason for hiding this comment

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

We shall just use #if MBED_CONF_RTOS_PRESENT, we consolidated recently drivers to use this as well (no toolchain should warn if not defined, should be set to 0).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@0xc0170 I change it in ad1e57b.

@cmonr cmonr dismissed 0xc0170’s stale review January 3, 2019 02:50

Changes addressed. Please re-review.

@cmonr
Copy link
Contributor

cmonr commented Jan 3, 2019

@screamerbg Would you mind retesting the bootloader project?

Will run CI in the meantime since this appears to be ready.

@cmonr
Copy link
Contributor

cmonr commented Jan 3, 2019

CI started

@0xc0170
Copy link
Contributor

0xc0170 commented Jan 3, 2019

We stopped the test as 5.11.1 rc needs to be completed first, will restart as soon as it completes

@mbed-ci
Copy link

mbed-ci commented Jan 3, 2019

Test run: FAILED

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

Failed test jobs:

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

@0xc0170
Copy link
Contributor

0xc0170 commented Jan 3, 2019

CI restarted

@cmonr cmonr merged commit 8493c61 into ARMmbed:master Jan 3, 2019
@ccli8 ccli8 deleted the nuvoton_fix_crypto_no-rtos branch January 4, 2019 01:13
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.

5 participants