Skip to content

make: boards: refactor board makefiles#2852

Merged
haukepetersen merged 35 commits intoRIOT-OS:masterfrom
kaspar030:refactor_board_makefiles
May 26, 2015
Merged

make: boards: refactor board makefiles#2852
haukepetersen merged 35 commits intoRIOT-OS:masterfrom
kaspar030:refactor_board_makefiles

Conversation

@kaspar030
Copy link
Copy Markdown
Contributor

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 flash and make term, everything is fine.

Tested so far on:

  • airfy-beacon (nrf51822)
  • arduino-due (sam3x8e)
  • cc2538dk (cc2538)
  • f4vi1 (stm32f4)
  • fox (stm32f1)
  • iot-lab_M3 (stm32f1)
  • mbed_lpc1768 (lpc1768)
  • nucleo-f091 (stm32f0)
  • nucleo-f334 (stm32f3)
  • pca10000 (nrf51822)
  • pca10005 (nrf51822)
  • spark-core (stm32f1)
  • stm32f3discovery (stm32f3)
  • stm32f4discovery (stm32f4)
  • yunjia-nrf51822 (nrf51822)
  • msbiot (stm32f4)
  • nucleo-l1 (stm32l1)
  • openmote (cc2538)
  • samr21-xpro (samd21)
  • stm32f0discovery (stm32f0)
  • udoo (sam3x8e)

@kaspar030 kaspar030 added Type: enhancement The issue suggests enhanceable parts / The PR enhances parts of the codebase / documentation Impact: major The PR changes a significant part of the code base. It should be reviewed carefully Type: cleanup The issue proposes a clean-up / The PR cleans-up parts of the codebase / documentation labels Apr 22, 2015
@kaspar030 kaspar030 mentioned this pull request Apr 22, 2015
20 tasks
@kaspar030
Copy link
Copy Markdown
Contributor Author

btw, this implicitly includes #2848.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Newlib calls itself Newlib (lowercase L)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yup

@kaspar030
Copy link
Copy Markdown
Contributor Author

arduino due fixed, works now

@kaspar030
Copy link
Copy Markdown
Contributor Author

addressed @Kijewski's comments

@kaspar030
Copy link
Copy Markdown
Contributor Author

should I split the cpu + board specific commits in seperate PR's? I'm afraid we'll never test all these boards...

@haukepetersen
Copy link
Copy Markdown
Contributor

no, lets leave it in one PR, its fast to test (I will start now to test every board I have flying around here...)

@haukepetersen
Copy link
Copy Markdown
Contributor

samr21-xpro does not build.

@haukepetersen
Copy link
Copy Markdown
Contributor

udoo seems to be broken.

@kaspar030
Copy link
Copy Markdown
Contributor Author

SAMR21 should be building now. I had left that out before because of the gpio issues caused by -Os.

@kaspar030
Copy link
Copy Markdown
Contributor Author

udoo seems to be broken.

Hm, I don't have a board...

@LudwigKnuepfer LudwigKnuepfer added the State: waiting for other PR State: The PR requires another PR to be merged first label Apr 24, 2015
@kaspar030 kaspar030 force-pushed the refactor_board_makefiles branch from a60095c to db3cfc4 Compare April 27, 2015 13:38
@OlegHahm OlegHahm modified the milestone: Release 2015.06 Apr 29, 2015
@kaspar030
Copy link
Copy Markdown
Contributor Author

Does anyone have these boards and can test?

  • udoo (seems broken, can't fix without board)
  • openmote
  • stm32f0discovery
  • msbiot
  • cc2538dk
  • samr21-xpro
  • nucleo-l1

@haukepetersen
Copy link
Copy Markdown
Contributor

I have all besides the cc2538dk and the nucleo-l1 available somewhere. But can't promise when I will get to testing them.

@kaspar030 kaspar030 added the CI: needs squashing Commits in this PR need to be squashed; If set, CI systems will mark this PR as unmergable label May 7, 2015
@kaspar030 kaspar030 force-pushed the refactor_board_makefiles branch from db3cfc4 to 0a15ebf Compare May 8, 2015 18:59
@kaspar030
Copy link
Copy Markdown
Contributor Author

  • rebased

@OlegHahm
Copy link
Copy Markdown
Member

OlegHahm commented May 8, 2015

What's the state of this PR?

@kaspar030 kaspar030 force-pushed the refactor_board_makefiles branch from 80cfec1 to 302699e Compare May 26, 2015 08:47
@kaspar030
Copy link
Copy Markdown
Contributor Author

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.

@haukepetersen
Copy link
Copy Markdown
Contributor

ACK and go.

haukepetersen added a commit that referenced this pull request May 26, 2015
make: boards: refactor board makefiles
@haukepetersen haukepetersen merged commit 9e273be into RIOT-OS:master May 26, 2015
@kaspar030 kaspar030 deleted the refactor_board_makefiles branch February 7, 2017 22:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Impact: major The PR changes a significant part of the code base. It should be reviewed carefully Type: cleanup The issue proposes a clean-up / The PR cleans-up parts of the codebase / documentation Type: enhancement The issue suggests enhanceable parts / The PR enhances parts of the codebase / documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants