Skip to content

Commit f1d3072

Browse files
committed
2 parents ac6afbd + eda7d1a commit f1d3072

File tree

261 files changed

+3313
-4586
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

261 files changed

+3313
-4586
lines changed

data/all_packages.db

0 Bytes
Binary file not shown.

docs/firmware_flat.md

Lines changed: 76 additions & 1 deletion
Large diffs are not rendered by default.

docs/firmware_grp.md

Lines changed: 76 additions & 1 deletion
Large diffs are not rendered by default.

publish/micropython-v1_25_0-esp32-esp32_generic-stubs/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ For an overview of Micropython Stubs please see: https://micropython-stubs.read
3030

3131
Included stubs:
3232
* Merged stubs from `stubs/micropython-v1_25_0-esp32-ESP32_GENERIC-merged`
33+
* Frozen stubs from `stubs/micropython-v1_25_0-frozen/esp32/GENERIC`
3334
* Core stubs from `stubs/micropython-core`
3435

3536

publish/micropython-v1_25_0-esp32-esp32_generic-stubs/_boot.pyi

Whitespace-only changes.
Lines changed: 11 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,12 @@
1-
"""
2-
Module: 'aioespnow' on micropython-v1.25.0-esp32-ESP32_GENERIC-SPIRAM
3-
"""
4-
5-
# MCU: {'variant': 'SPIRAM', 'build': '', 'arch': 'xtensawin', 'port': 'esp32', 'board': 'ESP32_GENERIC', 'board_id': 'ESP32_GENERIC-SPIRAM', 'mpy': 'v6.3', 'ver': '1.25.0', 'family': 'micropython', 'cpu': 'ESP32', 'version': '1.25.0'}
6-
# Stubber: v1.25.0
7-
from __future__ import annotations
8-
from typing import Generator
1+
import espnow
92
from _typeshed import Incomplete
10-
11-
class AIOESPNow:
12-
_data: list = []
13-
_none_tuple: tuple = ()
14-
def peer_count(self, *args, **kwargs) -> Incomplete: ...
15-
def recv(self, *args, **kwargs) -> Incomplete: ...
16-
def mod_peer(self, *args, **kwargs) -> Incomplete: ...
17-
def irecv(self, *args, **kwargs) -> Incomplete: ...
18-
def stats(self, *args, **kwargs) -> Incomplete: ...
19-
def recvinto(self, *args, **kwargs) -> Incomplete: ...
20-
def set_pmk(self, *args, **kwargs) -> Incomplete: ...
21-
def any(self, *args, **kwargs) -> Incomplete: ...
22-
def add_peer(self, *args, **kwargs) -> Incomplete: ...
23-
def active(self, *args, **kwargs) -> Incomplete: ...
24-
def send(self, *args, **kwargs) -> Incomplete: ...
25-
def config(self, *args, **kwargs) -> Incomplete: ...
26-
def get_peers(self, *args, **kwargs) -> Incomplete: ...
27-
def get_peer(self, *args, **kwargs) -> Incomplete: ...
28-
def del_peer(self, *args, **kwargs) -> Incomplete: ...
29-
def irq(self, *args, **kwargs) -> Incomplete: ...
30-
def asend(*args, **kwargs) -> Generator: ## = <generator>
31-
...
32-
33-
def arecv(*args, **kwargs) -> Generator: ## = <generator>
34-
...
35-
36-
def airecv(*args, **kwargs) -> Generator: ## = <generator>
37-
...
38-
39-
def __init__(self, *argv, **kwargs) -> None: ...
3+
from collections.abc import Generator
4+
5+
class AIOESPNow(espnow.ESPNow):
6+
async def arecv(self) -> Generator[Incomplete, None, Incomplete]: ...
7+
async def airecv(self) -> Generator[Incomplete, None, Incomplete]: ...
8+
async def asend(
9+
self, mac, msg: Incomplete | None = None, sync: Incomplete | None = None
10+
) -> Generator[Incomplete, None, Incomplete]: ...
11+
def __aiter__(self): ...
12+
async def __anext__(self): ...
Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,5 @@
1-
"""
2-
Module: 'apa106' on micropython-v1.25.0-esp32-ESP32_GENERIC-SPIRAM
3-
"""
4-
5-
# MCU: {'variant': 'SPIRAM', 'build': '', 'arch': 'xtensawin', 'port': 'esp32', 'board': 'ESP32_GENERIC', 'board_id': 'ESP32_GENERIC-SPIRAM', 'mpy': 'v6.3', 'ver': '1.25.0', 'family': 'micropython', 'cpu': 'ESP32', 'version': '1.25.0'}
6-
# Stubber: v1.25.0
7-
from __future__ import annotations
81
from _typeshed import Incomplete
2+
from neopixel import NeoPixel
93

10-
class NeoPixel:
11-
ORDER: tuple = ()
12-
def write(self, *args, **kwargs) -> Incomplete: ...
13-
def fill(self, *args, **kwargs) -> Incomplete: ...
14-
def __init__(self, *argv, **kwargs) -> None: ...
15-
16-
class APA106:
17-
ORDER: tuple = ()
18-
def write(self, *args, **kwargs) -> Incomplete: ...
19-
def fill(self, *args, **kwargs) -> Incomplete: ...
20-
def __init__(self, *argv, **kwargs) -> None: ...
4+
class APA106(NeoPixel):
5+
ORDER: Incomplete
Lines changed: 12 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,15 @@
1-
"""
2-
Module: 'dht' on micropython-v1.25.0-esp32-ESP32_GENERIC-SPIRAM
3-
"""
4-
5-
# MCU: {'variant': 'SPIRAM', 'build': '', 'arch': 'xtensawin', 'port': 'esp32', 'board': 'ESP32_GENERIC', 'board_id': 'ESP32_GENERIC-SPIRAM', 'mpy': 'v6.3', 'ver': '1.25.0', 'family': 'micropython', 'cpu': 'ESP32', 'version': '1.25.0'}
6-
# Stubber: v1.25.0
7-
from __future__ import annotations
81
from _typeshed import Incomplete
92

10-
def dht_readinto(*args, **kwargs) -> Incomplete: ...
11-
123
class DHTBase:
13-
def measure(self, *args, **kwargs) -> Incomplete: ...
14-
def __init__(self, *argv, **kwargs) -> None: ...
15-
16-
class DHT22:
17-
def measure(self, *args, **kwargs) -> Incomplete: ...
18-
def temperature(self, *args, **kwargs) -> Incomplete: ...
19-
def humidity(self, *args, **kwargs) -> Incomplete: ...
20-
def __init__(self, *argv, **kwargs) -> None: ...
21-
22-
class DHT11:
23-
def measure(self, *args, **kwargs) -> Incomplete: ...
24-
def temperature(self, *args, **kwargs) -> Incomplete: ...
25-
def humidity(self, *args, **kwargs) -> Incomplete: ...
26-
def __init__(self, *argv, **kwargs) -> None: ...
4+
pin: Incomplete
5+
buf: Incomplete
6+
def __init__(self, pin) -> None: ...
7+
def measure(self) -> None: ...
8+
9+
class DHT11(DHTBase):
10+
def humidity(self): ...
11+
def temperature(self): ...
12+
13+
class DHT22(DHTBase):
14+
def humidity(self): ...
15+
def temperature(self): ...
Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,16 @@
1-
"""
2-
Module: 'ds18x20' on micropython-v1.25.0-esp32-ESP32_GENERIC-SPIRAM
3-
"""
4-
5-
# MCU: {'variant': 'SPIRAM', 'build': '', 'arch': 'xtensawin', 'port': 'esp32', 'board': 'ESP32_GENERIC', 'board_id': 'ESP32_GENERIC-SPIRAM', 'mpy': 'v6.3', 'ver': '1.25.0', 'family': 'micropython', 'cpu': 'ESP32', 'version': '1.25.0'}
6-
# Stubber: v1.25.0
7-
from __future__ import annotations
81
from _typeshed import Incomplete
2+
from micropython import const as const
93

10-
def const(*args, **kwargs) -> Incomplete: ...
4+
_CONVERT: int
5+
_RD_SCRATCH: int
6+
_WR_SCRATCH: int
117

128
class DS18X20:
13-
def read_scratch(self, *args, **kwargs) -> Incomplete: ...
14-
def read_temp(self, *args, **kwargs) -> Incomplete: ...
15-
def write_scratch(self, *args, **kwargs) -> Incomplete: ...
16-
def convert_temp(self, *args, **kwargs) -> Incomplete: ...
17-
def scan(self, *args, **kwargs) -> Incomplete: ...
18-
def __init__(self, *argv, **kwargs) -> None: ...
9+
ow: Incomplete
10+
buf: Incomplete
11+
def __init__(self, onewire) -> None: ...
12+
def scan(self): ...
13+
def convert_temp(self) -> None: ...
14+
def read_scratch(self, rom): ...
15+
def write_scratch(self, rom, buf) -> None: ...
16+
def read_temp(self, rom): ...
Lines changed: 1 addition & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,3 @@
1-
"""
2-
Module: 'flashbdev' on micropython-v1.25.0-esp32-ESP32_GENERIC-SPIRAM
3-
"""
4-
5-
# MCU: {'variant': 'SPIRAM', 'build': '', 'arch': 'xtensawin', 'port': 'esp32', 'board': 'ESP32_GENERIC', 'board_id': 'ESP32_GENERIC-SPIRAM', 'mpy': 'v6.3', 'ver': '1.25.0', 'family': 'micropython', 'cpu': 'ESP32', 'version': '1.25.0'}
6-
# Stubber: v1.25.0
7-
from __future__ import annotations
8-
from typing import Final
91
from _typeshed import Incomplete
102

11-
bdev: Incomplete ## <class 'Partition'> = <Partition type=1, subtype=129, address=2097152, size=2097152, label=vfs, encrypted=0>
12-
13-
class Partition:
14-
RUNNING: Final[int] = 1
15-
TYPE_APP: Final[int] = 0
16-
TYPE_DATA: Final[int] = 1
17-
BOOT: Final[int] = 0
18-
def readblocks(self, *args, **kwargs) -> Incomplete: ...
19-
def ioctl(self, *args, **kwargs) -> Incomplete: ...
20-
def set_boot(self, *args, **kwargs) -> Incomplete: ...
21-
def writeblocks(self, *args, **kwargs) -> Incomplete: ...
22-
def info(self, *args, **kwargs) -> Incomplete: ...
23-
def find(self, *args, **kwargs) -> Incomplete: ...
24-
def get_next_update(self, *args, **kwargs) -> Incomplete: ...
25-
@classmethod
26-
def mark_app_valid_cancel_rollback(cls, *args, **kwargs) -> Incomplete: ...
27-
def __init__(self, *argv, **kwargs) -> None: ...
3+
bdev: Incomplete

0 commit comments

Comments
 (0)