ADuCM302x Device Drivers API Reference Manual  Release 3.1.2.0
retarget_uart_config.h
1 /*
2 ** I/O redirection support over UART, via SSL/DD.
3 ** Copyright (C) 2017 Analog Devices, Inc. All Rights Reserved.
4 **
5 ** This file is intended for use with the ARM:Compiler:IO:*:User
6 ** components, which set up redirection of stdout and stderr.
7 */
8 
9 #ifndef RETARGET_UART_CONFIG_H
10 #define RETARGET_UART_CONFIG_H
11 
12 // --- <<< Use Configuration Wizard in Context Menu >>> ---
13 
14 // <h>UART Configuration for STDOUT and STDERR
15 
16 // <q>Configure Pinmuxing for UART.
17 // <i>Enable pinmux configuration for UART on first output.
18 #define ADI_UART_SETUP_PINMUX 1
19 
20 // <q>Raise Breakpoint on exit()
21 // <i>Cause a breakpoint event in exit() rather than looping forever.
22 #define ADI_UART_EXIT_BREAKPOINT 1
23 
24 
25 // </h>
26 
27 #endif /* RETARGET_UART_CONFIG_H */