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

ESP32-P4 die profile - dual RISC-V + FPU up to 400 MHz, 768 KB L2MEM, no radio. 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   1
 
#define PC_HW_ECDSA   1
 
#define PC_HW_HMAC   1
 
#define PC_HW_DS   1
 
#define MAX_CONNS   16
 
#define RX_BUF_SIZE   2048
 
#define PC_SCRATCH_ARENA_SIZE   16384
 
#define PC_CLIENT_RX_BUF   8192
 
#define MAX_ROUTES   48
 
#define MAX_HEADERS   24
 
#define BODY_BUF_SIZE   2048
 
#define MAX_WS_CONNS   8
 
#define MAX_SSE_CONNS   8
 
#define MAX_TLS_CONNS   1
 
#define MAX_SSH_CONNS   3
 
#define PC_SSH_MAX_CHANNELS   6
 
#define PC_SSH_CLIENT_MAX_CHANNELS   8
 
#define PC_EDGE_CACHE_SLOTS   12
 
#define PC_EDGE_BODY_MAX   8192
 
#define PC_EDGE_FETCH_SLOTS   4
 
#define PC_MESH_MAX_PEERS   8
 
#define PC_MESH_MAX_CONNS   2
 

Detailed Description

ESP32-P4 die profile - dual RISC-V + FPU up to 400 MHz, 768 KB L2MEM, no radio.

The high-performance host MCU: dual RISC-V with FPU/AI, MIPI-CSI/DSI, USB-HS, and the largest internal SRAM (768 KB L2MEM). It has NO built-in radio (pairs with a companion Wi-Fi/BT chip), and is commonly fitted with high-bandwidth PSRAM up to 32 MB (a PSRAM profile, included first, scales further). Full crypto HW: AES, SHA, RSA/MPI (4096-bit), ECC, ECDSA, HMAC, DS. classic_defaults.h is the sizing floor; every macro is #ifndef-guarded.

Definition in file p4_defaults.h.

Macro Definition Documentation

◆ PC_HW_AES

#define PC_HW_AES   1

Definition at line 20 of file p4_defaults.h.

◆ PC_HW_SHA

#define PC_HW_SHA   1

Definition at line 23 of file p4_defaults.h.

◆ PC_HW_RSA

#define PC_HW_RSA   1

Definition at line 26 of file p4_defaults.h.

◆ PC_HW_ECC

#define PC_HW_ECC   1

Definition at line 29 of file p4_defaults.h.

◆ PC_HW_ECDSA

#define PC_HW_ECDSA   1

Definition at line 32 of file p4_defaults.h.

◆ PC_HW_HMAC

#define PC_HW_HMAC   1

Definition at line 35 of file p4_defaults.h.

◆ PC_HW_DS

#define PC_HW_DS   1

Definition at line 38 of file p4_defaults.h.

◆ MAX_CONNS

#define MAX_CONNS   16

Definition at line 47 of file p4_defaults.h.

◆ RX_BUF_SIZE

#define RX_BUF_SIZE   2048

Definition at line 50 of file p4_defaults.h.

◆ PC_SCRATCH_ARENA_SIZE

#define PC_SCRATCH_ARENA_SIZE   16384

Definition at line 53 of file p4_defaults.h.

◆ PC_CLIENT_RX_BUF

#define PC_CLIENT_RX_BUF   8192

Definition at line 56 of file p4_defaults.h.

◆ MAX_ROUTES

#define MAX_ROUTES   48

Definition at line 61 of file p4_defaults.h.

◆ MAX_HEADERS

#define MAX_HEADERS   24

Definition at line 64 of file p4_defaults.h.

◆ BODY_BUF_SIZE

#define BODY_BUF_SIZE   2048

Definition at line 67 of file p4_defaults.h.

◆ MAX_WS_CONNS

#define MAX_WS_CONNS   8

Definition at line 72 of file p4_defaults.h.

◆ MAX_SSE_CONNS

#define MAX_SSE_CONNS   8

Definition at line 75 of file p4_defaults.h.

◆ MAX_TLS_CONNS

#define MAX_TLS_CONNS   1

Definition at line 80 of file p4_defaults.h.

◆ MAX_SSH_CONNS

#define MAX_SSH_CONNS   3

Definition at line 85 of file p4_defaults.h.

◆ PC_SSH_MAX_CHANNELS

#define PC_SSH_MAX_CHANNELS   6

Definition at line 88 of file p4_defaults.h.

◆ PC_SSH_CLIENT_MAX_CHANNELS

#define PC_SSH_CLIENT_MAX_CHANNELS   8

Definition at line 91 of file p4_defaults.h.

◆ PC_EDGE_CACHE_SLOTS

#define PC_EDGE_CACHE_SLOTS   12

Definition at line 96 of file p4_defaults.h.

◆ PC_EDGE_BODY_MAX

#define PC_EDGE_BODY_MAX   8192

Definition at line 99 of file p4_defaults.h.

◆ PC_EDGE_FETCH_SLOTS

#define PC_EDGE_FETCH_SLOTS   4

Definition at line 102 of file p4_defaults.h.

◆ PC_MESH_MAX_PEERS

#define PC_MESH_MAX_PEERS   8

Definition at line 105 of file p4_defaults.h.

◆ PC_MESH_MAX_CONNS

#define PC_MESH_MAX_CONNS   2

Definition at line 108 of file p4_defaults.h.