eRPC API Reference
Rev. 1.7.0
NXP Semiconductors
Main Page
API Reference
Classes
Files
File List
File Members
erpc_config.h
Go to the documentation of this file.
1
/*
2
* The Clear BSD License
3
* Copyright (c) 2016, Freescale Semiconductor, Inc.
4
* Copyright 2016-2018 NXP
5
* All rights reserved.
6
*
7
*
8
* Redistribution and use in source and binary forms, with or without modification,
9
* are permitted (subject to the limitations in the disclaimer below) provided
10
* that the following conditions are met:
11
*
12
* o Redistributions of source code must retain the above copyright notice, this list
13
* of conditions and the following disclaimer.
14
*
15
* o Redistributions in binary form must reproduce the above copyright notice, this
16
* list of conditions and the following disclaimer in the documentation and/or
17
* other materials provided with the distribution.
18
*
19
* o Neither the name of the copyright holder nor the names of its
20
* contributors may be used to endorse or promote products derived from this
21
* software without specific prior written permission.
22
*
23
* NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE GRANTED BY THIS LICENSE.
24
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
25
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
26
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
27
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
28
* ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
29
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
30
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
31
* ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
32
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
33
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
34
*/
35
36
#ifndef _ERPC_CONFIG_H_
37
#define _ERPC_CONFIG_H_
38
45
// Declarations
48
50
51
#define ERPC_THREADS_NONE (0)
52
#define ERPC_THREADS_PTHREADS (1)
53
#define ERPC_THREADS_FREERTOS (2)
54
#define ERPC_THREADS_ZEPHYR (3)
55
56
#define ERPC_NOEXCEPT_DISABLED (0)
57
#define ERPC_NOEXCEPT_ENABLED (1)
58
59
#define ERPC_NESTED_CALLS_DISABLED (0)
60
#define ERPC_NESTED_CALLS_ENABLED (1)
61
62
#define ERPC_NESTED_CALLS_DETECTION_DISABLED (0)
63
#define ERPC_NESTED_CALLS_DETECTION_ENABLED (1)
64
65
#define ERPC_MESSAGE_LOGGING_DISABLED (0)
66
#define ERPC_MESSAGE_LOGGING_ENABLED (1)
67
68
#define ERPC_TRANSPORT_MU_USE_MCMGR_DISABLED (0)
69
#define ERPC_TRANSPORT_MU_USE_MCMGR_ENABLED (1)
70
71
72
74
84
//#define ERPC_THREADS (ERPC_THREADS_FREERTOS)
85
91
//#define ERPC_DEFAULT_BUFFER_SIZE (256)
92
97
//#define ERPC_DEFAULT_BUFFERS_COUNT (2)
98
104
//#define ERPC_NOEXCEPT (ERPC_NOEXCEPT_ENABLED)
105
111
//#define ERPC_NESTED_CALLS (ERPC_NESTED_CALLS_ENABLED)
112
119
//#define ERPC_NESTED_CALLS_DETECTION (ERPC_NESTED_CALLS_DETECTION_DISABLED)
120
127
//#define ERPC_MESSAGE_LOGGING (ERPC_MESSAGE_LOGGING_ENABLED)
128
142
//#define ERPC_TRANSPORT_MU_USE_MCMGR ERPC_TRANSPORT_MU_USE_MCMGR_DISABLED
144
146
#endif // _ERPC_CONFIG_H_
147
// EOF
© 2016 NXP Semiconductors. All rights reserved.