Mike Cifelli
a988b8c678
Merge 78826f1501
into 68e0dfce0a
2025-04-27 14:28:24 +00:00
Angus Gratton
a0ceed8269
aioespnow,webrepl: Use recommended network.WLAN.IF_[AP|STA] constants.
...
Removes the deprecated network.[AP|STA]_IF form.
This work was funded through GitHub Sponsors.
Signed-off-by: Angus Gratton <angus@redyak.com.au>
2024-11-07 12:48:55 +11:00
Damien George
84ba452113
all: Use non-u versions of built-in modules.
...
This changes almost all uses of "u-module" to just "module" for the
following built-in modules:
- binascii
- collections
- errno
- io
- json
- socket
- struct
- sys
- time
There are some remaining uses of "u-module" naming, for the cases where the
built-in module is extended in Python, eg `python-stdlib/os` uses `uos`.
Also, there are remaining uses of `utime` when non-standard (compared to
CPython) functions are used, like `utime.ticks_ms()`.
Signed-off-by: Damien George <damien@micropython.org>
2024-06-14 10:35:06 +10:00
Jon Foster
cb281a4177
ntptime: Fix Year 2036 bug.
...
Fix NTP client - it would report the wrong time after 7 Feb 2036.
Signed-off-by: Jon Foster <jon@jon-foster.co.uk>
2024-05-15 15:36:02 +10:00
Angus Gratton
786c0ea895
all: Add missing const imports
...
Found by Ruff checking F821.
Signed-off-by: Angus Gratton <angus@redyak.com.au>
2023-08-22 22:43:18 +10:00
Jim Mussared
afc9d0a541
micropython: Add missing metadata for packages.
...
Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
2023-04-07 13:24:15 +10:00
Mike Cifelli
78826f1501
ntptime: Use NTPv4
2023-01-27 14:39:09 -05:00
iabdalkader
900dd1c61b
ntptime: Allow overriding default NTP timeout.
...
The default 1 second timeout is sometimes not enough depending on the host
and network latencies. This patch makes timeout configurable.
2022-10-26 00:05:19 +11:00
Jim Mussared
58f8bec54d
micropython/net: Add "ntptime" client from main repo.
...
Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
2022-09-06 13:26:12 +10:00
Jim Mussared
cc2cdeb94b
micropython/net: Add "webrepl" server from main repo.
...
Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
2022-09-06 13:25:21 +10:00