-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Add uVisor support for the DISCO_F429ZI #3397
Conversation
Went ahead and added the big fat |
@AlessandroA I get following error while compiling for profile disco_f429zi_gcc_arm_r_1_1_2 |
00ee241
to
58ba0aa
Compare
Hello @AlessandroA
(at this point I am on origin/master)
Can you tell me if there is something I did wrong ? and if not, is it possible for you to check that, please ? |
Hi @adustm, I will look into that this afternoon and will report back here. Thanks for reporting the issue! |
58ba0aa
to
de04516
Compare
Hi @adustm just a quick update. We found a couple of issues with the tests and we are debugging them at the moment. We plan to release support for the target of this PR with a restricted set of tests, and then work to increase the test coverage. I will update this PR when we are ready to review and merge. |
Hi Alessandro, |
@AlessandroA any update? If it needs much more work we should close and re-open when ready. |
This commit improves consistency between different platforms' linker scripts. In particular, we use "__UVISOR_SRAM_START" instead of "__UVISOR_BSS_START" as the uVisor BSS sections might be outside of the SRAM (for example, when using a tightly-coupled memory).
* Add support for uVisor own SRAM. * This enables targets where uVisor sits in a TCM. * Distinguish between uVisor and public SRAMs.
de04516
to
5f1c047
Compare
Hi @adustm , @sg- , I updated this PR. The current status is:
If all non-uVisor-specific tests succeed for this target, my suggestion is to merge this PR. The uVisor-specific issues will be solved in the next weeks, as some of the tasks we are working on address the underlying problems. That will require a new release of uVisor anyway. |
Hi @AlessandroA, @sg- |
@adustm those tests fail for me even with the HEAD of master, so I am not sure if the issue is with my board/tools. If they are enabled, I'd rather wait for the results of the CI job which is running in this PR. |
Hi @AlessandroA
I just launched Then I did fetch your branch git checkout AlessandroA/stm32f4_support As a conclusion : the porting of uvisor your did for DISCO_F429ZI is now fine for me, causing no dammage. 👍 Your suggestion :
is fine for me also. 👍 |
Hello @sg- , @bridadan
Could the Wip title and the do-not-merge label be removed ? |
Thanks @bridadan . This PR is for DISCO_F429ZI by the way, not NUCLEO |
True, though I think the problem is present in both (as well as a few other ST targets)? I haven't actually tried it on the DISCO though. Shouldn't block this PR from coming in though. |
Result: SUCCESSYour command has finished executing! Here's what you wrote!
OutputAll builds and test passed! |
LGTM 👍 |
Ports for Upcoming Targets 3571: DISCO_F769NI introduction ARMmbed/mbed-os#3571 3605: Add DELTA_DFCM_NNN50 platform ARMmbed/mbed-os#3605 3640: [MAX32630FTHR] Adding new platform ARMmbed/mbed-os#3640 Fixes and Changes 3397: Add uVisor support for the DISCO_F429ZI ARMmbed/mbed-os#3397 3573: fix failing RTC initialization for MTS_DRAGONFLY_F411RE ARMmbed/mbed-os#3573 3575: Dev stm factorize gpio ARMmbed/mbed-os#3575 3584: STM32: make PeripheralPins.h a common file ARMmbed/mbed-os#3584 3583: STM32F7 Cube FW new release v1.5.1 ARMmbed/mbed-os#3583 3578: Target system - Inherit names from target parents ARMmbed/mbed-os#3578 3599: K22F: Enable TRNG ARMmbed/mbed-os#3599 3614: STM32: make PortNames.h a common file ARMmbed/mbed-os#3614 3617: EFM32GG: Fix GCC_ARM linker script ARMmbed/mbed-os#3617 3618: STM32: Move types definitions to a common file ARMmbed/mbed-os#3618 3631: F3 CUBE update V1.7.0 ARMmbed/mbed-os#3631 3635: STM32 I2C : Fix bug in i2c_byte_read function ARMmbed/mbed-os#3635 3651: Max32630 - fix LED4 ARMmbed/mbed-os#3651
Note: Please do not merge yet. Our tests need to be updated to test the new target.
This PR adds support for uVisor on the DISCO_F429ZI target.
Changelog:
@0xc0170 @meriac @sg-
@mazimkhan Please use my branch https://github.com/AlessandroA/mbed-os/tree/stm32f4_support to test the new target locally. If those tests succeed you can report back here and I'll remove the WIP tag.