1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

Merge pull request #12224 from maribu/esp32-early-stdio

cpu/esp32: Moved stdio_init() before periph_init()
This commit is contained in:
Marian Buschsieweke 2019-09-14 12:19:03 +02:00 committed by GitHub
commit c8ea8d569b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,6 +33,7 @@
#include "kernel_defines.h"
#include "kernel_init.h"
#include "log.h"
#include "stdio_base.h"
#include "syscalls.h"
#include "thread_arch.h"
@ -319,6 +320,9 @@ static NORETURN void IRAM system_init (void)
/* initialize the board */
board_init();
/* initialize stdio */
stdio_init();
/* trigger static peripheral initialization */
periph_init();