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:
commit
c8ea8d569b
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user