[riot-notifications] [RIOT-OS/RIOT] cpu: introduce PROVIDES_EARLY_STDIO_INIT (#12223)

benpicco notifications at github.com
Sat Sep 14 01:26:01 CEST 2019


### Contribution description
When #11367 moved `stdio_init()` out of common code into CPU specific code, several platforms were forgotten. This broke stdio on esp8266 and esp32, possibly others too.

This PR introduces a `PROVIDES_EARLY_STDIO_INIT` define with which CPUs that got converted to CPU specific `stdio_init()`can advertise this.
If this is not defined, `stdio_init()` is called in syscalls.c `_init()` again as it was before.

### Testing procedure
Check if stdio works again.

### Issues/PRs references
#11367

You can view, comment on, or merge this pull request online at:

  https://github.com/RIOT-OS/RIOT/pull/12223

-- Commit Summary --

  * cpu: introduce PROVIDES_EARLY_STDIO_INIT

-- File Changes --

    M boards/msba2/include/periph_conf.h (5)
    M cpu/cc2538/include/periph_cpu.h (5)
    M cpu/cc26x0/include/periph_cpu.h (5)
    M cpu/efm32/include/periph_cpu.h (5)
    M cpu/ezr32wg/include/periph_cpu.h (5)
    M cpu/kinetis/include/periph_cpu.h (5)
    M cpu/lm4f120/include/periph_cpu.h (5)
    M cpu/lpc1768/include/periph_cpu.h (5)
    M cpu/nrf51/include/periph_cpu.h (5)
    M cpu/nrf52/include/periph_cpu.h (5)
    M cpu/sam3/include/periph_cpu.h (5)
    M cpu/samd21/include/periph_cpu.h (5)
    M cpu/samd5x/include/periph_cpu.h (5)
    M cpu/saml1x/include/periph_cpu.h (5)
    M cpu/saml21/include/periph_cpu.h (5)
    M cpu/stm32_common/include/periph_cpu_common.h (5)
    M sys/newlib_syscalls_default/syscalls.c (4)

-- Patch Links --

https://github.com/RIOT-OS/RIOT/pull/12223.patch
https://github.com/RIOT-OS/RIOT/pull/12223.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/12223
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190913/795fbdc6/attachment-0001.htm>


More information about the notifications mailing list