aboutsummaryrefslogtreecommitdiff
path: root/cortex-m-rt/examples/main.rs
diff options
context:
space:
mode:
authorGravatar bors[bot] <bors[bot]@users.noreply.github.com> 2018-08-13 06:41:02 +0000
committerGravatar bors[bot] <bors[bot]@users.noreply.github.com> 2018-08-13 06:41:02 +0000
commit1089ef3423e60c6c9b186f77868ea1b16e153e01 (patch)
treed574ed4dee9ba3bc9ec195f6cb31b1c567226d83 /cortex-m-rt/examples/main.rs
parent96b76f974a7de4423f5bb0f529b399b0e310be2a (diff)
parent73e0b2a25d1766debe4f603dd13a732de2f1993d (diff)
downloadcortex-m-1089ef3423e60c6c9b186f77868ea1b16e153e01.tar.gz
cortex-m-1089ef3423e60c6c9b186f77868ea1b16e153e01.tar.zst
cortex-m-1089ef3423e60c6c9b186f77868ea1b16e153e01.zip
Merge #81
81: Add a __pre_init function to be called at the start of the reset handler r=korken89 a=yodaldevoid I needed this for a project so I went ahead and rebased and tweaked @jcsoo 's changes from #71. I will admit, I got a little impatient waiting and that also played into why I did this. If either @jcsoo or @japaric have an issue with this PR, please let me know and I will remove it. I apologize for toes that I have stepped on. Now onto the PR. This is possibly the simplest implementation that is possible. No nightly features were used in this implementation. Also, there is no hand-holding for the end user; if they want to mess with uninitialized statics, that is on them. If you would like me to add more documentation, please let me know what you would like to see. Fixes #17 Co-authored-by: Jonathan Soo <jcsoo@agora.com> Co-authored-by: Gabriel Smith <ga29smith@gmail.com>
Diffstat (limited to 'cortex-m-rt/examples/main.rs')
0 files changed, 0 insertions, 0 deletions