ProtoCore v0.0.1
Deterministic, zero-heap network stack for embedded targets
Loading...
Searching...
No Matches
32mbpsram.h
Go to the documentation of this file.
1// Copyright (C) 2026 Douglas Quigg (dstroy0) <dquigg123@gmail.com>
2// SPDX-License-Identifier: AGPL-3.0-or-later
3
4/**
5 * @file 32mbpsram.h
6 * @brief 32 MB PSRAM profile - the largest RAM-backed pools.
7 *
8 * Included before the chip profile (wins for memory-bound sizes). Same PSRAM-resident caveat
9 * as 8mbpsram.h. `#ifndef`-guarded, so your -D overrides still win.
10 */
11
12#ifndef PROTOCORE_32MBPSRAM_H
13#define PROTOCORE_32MBPSRAM_H
14
15// PSRAM fitted: move the big TLS/HTTP-2/zlib pools off internal DRAM and raise concurrency.
16#ifndef PC_TLS_ARENA_IN_PSRAM
17#define PC_TLS_ARENA_IN_PSRAM 1
18#endif
19#ifndef PC_H2_POOL_IN_PSRAM
20#define PC_H2_POOL_IN_PSRAM 1
21#endif
22#ifndef PC_SSH_ZLIB_IN_PSRAM
23#define PC_SSH_ZLIB_IN_PSRAM 1
24#endif
25#ifndef MAX_TLS_CONNS
26#define MAX_TLS_CONNS 8
27#endif
28#ifndef PC_H2_MAX_STREAMS
29#define PC_H2_MAX_STREAMS 32
30#endif
31#ifndef PC_H3_MAX_STREAMS
32#define PC_H3_MAX_STREAMS 32
33#endif
34#ifndef PC_EDGE_CACHE_SLOTS
35#define PC_EDGE_CACHE_SLOTS 32
36#endif
37#ifndef PC_EDGE_BODY_MAX
38#define PC_EDGE_BODY_MAX 16384
39#endif
40
41#endif // PROTOCORE_32MBPSRAM_H