-
Notifications
You must be signed in to change notification settings - Fork 3k
Add new target MTB_ADV_WISE_1530 #6601
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
MTB_ADV_WISE_1530 and MTB_USI_WM_BN_BM_22 includes same usi chip, so common USI_WM_BN_BM_22 target has been created. MTB_ADV_WISE_1530 and MTB_USI_WM_BN_BM_22 are inheting the common usi target
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.
I like this approach.
Now they both can share the same code&same drivers.
This is same as ODIN approach, but I'm not sure if things will break due to clock sources.. the changes are fine by me, but we need to ensure greentea passes (with the exception of RTC, LP_Timer as being discussed in the other issue).. |
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.
have you checked clock sources are same on both modules?
@kjbracey-arm please review |
@KariHaapalehto Please for new targets, share testing results (all 3 compilers) |
wise1530_iar.txt Test results added for 3 compilers for both MTB_ADV_WISE_1530 and MTB_USI_WM_BN_BM_22 tagets. Wise-1530 passed all tests and usi failed only with "mbed-os-tests-mbed_drivers-rtc"-test. |
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. Not sure why lp_ticker tests passed without issues this time.. RTC is still crashing though..
Maybe it is fixed in master now? |
RTC should be disabled if its failing tests until it's fixed. |
/morph build |
Build : SUCCESSBuild number : 1735 Triggering tests/morph test |
@0xc0170 , RTC is failing with TIMEOUT. I'm thinking it might be because of different clock sources. The module has only LSI clock.. no external sources. And maybe that's why it is failing with timeout. @KariHaapalehto , can you remove RTC for the USI MTB and re-run the test? But removing RTC would remove a very fundamental feature.. :-( |
About the lp_ticker issue, I just notice that test were not passed, they were skipped. There isn't "LOWPOWERTIMER" -flag defined at the target.json |
Shall be fixed. Can anyone look at the failure and investiagate? |
RTC can not be removed just from MTB_USI_WM_BN_BM_22 and MTB_ADV_WISE_1530. |
Hi But as started in #6591 what is your clock configuration? |
@0xc0170 do you know who would be able to document it? Or can we even rely on it? Also, who would be correct person to verify our clock configurations. I don't think we understand enough this area. For us, socket&Wifi tests are passing, so we just assume that those are correct. |
I recall there was something somewhere as I pointed this configuration in another PR but from the link, it's not there and some other _remove are explained. It should be added if not in there |
@KariHaapalehto This target then shall do |
Test : SUCCESSBuild number : 1538 |
Exporter Build : SUCCESSBuild number : 1369 |
The device has issue with RTC clock initialization. In targets/TARGET_STM/rtc_api.c rtc_init the board gets stuck on line "if (HAL_RCC_OscConfig(&RCC_OscInitStruct) != HAL_OK)." under MBED_CONF_TARGET_LSE_AVAILABLE. By setting "overrides": {"lse_available": 0} to USI_WM_BN_BM_22 in targets.json the initialization passes. |
@juhoeskeli Can you send a fix for this please? |
Description
Add new target MTB_ADV_WISE_1530.
MTB_ADV_WISE_1530 and MTB_USI_WM_BN_BM_22 includes same usi chip,
so MTB_USI_WM_BN_BM_22 has been changed to common USI_WM_BN_BM_22 target, which
MTB_ADV_WISE_1530 and MTB_USI_WM_BN_BM_22 will inherit
Pull request type
[ ] Fix
[ ] Refactor
[X] New target
[ ] Feature
[ ] Breaking change