Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Improve the startup code on the STM32F070 #4525
This reduces the number of loads inside of the .data copy loop by 3 by using one more register. It should work on any STM32 with at least 5 general-purpose registers. If only 4 are available, then 1 load could still be removed from the original implementation.
Steps to test or reproduce
Run any program with a non-empty
I first used it in my custom board with the same chip as the nucleo f070rb board. It's working for me and I figured it would be useful to upstream it. It seems the original version was developed for a chip with only 4 registers available and was copied to bigger chips without redesign?…
On Jun 13, 2017 12:12 AM, "Laurent Meunier" ***@***.***> wrote: @fahhem <https://github.com/fahhem> Hello - have you developed this code from scratch in the context of MBED or has this already been exercised before in another context ? — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#4525 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AASrtIb-TKn0NLOerbf9MR3iNTetQbzcks5sDjZLgaJpZM4N3BiA> .
That looks like it failed due to a totally untouched processor timing out, so it seems like it's just flaky? http://mbedosci.cloudapp.net/results/pr/4525/645/FAIL/NCS36510/IAR/test_report_NCS36510-IAR.html