[Jetson.GPIO] Update to ~=2.1.11 (#14647)

This commit is contained in:
Semyon Moroz
2025-08-26 08:50:31 +00:00
committed by GitHub
parent 7aa7cc914f
commit bc1737a300
3 changed files with 29 additions and 25 deletions
+2 -2
View File
@@ -44,9 +44,9 @@ def add_event_detect(
edge: Literal[31, 32, 33],
callback: Callable[[int], None] | None = ...,
bouncetime: int | None = ...,
polltime: float = ...,
polltime: float = 0.2,
) -> None: ...
def remove_event_detect(channel: int, timeout: float = ...) -> None: ...
def remove_event_detect(channel: int, timeout: float = 0.5) -> None: ...
def event_detected(channel: int) -> bool: ...
def add_event_callback(channel: int, callback: Callable[[int], None]) -> None: ...
def wait_for_edge(
+26 -22
View File
@@ -11,45 +11,49 @@ JETSON_TX2_NX: Final = "JETSON_TX2_NX"
JETSON_ORIN: Final = "JETSON_ORIN"
JETSON_ORIN_NX: Final = "JETSON_ORIN_NX"
JETSON_ORIN_NANO: Final = "JETSON_ORIN_NANO"
JETSON_THOR_REFERENCE: Final = "JETSON_THOR_REFERENCE"
JETSON_MODELS: list[str] = ...
JETSON_MODELS: list[str]
JETSON_ORIN_NX_PIN_DEFS: list[tuple[int, str, str, int, int, str, str, str | None, int | None]] = ...
compats_jetson_orins_nx: Sequence[str] = ...
compats_jetson_orins_nano: Sequence[str] = ...
JETSON_ORIN_NX_PIN_DEFS: list[tuple[int, str, str, int, int, str, str, str | None, int | None]]
compats_jetson_orins_nx: Sequence[str]
compats_jetson_orins_nano: Sequence[str]
JETSON_ORIN_PIN_DEFS: list[tuple[int, str, str, int, int, str, str, str | None, int | None]] = ...
compats_jetson_orins: Sequence[str] = ...
JETSON_ORIN_PIN_DEFS: list[tuple[int, str, str, int, int, str, str, str | None, int | None]]
compats_jetson_orins: Sequence[str]
CLARA_AGX_XAVIER_PIN_DEFS: list[tuple[int, str, str, int, int, str, str, str | None, int | None]] = ...
compats_clara_agx_xavier: Sequence[str] = ...
CLARA_AGX_XAVIER_PIN_DEFS: list[tuple[int, str, str, int, int, str, str, str | None, int | None]]
compats_clara_agx_xavier: Sequence[str]
JETSON_NX_PIN_DEFS: list[tuple[int, str, str, int, int, str, str, str | None, int | None]] = ...
compats_nx: Sequence[str] = ...
JETSON_NX_PIN_DEFS: list[tuple[int, str, str, int, int, str, str, str | None, int | None]]
compats_nx: Sequence[str]
JETSON_XAVIER_PIN_DEFS: list[tuple[int, str, str, int, int, str, str, str | None, int | None]] = ...
compats_xavier: Sequence[str] = ...
JETSON_XAVIER_PIN_DEFS: list[tuple[int, str, str, int, int, str, str, str | None, int | None]]
compats_xavier: Sequence[str]
JETSON_TX2_NX_PIN_DEFS: list[tuple[int, str, str, int, int, str, str, str | None, int | None]] = ...
compats_tx2_nx: Sequence[str] = ...
JETSON_TX2_NX_PIN_DEFS: list[tuple[int, str, str, int, int, str, str, str | None, int | None]]
compats_tx2_nx: Sequence[str]
JETSON_TX2_PIN_DEFS: list[tuple[int, str, str, int, int, str, str, str | None, int | None]] = ...
compats_tx2: Sequence[str] = ...
JETSON_TX2_PIN_DEFS: list[tuple[int, str, str, int, int, str, str, str | None, int | None]]
compats_tx2: Sequence[str]
JETSON_TX1_PIN_DEFS: list[tuple[int, str, str, int, int, str, str, str | None, int | None]] = ...
compats_tx1: Sequence[str] = ...
JETSON_TX1_PIN_DEFS: list[tuple[int, str, str, int, int, str, str, str | None, int | None]]
compats_tx1: Sequence[str]
JETSON_NANO_PIN_DEFS: list[tuple[int, str, str, int, int, str, str, str | None, int | None]] = ...
compats_nano: Sequence[str] = ...
JETSON_NANO_PIN_DEFS: list[tuple[int, str, str, int, int, str, str, str | None, int | None]]
compats_nano: Sequence[str]
jetson_gpio_data: dict[str, tuple[list[tuple[int, str, str, int, int, str, str, str | None, int | None]], dict[str, Any]]] = ...
JETSON_THOR_REFERENCE_PIN_DEFS: list[tuple[int, str, str, int, int, str, str, str | None, int | None]]
compats_jetson_thor_reference: Sequence[str]
jetson_gpio_data: dict[str, tuple[list[tuple[int, str, str, int, int, str, str, str | None, int | None]], dict[str, Any]]]
class ChannelInfo:
def __init__(
self, channel: int, line_offset: int, gpio_name: str, gpio_chip: str, pwm_chip_dir: str, pwm_id: int
) -> None: ...
ids_warned: bool = ...
ids_warned: bool
def find_pmgr_board(prefix: str) -> str | None: ...
def warn_if_not_carrier_board(*carrier_boards: str) -> None: ...
+1 -1
View File
@@ -1,2 +1,2 @@
version = "2.1.*"
version = "~=2.1.11"
upstream_repository = "https://github.com/NVIDIA/jetson-gpio"