-
Notifications
You must be signed in to change notification settings - Fork 3k
M2351: Support memory custom partition #10004
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
M2351: Support memory custom partition #10004
Conversation
This is to express ARMC6 toolchain support more explicitly.
Add partition_M2351_mem.h/partition_M2351_mem.icf to centralize memory partition
Old M2351 CMSIS pack reports single secure ROM/RAM spec. It is updated in new version which reports secure/non-secure ROM/RAM spec. Override this memory spec in targets.json regardless of CMSIS.
@ccli8, thank you for your changes. |
Commmit fa975ad4924b6f88d364ff62e4e15008515744ec - can this be sent separately? Tools team would review (the rest of commits are target related). |
fa975ad
to
c4bda55
Compare
@0xc0170 since that commit was removed from this PR I'll go ahead and dismiss the mbed-os-tools review. |
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.
License addition to the new sct file
@@ -0,0 +1,82 @@ | |||
/* See partition_M2351_mem.h for documentation */ |
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.
please add license header to all new files if not yet in, like this one
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.
@0xc0170 Added license header.
With #10008 merged, any update? |
@ccli8 Who are you asking? |
I'm still not sure I understand. Are you saying that this is ready to progress now that #10008 is merged? |
@cmonr Yes, please go ahead. |
@ARMmbed/team-nuvoton Please review. |
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.
LGTM
|
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.
Some duplicate rom/ram default settings in partition_M2351_mem.h and target.json .
Remind to remove the one in partition_M2351_mem.h after tool mature enough.
Ci started |
Test run: SUCCESSSummary: 11 of 11 test jobs passed |
Description
Relying on #10008, this PR tries to add back support for ROM/RAM custom partition and address related #8757 which updates M2351 CMSIS pack and changes memory spec from single secure ROM/RAM block to separate secure/non-secure ROM/RAM blocks.
Related issue or PR
#10008
#8757
Pull request type