ProtoCore v0.0.1
Deterministic, zero-heap network stack for embedded targets
Loading...
Searching...
No Matches
classic_defaults.h File Reference

Classic ESP32 die profile + the universal conservative sizing floor. More...

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   0
 
#define PC_HW_DS   0
 
#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
 

Detailed Description

Classic ESP32 die profile + the universal conservative sizing floor.

Dual Xtensa LX6, 520 KB internal SRAM (~122 KB usable dram0_0_seg after IRAM/reserved), no PSRAM by default. This is the smallest usable-DRAM budget of the supported targets, so its sizing doubles as the floor every other chip profile includes last (they override upward). Sizing values match the library's historical flat defaults, so classic-ESP32 and host builds are unchanged.

The crypto-HW flags below are the classic ESP32's accelerator set (AES, SHA, RSA/MPI - no ECC/ECDSA/HMAC/DS). Every chip profile that includes this file as the floor first defines its OWN PC_HW_* flags, so these apply only to the classic-ESP32 (and, harmlessly, host) path. All macros are #ifndef-guarded, so a -D override or a richer variant profile always wins.

Definition in file classic_defaults.h.

Macro Definition Documentation

◆ PC_HW_AES

#define PC_HW_AES   1

Definition at line 25 of file classic_defaults.h.

◆ PC_HW_SHA

#define PC_HW_SHA   1

Definition at line 28 of file classic_defaults.h.

◆ PC_HW_RSA

#define PC_HW_RSA   1

Definition at line 31 of file classic_defaults.h.

◆ PC_HW_ECC

#define PC_HW_ECC   0

Definition at line 34 of file classic_defaults.h.

◆ PC_HW_ECDSA

#define PC_HW_ECDSA   0

Definition at line 37 of file classic_defaults.h.

◆ PC_HW_HMAC

#define PC_HW_HMAC   0

Definition at line 40 of file classic_defaults.h.

◆ PC_HW_DS

#define PC_HW_DS   0

Definition at line 43 of file classic_defaults.h.

◆ PC_EDGE_CACHE_SLOTS

#define PC_EDGE_CACHE_SLOTS   4

Definition at line 48 of file classic_defaults.h.

◆ PC_EDGE_BODY_MAX

#define PC_EDGE_BODY_MAX   2048

Definition at line 51 of file classic_defaults.h.

◆ PC_EDGE_FETCH_SLOTS

#define PC_EDGE_FETCH_SLOTS   2

Definition at line 54 of file classic_defaults.h.

◆ PC_MESH_MAX_PEERS

#define PC_MESH_MAX_PEERS   4

Definition at line 59 of file classic_defaults.h.

◆ PC_MESH_MAX_CONNS

#define PC_MESH_MAX_CONNS   1

Definition at line 62 of file classic_defaults.h.