-
Notifications
You must be signed in to change notification settings - Fork 3k
[Seeed Arch MAX] Add Mbed OS 5 support #8831
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
Conversation
@ashok-rao bump |
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.
Was IAR support removed or just not yet added ? files are there, it was ready, was there a specific reason not having IAR support.
@0xc0170 The IAR support was not yet added. The startup code and linker script were added before, but not in the targets.json. So, I added and ran tests. |
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.
Thanks @toyowata .. I've left some minor comments. Otherwise LGTM!
"program_cycle_s": 2, | ||
"extra_labels_add": [ | ||
"STM32F4", | ||
"STM32F407", | ||
"STM32F407xG", | ||
"STM32F407VG" | ||
"STM32F407VG", | ||
"STM_EMAC" |
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.
@toyowata : STM_EMAC - so, any default network interface on the board? If yes, you may want to add this here as well?
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.
@ashok-rao Thanks. I added network-default-interface-type.
targets/targets.json
Outdated
"macros_add": ["USB_STM_HAL"], | ||
"config": { | ||
"clock_source": { | ||
"help": "Mask value : USE_PLL_HSE_EXTC (need HW patch) | USE_PLL_HSE_XTAL (need HW patch) | USE_PLL_HSI | USE_PLL_MSI", |
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.
Help text: Does it need any HW patch or can this be removed?
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.
removed.
} | ||
}, | ||
"release_versions": ["2", "5"], | ||
"overrides": {"lse_available": 0}, |
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.
This line makes use of LSI for RTC .. but still we see RTC failing.. General comment for @0xc0170 : I have seen this happening on all F4 series for the RTC .. this is something we need to investigate more on..
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.
If there is not yet issue reported, please do
Note, will require rebase |
@toyowata Can you rebase? This will be ready for CI |
@0xc0170 apply suggestion from @ashok-rao and rebased. |
@toyowata Sorry, but it looks like a mistake was made when doing the rebase. If you look at the commits, A rebase generally involves the following commands:
Sometimes we can be a bit leniant on if a PR has a merge commit, but that's only if a PR is coming in to a feature release. Since 5.11 is currently in testing, that's not the case here. Please correct this PR's commit history. |
06446aa
to
440fa2a
Compare
440fa2a
to
4d11ff8
Compare
@cmonr Thank you. I think it should be fine now. |
@ashok-rao Please re-review. Looks like all of your comments have been addressed. |
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.
Thanks @toyowata . LGTM!
CI started |
CI jobs stopped: Prioritizing RC3 PRs. Will restart when able. |
Test run: FAILEDSummary: 2 of 11 test jobs failed Failed test jobs:
|
There is another issue with this target: it uses F407VG MCU as base setting, but has a F407VE as in the board documents. The difference is the flash size, program size >512MB will not run but create no linker error. |
@toyowata Please review |
OK, so to proceed here, this will be as it is (using current target base). Will restart CI once rc3 is completed |
CI jobs restarted:
|
Description
Add Mbed OS 5 support for Seeed Arch MAX target.
Test result
ARM
GCC_ARM
IAR
RTC related test cases failed. I believe this is same issue here: #8196
Pull request type
cc @MarceloSalazar @ytsuboi