make: boards: refactor board makefiles#2852
Conversation
|
btw, this implicitly includes #2848. |
sys/newlib/syscalls.c
Outdated
There was a problem hiding this comment.
Newlib calls itself Newlib (lowercase L)
|
arduino due fixed, works now |
|
addressed @Kijewski's comments |
|
should I split the cpu + board specific commits in seperate PR's? I'm afraid we'll never test all these boards... |
|
no, lets leave it in one PR, its fast to test (I will start now to test every board I have flying around here...) |
|
samr21-xpro does not build. |
|
udoo seems to be broken. |
|
SAMR21 should be building now. I had left that out before because of the gpio issues caused by -Os. |
Hm, I don't have a board... |
a60095c to
db3cfc4
Compare
|
Does anyone have these boards and can test?
|
|
I have all besides the |
db3cfc4 to
0a15ebf
Compare
|
|
What's the state of this PR? |
80cfec1 to
302699e
Compare
|
I think I got it. The CFLAGS_FPU where never actually evaluated as the board makefile was included before the cpu makefile, but board would only set the option if the CPU has set CORTEX before. I moved the check into the common CPU makefile. Let's see what travis says. |
|
ACK and go. |
make: boards: refactor board makefiles
They were mostly the same, so now they include common parts.
This is includes #2850.
Just looked at Cortex-M boards, excluding again the kinetis boards.
The changes are a little less trivial, but if "hello world" flashes and displays using
make flashandmake term, everything is fine.Tested so far on: