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

ESP32-C6 die profile - RISC-V HP + LP core, 512 KB SRAM, Wi-Fi 6 + BLE 5 + 802.15.4. 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   0
 
#define PC_HW_HMAC   1
 
#define PC_HW_DS   1
 
#define MAX_CONNS   12
 
#define RX_BUF_SIZE   1536
 
#define PC_SCRATCH_ARENA_SIZE   10240
 
#define PC_CLIENT_RX_BUF   8192
 
#define MAX_ROUTES   24
 
#define MAX_HEADERS   12
 
#define BODY_BUF_SIZE   512
 
#define MAX_WS_CONNS   4
 
#define MAX_SSE_CONNS   4
 
#define MAX_TLS_CONNS   1
 
#define MAX_SSH_CONNS   2
 
#define PC_SSH_MAX_CHANNELS   4
 
#define PC_SSH_CLIENT_MAX_CHANNELS   4
 
#define PC_EDGE_CACHE_SLOTS   6
 
#define PC_EDGE_BODY_MAX   4096
 
#define PC_EDGE_FETCH_SLOTS   3
 
#define PC_MESH_MAX_PEERS   6
 
#define PC_MESH_MAX_CONNS   1
 

Detailed Description

ESP32-C6 die profile - RISC-V HP + LP core, 512 KB SRAM, Wi-Fi 6 + BLE 5 + 802.15.4.

Wi-Fi 6 with Thread/Zigbee (802.15.4) and a low-power core - a Matter-class part. 512 KB HP SRAM with a roomy usable-DRAM map, so a small bump over the floor. Crypto HW: AES, SHA, RSA/MPI, ECC, HMAC, DS - but NO ECDSA accelerator (unlike C5/H2/P4). No PSRAM. classic_defaults.h is the sizing floor; every macro is #ifndef-guarded.

Definition in file c6_defaults.h.

Macro Definition Documentation

◆ PC_HW_AES

#define PC_HW_AES   1

Definition at line 19 of file c6_defaults.h.

◆ PC_HW_SHA

#define PC_HW_SHA   1

Definition at line 22 of file c6_defaults.h.

◆ PC_HW_RSA

#define PC_HW_RSA   1

Definition at line 25 of file c6_defaults.h.

◆ PC_HW_ECC

#define PC_HW_ECC   1

Definition at line 28 of file c6_defaults.h.

◆ PC_HW_ECDSA

#define PC_HW_ECDSA   0

Definition at line 31 of file c6_defaults.h.

◆ PC_HW_HMAC

#define PC_HW_HMAC   1

Definition at line 34 of file c6_defaults.h.

◆ PC_HW_DS

#define PC_HW_DS   1

Definition at line 37 of file c6_defaults.h.

◆ MAX_CONNS

#define MAX_CONNS   12

Definition at line 46 of file c6_defaults.h.

◆ RX_BUF_SIZE

#define RX_BUF_SIZE   1536

Definition at line 49 of file c6_defaults.h.

◆ PC_SCRATCH_ARENA_SIZE

#define PC_SCRATCH_ARENA_SIZE   10240

Definition at line 52 of file c6_defaults.h.

◆ PC_CLIENT_RX_BUF

#define PC_CLIENT_RX_BUF   8192

Definition at line 55 of file c6_defaults.h.

◆ MAX_ROUTES

#define MAX_ROUTES   24

Definition at line 60 of file c6_defaults.h.

◆ MAX_HEADERS

#define MAX_HEADERS   12

Definition at line 63 of file c6_defaults.h.

◆ BODY_BUF_SIZE

#define BODY_BUF_SIZE   512

Definition at line 66 of file c6_defaults.h.

◆ MAX_WS_CONNS

#define MAX_WS_CONNS   4

Definition at line 71 of file c6_defaults.h.

◆ MAX_SSE_CONNS

#define MAX_SSE_CONNS   4

Definition at line 74 of file c6_defaults.h.

◆ MAX_TLS_CONNS

#define MAX_TLS_CONNS   1

Definition at line 79 of file c6_defaults.h.

◆ MAX_SSH_CONNS

#define MAX_SSH_CONNS   2

Definition at line 84 of file c6_defaults.h.

◆ PC_SSH_MAX_CHANNELS

#define PC_SSH_MAX_CHANNELS   4

Definition at line 87 of file c6_defaults.h.

◆ PC_SSH_CLIENT_MAX_CHANNELS

#define PC_SSH_CLIENT_MAX_CHANNELS   4

Definition at line 90 of file c6_defaults.h.

◆ PC_EDGE_CACHE_SLOTS

#define PC_EDGE_CACHE_SLOTS   6

Definition at line 95 of file c6_defaults.h.

◆ PC_EDGE_BODY_MAX

#define PC_EDGE_BODY_MAX   4096

Definition at line 98 of file c6_defaults.h.

◆ PC_EDGE_FETCH_SLOTS

#define PC_EDGE_FETCH_SLOTS   3

Definition at line 101 of file c6_defaults.h.

◆ PC_MESH_MAX_PEERS

#define PC_MESH_MAX_PEERS   6

Definition at line 104 of file c6_defaults.h.

◆ PC_MESH_MAX_CONNS

#define PC_MESH_MAX_CONNS   1

Definition at line 107 of file c6_defaults.h.