eRPC API Reference  Rev. 1.12.0
NXP Semiconductors
erpc_config.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2016, Freescale Semiconductor, Inc.
3  * Copyright 2016-2020 NXP
4  * Copyright 2020-2021 ACRIOS Systems s.r.o.
5  * All rights reserved.
6  *
7  *
8  * SPDX-License-Identifier: BSD-3-Clause
9  */
10 
11 #ifndef _ERPC_CONFIG_H_
12 #define _ERPC_CONFIG_H_
13 
20 // Declarations
23 
25 
26 #define ERPC_ALLOCATION_POLICY_DYNAMIC (0U)
27 #define ERPC_ALLOCATION_POLICY_STATIC (1U)
28 
29 #define ERPC_THREADS_NONE (0U)
30 #define ERPC_THREADS_PTHREADS (1U)
31 #define ERPC_THREADS_FREERTOS (2U)
32 #define ERPC_THREADS_ZEPHYR (3U)
33 #define ERPC_THREADS_MBED (4U)
34 #define ERPC_THREADS_WIN32 (5U)
35 #define ERPC_THREADS_THREADX (6U)
36 
37 #define ERPC_NOEXCEPT_DISABLED (0U)
38 #define ERPC_NOEXCEPT_ENABLED (1U)
39 
40 #define ERPC_NESTED_CALLS_DISABLED (0U)
41 #define ERPC_NESTED_CALLS_ENABLED (1U)
42 
43 #define ERPC_NESTED_CALLS_DETECTION_DISABLED (0U)
44 #define ERPC_NESTED_CALLS_DETECTION_ENABLED (1U)
45 
46 #define ERPC_MESSAGE_LOGGING_DISABLED (0U)
47 #define ERPC_MESSAGE_LOGGING_ENABLED (1U)
48 
49 #define ERPC_TRANSPORT_MU_USE_MCMGR_DISABLED (0U)
50 #define ERPC_TRANSPORT_MU_USE_MCMGR_ENABLED (1U)
51 
52 #define ERPC_PRE_POST_ACTION_DISABLED (0U)
53 #define ERPC_PRE_POST_ACTION_ENABLED (1U)
54 
55 #define ERPC_PRE_POST_ACTION_DEFAULT_DISABLED (0U)
56 #define ERPC_PRE_POST_ACTION_DEFAULT_ENABLED (1U)
57 
58 
59 
61 
73 // #define ERPC_ALLOCATION_POLICY (ERPC_ALLOCATION_POLICY_STATIC)
74 
80 // #define ERPC_CODEC_COUNT (2U)
81 
89 // #define ERPC_MESSAGE_LOGGERS_COUNT (0U)
90 
95 // #define ERPC_CLIENTS_THREADS_AMOUNT (1U)
96 
106 //#define ERPC_THREADS (ERPC_THREADS_FREERTOS)
107 
113 //#define ERPC_DEFAULT_BUFFER_SIZE (256U)
114 
119 //#define ERPC_DEFAULT_BUFFERS_COUNT (2U)
120 
126 //#define ERPC_NOEXCEPT (ERPC_NOEXCEPT_ENABLED)
127 
133 //#define ERPC_NESTED_CALLS (ERPC_NESTED_CALLS_ENABLED)
134 
141 //#define ERPC_NESTED_CALLS_DETECTION (ERPC_NESTED_CALLS_DETECTION_DISABLED)
142 
150 //#define ERPC_MESSAGE_LOGGING (ERPC_MESSAGE_LOGGING_ENABLED)
151 
165 //#define ERPC_TRANSPORT_MU_USE_MCMGR ERPC_TRANSPORT_MU_USE_MCMGR_DISABLED
167 
174 //#define ERPC_PRE_POST_ACTION (ERPC_PRE_POST_ACTION_ENABLED)
175 
182 //#define ERPC_PRE_POST_ACTION_DEFAULT (ERPC_PRE_POST_ACTION_DEFAULT_ENABLED)
183 
185 
186 // #define erpc_assert(condition)
190 
206 
208 #endif // _ERPC_CONFIG_H_
209 // EOF