TactilityKernel improvements (#464)
* **New Features** * Thread API with lifecycle, priority, affinity and state monitoring * Timer subsystem: one-shot/periodic timers, reset, pending callbacks, expiry queries * Expanded I²C: register-level ops, bulk writes, presence checks, ESP32 integration and new config properties * GPIO controller: pin level and options APIs * Error utilities: new error code, error-to-string, timeout helper and common macros * Device construction helpers (construct+start) * **Tests** * New unit tests for thread and timer behavior * **Documentation** * Expanded coding style guide (files/folders, C conventions)
This commit is contained in:
committed by
GitHub
parent
f6ddb14ec1
commit
71f8369377
@@ -11,6 +11,10 @@ error_t esp_err_to_error(esp_err_t error) {
|
||||
return ERROR_INVALID_STATE;
|
||||
case ESP_ERR_TIMEOUT:
|
||||
return ERROR_TIMEOUT;
|
||||
case ESP_ERR_NO_MEM:
|
||||
return ERROR_OUT_OF_MEMORY;
|
||||
case ESP_ERR_NOT_SUPPORTED:
|
||||
return ERROR_NOT_SUPPORTED;
|
||||
default:
|
||||
return ERROR_UNDEFINED;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user