mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-02-19 03:13:14 +00:00
* **Refactor** * GPIO subsystem moved to a descriptor-based model for per-pin ownership and runtime pin management; many platform drivers now acquire/release descriptors. * Device trees and drivers now use GPIO phandle-style pin specifications across all boards and all drivers. * **Behavior** * Device list now encodes per-device status (ok/disabled); boot will skip disabled devices accordingly. * **Deprecation** * Legacy GPIO HAL marked deprecated and replaced with descriptor-based interfaces. * **Chores** * Bindings and platform configs updated to the new GPIO pin-spec format.
23 lines
407 B
C
23 lines
407 B
C
// SPDX-License-Identifier: Apache-2.0
|
|
#pragma once
|
|
|
|
#include <driver/uart.h>
|
|
#include <tactility/drivers/uart_controller.h>
|
|
#include <tactility/drivers/gpio.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
struct Esp32UartConfig {
|
|
uart_port_t port;
|
|
struct GpioPinSpec pin_tx;
|
|
struct GpioPinSpec pin_rx;
|
|
struct GpioPinSpec pin_cts;
|
|
struct GpioPinSpec pin_rts;
|
|
};
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|