mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-02-18 19:03:16 +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.
19 lines
296 B
C++
19 lines
296 B
C++
#include "tt_hal_gpio.h"
|
|
#include <Tactility/hal/gpio/Gpio.h>
|
|
#include <tactility/device.h>
|
|
#include <tactility/drivers/gpio_controller.h>
|
|
|
|
extern "C" {
|
|
|
|
using namespace tt::hal;
|
|
|
|
bool tt_hal_gpio_get_level(GpioPin pin) {
|
|
return false;
|
|
}
|
|
|
|
int tt_hal_gpio_get_pin_count() {
|
|
return 0;
|
|
}
|
|
|
|
}
|