CMSIS-MCP  Version 0.0.0
Embedded MCP server with serial transport
 
Loading...
Searching...
No Matches
c_mcp_config.h
Go to the documentation of this file.
1#ifndef C_MCP_CONFIG_H
2#define C_MCP_CONFIG_H
3
4// <<< Use Configuration Wizard in Context Menu >>>
5// <o> Request arena size in bytes <1024-1048576>
6// <i> Parsing, callback output and serialization share this bounded arena.
7// <i> Persistent metadata and response templates use the startup heap.
8#ifndef C_MCP_ARENA_SIZE
9#define C_MCP_ARENA_SIZE 32768
10#endif
11// <e> Enable read-only virtual files as MCP resources
12// <i> Set to 0 to omit resource registries, schemas and request handlers.
13#ifndef C_MCP_ENABLE_VFS
14#define C_MCP_ENABLE_VFS 1
15#endif
16// </e>
17// <e> Enable the portable serial input loop
18// <i> Disable when the application provides its own line parser/input loop.
19// <i> I/O functions remain available even when the input loop is disabled.
20#ifndef C_MCP_ENABLE_SERIAL_LOOP
21#define C_MCP_ENABLE_SERIAL_LOOP 1
22#endif
23// <o> Serial input line buffer size in bytes <64-1048576>
24// <i> Includes the terminating null byte. Oversized/damaged lines are discarded.
25#ifndef C_MCP_SERIAL_LINE_SIZE
26#define C_MCP_SERIAL_LINE_SIZE 4096
27#endif
28// </e>
29// <<< end of configuration section >>>
30
31#endif