Skip to content

Commit

Permalink
create boardstubs
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Feb 9, 2024
1 parent 1182106 commit dad3488
Show file tree
Hide file tree
Showing 179 changed files with 1,569 additions and 5,719 deletions.
28 changes: 0 additions & 28 deletions stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/_asyncio.py

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
from _typeshed import Incomplete as Incomplete
"""
Module: '_asyncio' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3
"""
# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': '1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'}
# Stubber: v1.17.0
from __future__ import annotations
from _typeshed import Incomplete

class TaskQueue:
def push(self, *args, **kwargs) -> Incomplete: ...
Expand Down
59 changes: 0 additions & 59 deletions stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/_espnow.py

This file was deleted.

18 changes: 12 additions & 6 deletions stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/_espnow.pyi
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
from _typeshed import Incomplete as Incomplete
"""
Module: '_espnow' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3
"""
# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': '1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'}
# Stubber: v1.17.0
from __future__ import annotations
from _typeshed import Incomplete

MAX_DATA_LEN: int
MAX_TOTAL_PEER_NUM: int
MAX_ENCRYPT_PEER_NUM: int
ADDR_LEN: int
KEY_LEN: int
MAX_DATA_LEN: int = 250
MAX_TOTAL_PEER_NUM: int = 20
MAX_ENCRYPT_PEER_NUM: int = 6
ADDR_LEN: int = 6
KEY_LEN: int = 16

class ESPNowBase:
def irq(self, *args, **kwargs) -> Incomplete: ...
Expand Down
30 changes: 0 additions & 30 deletions stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/_onewire.py

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
from _typeshed import Incomplete as Incomplete
"""
Module: '_onewire' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3
"""
# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': '1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'}
# Stubber: v1.17.0
from __future__ import annotations
from _typeshed import Incomplete

def reset(*args, **kwargs) -> Incomplete: ...
def writebyte(*args, **kwargs) -> Incomplete: ...
Expand Down
40 changes: 0 additions & 40 deletions stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/_thread.py

This file was deleted.

8 changes: 7 additions & 1 deletion stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/_thread.pyi
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
from _typeshed import Incomplete as Incomplete
"""
Module: '_thread' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3
"""
# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': '1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'}
# Stubber: v1.17.0
from __future__ import annotations
from _typeshed import Incomplete

def get_ident(*args, **kwargs) -> Incomplete: ...
def start_new_thread(*args, **kwargs) -> Incomplete: ...
Expand Down
63 changes: 0 additions & 63 deletions stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/aioespnow.py

This file was deleted.

30 changes: 20 additions & 10 deletions stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/aioespnow.pyi
Original file line number Diff line number Diff line change
@@ -1,23 +1,33 @@
from _typeshed import Incomplete as Incomplete
"""
Module: 'aioespnow' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3
"""
# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': '1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'}
# Stubber: v1.17.0
from __future__ import annotations
from typing import Generator
from _typeshed import Incomplete

class AIOESPNow:
_data: list = []
_none_tuple: tuple = ()
def peer_count(self, *args, **kwargs) -> Incomplete: ...
def recv(self, *args, **kwargs) -> Incomplete: ...
def mod_peer(self, *args, **kwargs) -> Incomplete: ...
def get_peers(self, *args, **kwargs) -> Incomplete: ...
def irecv(self, *args, **kwargs) -> Incomplete: ...
def stats(self, *args, **kwargs) -> Incomplete: ...
def recvinto(self, *args, **kwargs) -> Incomplete: ...
def set_pmk(self, *args, **kwargs) -> Incomplete: ...
def irecv(self, *args, **kwargs) -> Incomplete: ...
def get_peer(self, *args, **kwargs) -> Incomplete: ...
def active(self, *args, **kwargs) -> Incomplete: ...
def send(self, *args, **kwargs) -> Incomplete: ...
def any(self, *args, **kwargs) -> Incomplete: ...
def del_peer(self, *args, **kwargs) -> Incomplete: ...
def add_peer(self, *args, **kwargs) -> Incomplete: ...
def active(self, *args, **kwargs) -> Incomplete: ...
def send(self, *args, **kwargs) -> Incomplete: ...
def config(self, *args, **kwargs) -> Incomplete: ...
def get_peers(self, *args, **kwargs) -> Incomplete: ...
def get_peer(self, *args, **kwargs) -> Incomplete: ...
def del_peer(self, *args, **kwargs) -> Incomplete: ...
def irq(self, *args, **kwargs) -> Incomplete: ...
asend: Incomplete
arecv: Incomplete
airecv: Incomplete

asend: Generator ## = <generator>
arecv: Generator ## = <generator>
airecv: Generator ## = <generator>
def __init__(self, *argv, **kwargs) -> None: ...
32 changes: 0 additions & 32 deletions stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/apa106.py

This file was deleted.

12 changes: 9 additions & 3 deletions stubs/micropython-v1_22_0-esp32-ESP32_GENERIC_S3/apa106.pyi
Original file line number Diff line number Diff line change
@@ -1,13 +1,19 @@
from _typeshed import Incomplete as Incomplete
"""
Module: 'apa106' on micropython-v1.22.0-esp32-ESP32_GENERIC_S3
"""
# MCU: {'family': 'micropython', 'version': '1.22.0', 'build': '', 'ver': '1.22.0', 'port': 'esp32', 'board': 'ESP32_GENERIC_S3', 'cpu': 'ESP32S3', 'mpy': 'v6.2', 'arch': 'xtensawin'}
# Stubber: v1.17.0
from __future__ import annotations
from _typeshed import Incomplete

class NeoPixel:
ORDER: tuple
ORDER: tuple = ()
def write(self, *args, **kwargs) -> Incomplete: ...
def fill(self, *args, **kwargs) -> Incomplete: ...
def __init__(self, *argv, **kwargs) -> None: ...

class APA106:
ORDER: tuple
ORDER: tuple = ()
def write(self, *args, **kwargs) -> Incomplete: ...
def fill(self, *args, **kwargs) -> Incomplete: ...
def __init__(self, *argv, **kwargs) -> None: ...
Loading

0 comments on commit dad3488

Please sign in to comment.