KYMOCORE / API REFERENCEkymo_config.h Source File
API contracts in their original English. Navigation and guides are bilingual.
Go to the documentation of this file.
64#if defined(KYMO_USER_CONFIG_HEADER)
65#include KYMO_USER_CONFIG_HEADER
76#define KYMO_PROFILE_MINIMAL 0
79#define KYMO_PROFILE_XYZ 1
82#define KYMO_PROFILE_TRACE 2
86#define KYMO_PROFILE KYMO_PROFILE_MINIMAL
97#ifndef KYMO_ENABLE_CORE
98#define KYMO_ENABLE_CORE 0
102#ifndef KYMO_ENABLE_RUNTIME
103#define KYMO_ENABLE_RUNTIME 1
107#ifndef KYMO_ENABLE_CPP
108#define KYMO_ENABLE_CPP 0
116#ifndef KYMO_ENABLE_TX
117#define KYMO_ENABLE_TX 0
125#ifndef KYMO_ENABLE_ENDPOINT
126#define KYMO_ENABLE_ENDPOINT 0
133#if KYMO_PROFILE >= KYMO_PROFILE_XYZ
134#define KYMO_ENABLE_X 1
136#define KYMO_ENABLE_X 0
142#if KYMO_PROFILE >= KYMO_PROFILE_XYZ
143#define KYMO_ENABLE_Z 1
145#define KYMO_ENABLE_Z 0
150#ifndef KYMO_ENABLE_TIMESTAMP
151#if KYMO_PROFILE >= KYMO_PROFILE_XYZ
152#define KYMO_ENABLE_TIMESTAMP 1
154#define KYMO_ENABLE_TIMESTAMP 0
159#ifndef KYMO_ENABLE_CRC
160#define KYMO_ENABLE_CRC 0
171#ifndef KYMO_ENABLE_CRC_TABLE
172#define KYMO_ENABLE_CRC_TABLE 0
176#ifndef KYMO_ENABLE_DECODER
177#define KYMO_ENABLE_DECODER 0
183#ifndef KYMO_ENABLE_PARAMETERS
184#define KYMO_ENABLE_PARAMETERS 0
188#ifndef KYMO_ENABLE_WATCH
189#define KYMO_ENABLE_WATCH 0
199#ifndef KYMO_ENABLE_MEMORY
200#define KYMO_ENABLE_MEMORY 0
206#ifndef KYMO_ENABLE_TRACE
207#if KYMO_PROFILE == KYMO_PROFILE_TRACE
208#define KYMO_ENABLE_TRACE 1
210#define KYMO_ENABLE_TRACE 0
215#ifndef KYMO_ENABLE_TRACE_ISR
216#if KYMO_PROFILE == KYMO_PROFILE_TRACE
217#define KYMO_ENABLE_TRACE_ISR 1
219#define KYMO_ENABLE_TRACE_ISR 0
224#ifndef KYMO_ENABLE_TRACE_SCHEDULER
225#if KYMO_PROFILE == KYMO_PROFILE_TRACE
226#define KYMO_ENABLE_TRACE_SCHEDULER 1
228#define KYMO_ENABLE_TRACE_SCHEDULER 0
233#ifndef KYMO_ENABLE_TRACE_FLOW
234#if KYMO_PROFILE == KYMO_PROFILE_TRACE
235#define KYMO_ENABLE_TRACE_FLOW 1
237#define KYMO_ENABLE_TRACE_FLOW 0
250#ifndef KYMO_ENABLE_TRACE_STACK_POINTER
251#define KYMO_ENABLE_TRACE_STACK_POINTER 0
260#ifndef KYMO_MAX_CHANNELS
261#define KYMO_MAX_CHANNELS 16u
265#ifndef KYMO_TRACE_EVENTS_PER_CORE
266#define KYMO_TRACE_EVENTS_PER_CORE 64u
270#ifndef KYMO_TRACE_CORE_COUNT
271#define KYMO_TRACE_CORE_COUNT 1u
275#ifndef KYMO_TRACE_MAX_CONTEXTS
276#define KYMO_TRACE_MAX_CONTEXTS 16u
280#ifndef KYMO_TRACE_MAX_DEPTH
281#define KYMO_TRACE_MAX_DEPTH 32u
285#ifndef KYMO_TRACE_MAX_ISR_DEPTH
286#define KYMO_TRACE_MAX_ISR_DEPTH 8u
290#ifndef KYMO_MUX_ADMIN_RECORD_MAX
291#define KYMO_MUX_ADMIN_RECORD_MAX 512u
299#ifndef KYMO_MAX_PARAMETERS
300#define KYMO_MAX_PARAMETERS 8u
307#ifndef KYMO_MAX_WATCHES
308#define KYMO_MAX_WATCHES 8u
315#ifndef KYMO_WATCH_MIN_PERIOD_MS
316#define KYMO_WATCH_MIN_PERIOD_MS 5u
325#ifndef KYMO_MAX_MEMORY_ENTRIES
326#define KYMO_MAX_MEMORY_ENTRIES 8u
Validates the settings of kymo_config.h and derives KYMO_EFFECTIVE_*.
KymoCore library version and configuration contract version.