![]() |
eRPC API Reference
Rev. 1.7.2
NXP Semiconductors
|
Configuration settings. More...
Configuration settings.
Files | |
file | erpc_config.h |
Threading model options | |
#define | ERPC_THREADS_NONE |
No threads. | |
#define | ERPC_THREADS_PTHREADS |
POSIX pthreads. | |
#define | ERPC_THREADS_FREERTOS |
FreeRTOS. | |
#define | ERPC_THREADS_ZEPHYR |
ZEPHYR. | |
#define | ERPC_NOEXCEPT_DISABLED |
Disabling noexcept feature. | |
#define | ERPC_NOEXCEPT_ENABLED |
Enabling noexcept feature. | |
#define | ERPC_NESTED_CALLS_DISABLED |
No nested calls support. | |
#define | ERPC_NESTED_CALLS_ENABLED |
Nested calls support. | |
#define | ERPC_NESTED_CALLS_DETECTION_DISABLED |
Nested calls detection disabled. | |
#define | ERPC_NESTED_CALLS_DETECTION_ENABLED |
Nested calls detection enabled. | |
#define | ERPC_MESSAGE_LOGGING_DISABLED |
Trace functions disabled. | |
#define | ERPC_MESSAGE_LOGGING_ENABLED |
Trace functions enabled. | |
#define | ERPC_TRANSPORT_MU_USE_MCMGR_DISABLED |
Do not use MCMGR for MU ISR management. | |
#define | ERPC_TRANSPORT_MU_USE_MCMGR_ENABLED |
Use MCMGR for MU ISR management. | |
Configuration options | |
#define | ERPC_DEFAULT_BUFFER_SIZE |
Size of buffers allocated by BasicMessageBufferFactory in setup functions. More... | |
#define | ERPC_DEFAULT_BUFFERS_COUNT |
Count of buffers allocated by StaticMessageBufferFactory. More... | |
#define | ERPC_NOEXCEPT |
Disable/enable noexcept support. More... | |
#define | ERPC_NESTED_CALLS |
#define | ERPC_NESTED_CALLS_DETECTION |
#define | ERPC_MESSAGE_LOGGING |
#define ERPC_DEFAULT_BUFFER_SIZE |
Size of buffers allocated by BasicMessageBufferFactory in setup functions.
Uncomment to change the size of buffers allocated by one of MessageBufferFactory. (Client Setup and Server Setup). The default size is set to 256. For RPMsg transport layer, ERPC_DEFAULT_BUFFER_SIZE must be 2^n - 16.
#define ERPC_DEFAULT_BUFFERS_COUNT |
Count of buffers allocated by StaticMessageBufferFactory.
Uncomment to change the count of buffers allocated by one of statically allocated messages. Default value is set to 2.
#define ERPC_NOEXCEPT |
Disable/enable noexcept support.
Uncomment for using noexcept feature.
#define ERPC_NESTED_CALLS |
Default set to ERPC_NESTED_CALLS_DISABLED. Uncomment when callbacks, or other eRPC functions are called from server implementation of another eRPC call. Nested functions need to be marked as in IDL.
#define ERPC_NESTED_CALLS_DETECTION |
Default set to ERPC_NESTED_CALLS_DETECTION_ENABLED when NDEBUG macro is presented. This serve for locating nested calls in code. Nested calls are calls where inside eRPC function on server side is called another eRPC function (like callbacks). Code need be a bit changed to support nested calls. See ERPC_NESTED_CALLS macro.
#define ERPC_MESSAGE_LOGGING |
Enable eRPC message logging code through the eRPC. Take look into "message_logging.h". Can be used for base printing messages, or sending data to another system for data analysis. Default set to ERPC_MESSAGE_LOGGING_DISABLED.
Uncomment for using logging feature.