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

board/msba2: Added stdio_init()

The MSB-A2 uses a custom boot up sequence and does not have a cpu_init(). This
adds the missing call to stdio_init() to that custom boot up sequence.
This commit is contained in:
Marian Buschsieweke 2019-04-10 11:08:22 +02:00
parent df27dbef7a
commit 73424c1d1e
No known key found for this signature in database
GPG Key ID: 61F64C6599B1539F

View File

@ -27,6 +27,7 @@
#include "board.h"
#include "cpu.h"
#include "periph/init.h"
#include "stdio_base.h"
void bl_init_ports(void)
{
@ -42,6 +43,11 @@ void bl_init_ports(void)
LED0_OFF;
LED0_OFF;
/* initialize stdio prior to periph_init() to allow use of DEBUG() there */
stdio_init();
/* trigger static peripheral initialization */
periph_init();
}