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:
parent
df27dbef7a
commit
73424c1d1e
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user