1 /*
2  * Copyright 2020 NXP
3  * All rights reserved.
4  *
5  *
6  * SPDX-License-Identifier: BSD-3-Clause
7  */
8 
9 #ifndef __SERIAL_PORT_RPMSG_H__
10 #define __SERIAL_PORT_RPMSG_H__
11 
12 #include "fsl_adapter_rpmsg.h"
13 
14 /*!
15  * @addtogroup serial_port_rpmsg
16  * @ingroup serialmanager
17  * @{
18  */
19 
20 /*******************************************************************************
21  * Definitions
22  ******************************************************************************/
23 /*! @brief serial port uart handle size*/
24 #if (defined(SERIAL_MANAGER_NON_BLOCKING_MODE) && (SERIAL_MANAGER_NON_BLOCKING_MODE > 0U))
25 #define SERIAL_PORT_RPMSG_HANDLE_SIZE (HAL_RPMSG_HANDLE_SIZE + 16U)
26 #else /* !SERIAL_MANAGER_NON_BLOCKING_MODE */
27 #define SERIAL_PORT_RPMSG_HANDLE_SIZE (HAL_RPMSG_HANDLE_SIZE + 32U)
28 #endif
29 
30 /*! @} */
31 #endif /* __SERIAL_PORT_RPMSG_H__ */
32