cpu: unified cortex-m[034]_common implementations#3023
cpu: unified cortex-m[034]_common implementations#3023jnohlgard merged 8 commits intoRIOT-OS:masterfrom
Conversation
|
nice one! |
There was a problem hiding this comment.
Delete this change, you can reapply parts of #3016 to save on manual work.
|
I think this is a step in the right direction for better maintainability. |
86c93d0 to
e80bbe9
Compare
|
fixed tab issues |
e80bbe9 to
8d48bec
Compare
|
here we go. This PR should now work for every cortex-based board. |
2df1f07 to
542312a
Compare
|
EDIT |
542312a to
2d8d279
Compare
|
rebased again. |
|
Could someone test and ack this, @PeterKietzmann, @kaspar030, @gebart, @OlegHahm? Otherwise it's building up a lot of dependecies... Thx! |
cpu/cortexm_common/include/cpu.h
Outdated
There was a problem hiding this comment.
you could leave the 2014 in there, i.e. 2014-2015
There was a problem hiding this comment.
that was new to me. will fix it.
There was a problem hiding this comment.
Maybe I was wrong about the MUST, but it seems to be a good idea not to change, but to expand, see http://stackoverflow.com/a/2391555 .
|
Update all the copyrights to include the entire time span in years year-now, e.g. 2014-2015 |
|
haukepetersen@ba9d259 commit message sepllnig: doxygen |
|
I opened a PR at haukepetersen#8 for some minor improvements to the selection of toolchain prefixes. I plan on merging the Clang stuff from Mulle into cortex-m common later, but the PR is just a small preparation to make sure that all platforms follow the same pattern in the Makefile variables. |
a2c7cf9 to
e66de6e
Compare
|
fixed the copyrights, fixed the miss-spelled commit message and merged @gebarts fixes. |
|
ACK, please squash, go when Travis is happy. |
64b3ce8 to
880c8a4
Compare
|
suqashed and rebased. Go Travis, go. |
|
Needs rebase... |
|
again?! Dammit... |
880c8a4 to
42f48b7
Compare
|
rebased. |
- removed coretx-m[0|3|4] - moved their content to cortexm_common - adjusted cortex Makefiles to this new name - adjusted cortex Makefiles new structure
- changed naming of cortexm_common in makefiles - included some minor cleanups
GDB can be built as multitarget which can debug multiple architectures and is often installed without a target prefix.
|
I'm running a compile test locally on my machine |
|
compile tests went fine on my machine |
|
ping |
|
ACK holds, & go |
cpu: unified cortex-m[034]_common implementations
|
🎆 |
and the cleanup continues...
EDIT
I did not touch all CPUs yet, as I want to wait for #2852 to be merged.#2852 was merged.
Tested with one CPU from each Cortex family, the STM32F0 (M0), SAMD21 (M0+), STM32F1 (M3) STM32F3 & STM32F4 (both M4F).