-
Notifications
You must be signed in to change notification settings - Fork 3k
NRF52: fix config #11418
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
NRF52: fix config #11418
Conversation
remove lib config and use target configuration instead. To avoid duplication of symbols, etc. Fixes ARMmbed#10655
There are few other lib json files in This should be good as it is. I'll verify I moved all data correctly, will report back. @ARMmbed/mbed-os-tools need your opinion here. |
All checked, one to one copy. I found one mistake that I fixed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Checked manually.
I am testing it with blinky baremetal , fails for me with very strange python error - I suspect there is duplication of symbols somewhere.
|
Can anyone test this? It looks like I have some env issue. I tried python2 and 3 , same error ,even without this fix, just using master and requires "nordic" workaround. K64F for instance builds, so its only NRF52840_DK releated on my machine :/ |
CI started |
TestBuild agains mbed OS master
Build against pull/11418
Now it looks like :( |
@SeppoTakalo you are receiving the same error as me above. Is this an issue on master?
@Patater Can you review this failure? You should be able to reproduce using this PR with latest master and command #11418 (comment) |
From the readme:
tls is not available thus cryptocell should not be neither. |
As a quick solution, it's probably acceptable to remove CRYPTOCELL310 from the target, requiring users to opt-in to hardware acceleration on that platform. This would need to be documented in known issues. The best solution would be to remove CRYPTOCELL310 only for baremetal builds, if that's possible. You don't need CRYPTOCELL310 is you don't have TLS or Crypto. |
Test run: SUCCESSSummary: 11 of 11 test jobs passed |
After discussing the matter in Slack, we are proposing that this is acceptable solution:
This is minimal harm for user, as it requires changes only for baremetal builds and does not affect normal builds. |
We shall create an issue for this where we can continue discussion about features vs baremetal as I believe this come down to it (would need a review from tools if our understanding is correct). I can create an issue tomorrow. |
@adbridge Lets make sure the issue identified here is captured in the known issues:
|
Description
remove lib config and use target configuration instead. To avoid duplication of symbols, etc.
Fixes #10655
It could be simplified but I noticed not all targets from NRF52 contain overrides neither have one common parent (two MCU), therefore I only moved the config already there to the target config. No other change.
Pull request type
Reviewers
@SeppoTakalo @evedon
Release Notes