Harald Welte | 361ed20 | 2019-02-24 21:15:39 +0100 | [diff] [blame] | 1 | /* |
| 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 | |
| 12 | void STDIO_REDIRECT_0_example(void) |
| 13 | { |
| 14 | /* Print welcome message */ |
| 15 | printf("\r\nHello ATMEL World!\r\n"); |
| 16 | } |
| 17 | |
| 18 | void stdio_redirect_init(void) |
| 19 | { |
| 20 | |
| 21 | usart_sync_enable(&UART_debug); |
| 22 | stdio_io_init(&UART_debug.io); |
| 23 | } |