[riot-commits] [RIOT-OS/RIOT] b7b7fd: make: provide BOARD, MCU and CPU name as a string

Ludwig Ortmann ludwig.ortmann at fu-berlin.de
Fri Aug 1 08:21:30 CEST 2014


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: b7b7fd3bc1c1bae668797f986586eb4b634e7c8b
      https://github.com/RIOT-OS/RIOT/commit/b7b7fd3bc1c1bae668797f986586eb4b634e7c8b
  Author: René Kijewski <rene.kijewski at fu-berlin.de>
  Date:   2014-08-01 (Fri, 01 Aug 2014)

  Changed paths:
    M Makefile.include
    M examples/hello-world/main.c

  Log Message:
  -----------
  make: provide BOARD, MCU and CPU name as a string

This PR adds the defined `RIOT_BOARD`, `RIOT_CPU` and `RIOT_MCU`.
They each are defined as `BOARD_${BOARD}`, `CPU_${CPU}`, and
`MCU_${CPU}`, resp.

`BOARD_${BOARD}` is defined as the string `"${BOARD}"`, but not in upper
case. Same for the other two.


  Commit: 4546c3f83cd6c935ff80bf78836b15c3f268d1fb
      https://github.com/RIOT-OS/RIOT/commit/4546c3f83cd6c935ff80bf78836b15c3f268d1fb
  Author: Ludwig Ortmann <ludwig.ortmann at fu-berlin.de>
  Date:   2014-08-01 (Fri, 01 Aug 2014)

  Changed paths:
    M Makefile.include
    M examples/hello-world/main.c

  Log Message:
  -----------
  Merge pull request #1524 from Kijewski/make-board-name-string

make: provide BOARD, MCU and CPU name as a string


Compare: https://github.com/RIOT-OS/RIOT/compare/38cd1880c696...4546c3f83cd6


More information about the commits mailing list