2 * Copyright (c) 2020-2021 Arm Limited. All rights reserved.
4 * SPDX-License-Identifier: Apache-2.0
6 * Licensed under the Apache License, Version 2.0 (the License); you may
7 * not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
10 * www.apache.org/licenses/LICENSE-2.0
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an AS IS BASIS, WITHOUT
14 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
18 * -----------------------------------------------------------------------------
20 * Project: USART Server
21 * Title: USART Server configuration file
23 * -----------------------------------------------------------------------------
26 #ifndef USART_SERVER_CONFIG_H_
27 #define USART_SERVER_CONFIG_H_
29 //-------- <<< Use Configuration Wizard in Context Menu >>> --------------------
32 // <i> USART Server configuration.
33 // <i> Fixed settings used by the USART Server for command exchange are:
34 // <i> Baudrate: 115200
38 // <i> Flow Control: None
39 // <o0> Driver_USART# <0-255>
40 // <i> Choose the Driver_USART# instance.
41 // <i> For example to use Driver_USART0 select 0.
42 // <h> Communication settings
43 // <i> These settings specify configurable settings used by the USART Server for command exchange.
45 // <i> Select mode setting used by the USART Server.
52 #define USART_SERVER_DRV_NUM 0
53 #define USART_SERVER_MODE 1
54 #define USART_SERVER_BUF_SIZE 4096
55 #define USART_SERVER_CMD_TIMEOUT 100