|
ProtoCore v0.0.1
Deterministic, zero-heap network stack for embedded targets
|
ESP32-S2 die profile - single Xtensa LX7, 320 KB SRAM, Wi-Fi 4 only (no Bluetooth). More...
#include "../classic_defaults.h"Go to the source code of this file.
Macros | |
| #define | PC_HW_AES 1 |
| #define | PC_HW_SHA 1 |
| #define | PC_HW_RSA 1 |
| #define | PC_HW_ECC 0 |
| #define | PC_HW_ECDSA 0 |
| #define | PC_HW_HMAC 1 |
| #define | PC_HW_DS 1 |
| #define | MAX_CONNS 8 |
| #define | RX_BUF_SIZE 1024 |
| #define | PC_SCRATCH_ARENA_SIZE 8192 |
| #define | PC_CLIENT_RX_BUF 4096 |
| #define | MAX_ROUTES 16 |
| #define | MAX_HEADERS 8 |
| #define | BODY_BUF_SIZE 256 |
| #define | MAX_WS_CONNS 2 |
| #define | MAX_SSE_CONNS 2 |
| #define | MAX_TLS_CONNS 1 |
| #define | MAX_SSH_CONNS 1 |
| #define | PC_SSH_MAX_CHANNELS 2 |
| #define | PC_SSH_CLIENT_MAX_CHANNELS 2 |
| #define | PC_EDGE_CACHE_SLOTS 4 |
| #define | PC_EDGE_BODY_MAX 2048 |
| #define | PC_EDGE_FETCH_SLOTS 2 |
| #define | PC_MESH_MAX_PEERS 4 |
| #define | PC_MESH_MAX_CONNS 1 |
ESP32-S2 die profile - single Xtensa LX7, 320 KB SRAM, Wi-Fi 4 only (no Bluetooth).
Single core and 320 KB SRAM (tighter than the classic ESP32's usable DRAM), so it stays at the conservative floor - no sizing bump. Native USB-OTG; the only radio is Wi-Fi 4 (no Bluetooth at all). Crypto HW: AES, SHA, RSA/MPI, HMAC, DS (no ECC/ECDSA). Supports external PSRAM (2 MB in the in-package R2 parts). classic_defaults.h is the sizing floor; every macro is #ifndef-guarded.
Definition in file s2_defaults.h.
| #define PC_HW_AES 1 |
Definition at line 19 of file s2_defaults.h.
| #define PC_HW_SHA 1 |
Definition at line 22 of file s2_defaults.h.
| #define PC_HW_RSA 1 |
Definition at line 25 of file s2_defaults.h.
| #define PC_HW_ECC 0 |
Definition at line 28 of file s2_defaults.h.
| #define PC_HW_ECDSA 0 |
Definition at line 31 of file s2_defaults.h.
| #define PC_HW_HMAC 1 |
Definition at line 34 of file s2_defaults.h.
| #define PC_HW_DS 1 |
Definition at line 37 of file s2_defaults.h.
| #define MAX_CONNS 8 |
Definition at line 46 of file s2_defaults.h.
| #define RX_BUF_SIZE 1024 |
Definition at line 49 of file s2_defaults.h.
| #define PC_SCRATCH_ARENA_SIZE 8192 |
Definition at line 52 of file s2_defaults.h.
| #define PC_CLIENT_RX_BUF 4096 |
Definition at line 55 of file s2_defaults.h.
| #define MAX_ROUTES 16 |
Definition at line 60 of file s2_defaults.h.
| #define MAX_HEADERS 8 |
Definition at line 63 of file s2_defaults.h.
| #define BODY_BUF_SIZE 256 |
Definition at line 66 of file s2_defaults.h.
| #define MAX_WS_CONNS 2 |
Definition at line 71 of file s2_defaults.h.
| #define MAX_SSE_CONNS 2 |
Definition at line 74 of file s2_defaults.h.
| #define MAX_TLS_CONNS 1 |
Definition at line 79 of file s2_defaults.h.
| #define MAX_SSH_CONNS 1 |
Definition at line 84 of file s2_defaults.h.
| #define PC_SSH_MAX_CHANNELS 2 |
Definition at line 87 of file s2_defaults.h.
| #define PC_SSH_CLIENT_MAX_CHANNELS 2 |
Definition at line 90 of file s2_defaults.h.
| #define PC_EDGE_CACHE_SLOTS 4 |
Definition at line 95 of file s2_defaults.h.
| #define PC_EDGE_BODY_MAX 2048 |
Definition at line 98 of file s2_defaults.h.
| #define PC_EDGE_FETCH_SLOTS 2 |
Definition at line 101 of file s2_defaults.h.
| #define PC_MESH_MAX_PEERS 4 |
Definition at line 104 of file s2_defaults.h.
| #define PC_MESH_MAX_CONNS 1 |
Definition at line 107 of file s2_defaults.h.