blob: 7450a088af6adaa946961b1a4ce6a45028c2df76 [file] [log] [blame]
Harald Welte361ed202019-02-24 21:15:39 +01001/*
2 * Code generated from Atmel Start.
3 *
4 * This file will be overwritten when reconfiguring your Atmel Start project.
5 * Please copy examples or other code you want to keep to a separate file or main.c
6 * to avoid loosing it when reconfiguring.
7 */
8
9#include "atmel_start.h"
10#include "stdio_start.h"
11
12void STDIO_REDIRECT_0_example(void)
13{
14 /* Print welcome message */
15 printf("\r\nHello ATMEL World!\r\n");
16}
17
18void stdio_redirect_init(void)
19{
20
21 usart_sync_enable(&UART_debug);
22 stdio_io_init(&UART_debug.io);
23}