aboutsummaryrefslogtreecommitdiffstats
path: root/sysmoOCTSIM/stdio_start.c
blob: 7450a088af6adaa946961b1a4ce6a45028c2df76 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*
 * Code generated from Atmel Start.
 *
 * This file will be overwritten when reconfiguring your Atmel Start project.
 * Please copy examples or other code you want to keep to a separate file or main.c
 * to avoid loosing it when reconfiguring.
 */

#include "atmel_start.h"
#include "stdio_start.h"

void STDIO_REDIRECT_0_example(void)
{
	/* Print welcome message */
	printf("\r\nHello ATMEL World!\r\n");
}

void stdio_redirect_init(void)
{

	usart_sync_enable(&UART_debug);
	stdio_io_init(&UART_debug.io);
}