Kernel Subsystem Architecture
Loaded kernel drivers and public API header mappings.
1. KryptHAL (Hardware Abstraction Layer)
DRIVER: hal_coreHandles direct hardware telemetry, core CPU speed adjustments, RAM allocations, and NVS persistence.
// Header Interface: KryptHAL.h
uint32_t getFreeRAM();
uint8_t getCpuFrequency();
bool setKeyString(const char* ns, const char* key, String val);
uint32_t getFreeRAM();
uint8_t getCpuFrequency();
bool setKeyString(const char* ns, const char* key, String val);
2. KryptFS (Filesystem Driver)
DRIVER: vfs_littlefsLow-level Virtual File System abstraction over LittleFS flash partition.
// Header Interface: KryptFS.h
bool boot();
String resolvePath(String current, String target);
bool removeEntry(String path);
bool boot();
String resolvePath(String current, String target);
bool removeEntry(String path);
3. KryptTask (Process Scheduler)
DRIVER: rtos_schedWraps FreeRTOS tasks to execute asynchronous loops pinned to dedicated dual-core processors.
// Header Interface: KryptTask.h
void createTask(TaskFunction_t func, const char* name, uint32_t stack, int core);
void deleteTask(const char* name);
void createTask(TaskFunction_t func, const char* name, uint32_t stack, int core);
void deleteTask(const char* name);
4. KryptNet (Network Stack)
DRIVER: net_stackManages network interfaces, auto-reconnection daemons, and HTTP GET fetch operations.
// Header Interface: KryptNet.h
bool connect(String ssid, String pass, uint32_t timeoutMs);
int fetchURL(String url, String &payload);
bool connect(String ssid, String pass, uint32_t timeoutMs);
int fetchURL(String url, String &payload);