[riot-commits] [RIOT-OS/RIOT] ca5e19: cpu/atmega_common: Move stdio_init() to cpu_init()

Francisco noreply at github.com
Mon Sep 9 09:22:55 CEST 2019


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: ca5e196e78c6377515129efb4e72f76eb6dd8165
      https://github.com/RIOT-OS/RIOT/commit/ca5e196e78c6377515129efb4e72f76eb6dd8165
  Author: Marian Buschsieweke <marian.buschsieweke at ovgu.de>
  Date:   2019-04-10 (Wed, 10 Apr 2019)

  Changed paths:
    M boards/common/atmega/board.c
    M boards/waspmote-pro/board.c
    M cpu/atmega_common/cpu.c

  Log Message:
  -----------
  cpu/atmega_common: Move stdio_init() to cpu_init()

Moving atmega_stdio_init() to cpu_init() just before periph_init() guarantees
that stdio is available to allow DEBUG() in periph_init(). This also helps to
unify the boot up process of ATmega boards and de-duplicates the stdio init from
board_init().


  Commit: 6d800ed85ac870d0cc71096df8a9147fb1ecf135
      https://github.com/RIOT-OS/RIOT/commit/6d800ed85ac870d0cc71096df8a9147fb1ecf135
  Author: Francisco <francois-xavier.molina at inria.fr>
  Date:   2019-09-09 (Mon, 09 Sep 2019)

  Changed paths:
    M boards/common/atmega/board.c
    M boards/waspmote-pro/board.c
    M cpu/atmega_common/cpu.c

  Log Message:
  -----------
  Merge pull request #11366 from maribu/early_stdio_atmega

cpu/atmega_common: Moved atmega_stdio_init() to cpu_init()


Compare: https://github.com/RIOT-OS/RIOT/compare/113dd645bf7d...6d800ed85ac8


More information about the commits mailing list