ProtoCore
v0.0.1
Deterministic, zero-heap network stack for embedded targets
Loading...
Searching...
No Matches
2mbpsram.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 2mbpsram.h
6
* @brief 2 MB PSRAM profile - the smallest external-RAM step (e.g. classic WROVER, some C-series).
7
*
8
* Included before the chip profile (wins for memory-bound sizes). A modest lift over the no-PSRAM
9
* floor; the larger PSRAM profiles scale further. Same PSRAM-resident caveat as 8mbpsram.h: the
10
* internal DRAM budget still bounds the L1 slot count until an edge-cache PSRAM placement lands.
11
* `#ifndef`-guarded, so your -D overrides still win.
12
*/
13
14
#ifndef PROTOCORE_2MBPSRAM_H
15
#define PROTOCORE_2MBPSRAM_H
16
17
// PSRAM fitted: move the big TLS/HTTP-2/zlib pools off internal DRAM and raise concurrency.
18
#ifndef PC_TLS_ARENA_IN_PSRAM
19
#define PC_TLS_ARENA_IN_PSRAM 1
20
#endif
21
#ifndef PC_H2_POOL_IN_PSRAM
22
#define PC_H2_POOL_IN_PSRAM 1
23
#endif
24
#ifndef PC_SSH_ZLIB_IN_PSRAM
25
#define PC_SSH_ZLIB_IN_PSRAM 1
26
#endif
27
#ifndef MAX_TLS_CONNS
28
#define MAX_TLS_CONNS 3
29
#endif
30
31
#endif
// PROTOCORE_2MBPSRAM_H
src
board_drivers
board_profiles
esp
2mbpsram.h
Generated by
1.9.8