hathach
fecc1bdedb
fix typos (partial) detected by codepell
2023-03-18 22:17:02 +07:00
Jeff Epler
6ff58fd94a
re-enable mkfs for >4GB filesystems whenver FULL_BUILD
2023-03-17 09:37:15 -05:00
Dan Halbert
b6a7613350
Merge pull request #7470 from microdev1/espnow
...
Add ESP-NOW Support
2023-03-10 12:21:56 -05:00
Dan Halbert
f9831b3bbc
Merge pull request #7639 from adafruit/8.0.x
...
Merge 8.0.x up to main
2023-02-24 19:32:09 -05:00
Scott Shawcroft
144aed40e3
Rename flag. Turn on UTF-8 and flag on unix
...
Also added label portion to the test.
2023-02-24 12:23:59 -08:00
Scott Shawcroft
f832386cda
Merge remote-tracking branch 'adafruit/main' into banglejs2
2023-02-23 14:43:38 -08:00
Scott Shawcroft
b79661d631
Alphabetize, fix typo and remove incorrect comment
2023-02-23 14:34:54 -08:00
Scott Shawcroft
1a3358d036
Limit FatFs' ability to upper case paths
...
Only uppercase ASCII letters a-z. This saves ~900 bytes. Previously
written files with other unicode letters will only be accessible
from their upper cased path.
2023-02-23 14:28:58 -08:00
Scott Shawcroft
b67c0b7949
Merge pull request #7585 from bill88t/settings-toml-pystack
...
Settings.toml-configurable pystack
2023-02-22 10:13:31 -08:00
Scott Shawcroft
a8b34bd067
Merge pull request #7549 from gamblor21/gif_displayio_support
...
Animated GIF support
2023-02-21 11:39:29 -08:00
Jeff Epler
d249af2a24
don't explicitly register ulab here
...
.. it is registered by MP_REGISTER_MODULE in ulab.
Closes : #7600
2023-02-17 09:21:50 -06:00
Bill Sideris
5a9264261e
Merge branch 'adafruit:main' into settings-toml-pystack
2023-02-17 00:50:27 +02:00
Bill Sideris
a37dad61fb
CIRCUITPY_SETTABLE_PYSTACK
2023-02-16 23:10:30 +02:00
Dan Halbert
bbadc00599
Merge pull request #7577 from dhalbert/safemode-py
...
Implement safemode.py
2023-02-16 14:15:20 -05:00
MicroDev
32d86c3ea3
Merge pull request #7580 from adafruit/8.0.x
...
Merge 8.0.x up to main
2023-02-15 09:16:51 +05:30
Dan Halbert
d46d9d5c21
shorten safe mode messages; improve message printing; fix CIRCUITPY_SAFEMODE_PY=0
2023-02-13 21:29:57 -05:00
Mark
fa435468fa
Merge branch 'main' into gif_displayio_support
2023-02-13 18:30:51 -06:00
Dan Halbert
d8231f1588
Implement safemode.py
2023-02-13 18:26:38 -05:00
MicroDev
65e9d937ac
use python based msgfmt
2023-02-13 11:22:35 +05:30
gamblor21
0c95e6a08e
Moving to gifio module
2023-02-12 11:17:34 -06:00
gamblor21
da9b6fb0e2
Moving library to /lib
2023-02-10 18:31:59 -06:00
Jeff Epler
0d957fe15c
Fix several places where an exception could be chained wrongly
...
If an exception's chain or context can refer to a pointer from a different
VM, a crash would typically result.
This couldn't turn up on UNIX testing because the VM is never torn
down and rebuilt like it is on hardware.
Because in the 'static' case the GeneratorObject is now fully initialized
whenever it's raised, the initialization can be dropped, which reduces
the flash size slightly.
Closes : #7565
2023-02-10 09:06:47 -06:00
Gregory Neverov
abc5eb30d7
add support for array.extend(iterable)
2023-02-06 15:07:26 -08:00
gamblor21
6a9b7199ec
Initial gif proof of concept
2023-02-04 16:44:29 -06:00
MicroDev
14c3b52b8d
Merge branch 'main' into espnow
2023-02-03 01:37:07 +05:30
MicroDev
d9d94eacca
run updated pre-commit
2023-02-01 13:38:41 +05:30
Neradoc
f0058774d0
add CIRCUITPY_SKIP_SAFE_MODE_WAIT to circuitpy_mpconfig.mk
...
use #if (also a CIRCUITPY_ULAB)
2023-01-29 00:56:16 +01:00
MicroDev
cda5689263
move esp32_camera
to espcamera
2023-01-27 22:05:43 +05:30
MicroDev
3c10dd8b5f
update espnow api
2023-01-23 23:51:10 +05:30
MicroDev
7330c638b9
minimal changes to make espnow work
2023-01-20 14:12:55 +05:30
Dan Halbert
a974402542
Improve type validation errors messages, especially for pins
2023-01-10 15:02:55 -05:00
Dan Halbert
e7475153c0
Merge pull request #7415 from jepler/fix-exception-chain-self
...
do not chain exceptions to themselves
2023-01-04 11:39:16 -05:00
Dan Halbert
4d33cf48a9
Merge pull request #7410 from jepler/unique-fat-volid
...
oofatfs: enable use of random volume IDs
2023-01-04 11:37:32 -05:00
Jeff Epler
cc16bd3d53
do not chain exceptions to themselves
...
cpython actually makes sure the newly chained exception doesn't create
a cycle (even indirectly); see _PyErr_SetObject use of "Floyd's cycle
detection algo". We'll go for the simpler solution of just checking
one level deep until it's clear we need to do more.
Closes : #7414
2023-01-04 08:40:20 -06:00
Jeff Epler
3d66ed27ce
oofatfs: enable use of random volume IDs
...
This may help address #7409 if the underlying cause is the deterministic
volume ID. However, not all boards have working urandom (samd21
at least does not) so a couple of fallbacks are attempted when it fails.
I verified that on a pico_w, each `storage.erase_filesystem()` gives
a distinct 32-bit volume ID (pico_w's urandom can never fail)
2023-01-03 17:18:29 -06:00
Dan Halbert
03b43b7b3f
complete rework for microcontroller.cpu.frequency and wifi.radio MAC addresses
2023-01-02 11:45:58 -05:00
Jeff Epler
ef8b297d7f
Avoid null pointer dereference when no kwargs
...
clang scan-build reports "Access to field 'table' results in a
dereference of a null pointer (loaded from variable 'kw_args')"
2023-01-01 16:56:53 -06:00
Dan Halbert
2f1476874a
Merge pull request #7368 from dhalbert/preserve-nlr_push-regs
...
Use returns_twice attribute to preserve regs in nlrthumb nlr_push()
2022-12-21 08:40:05 -05:00
Dan Halbert
8087887afd
Use returns_twice attribute to preserve regs in nlrthumb nlr_push()
2022-12-20 22:18:43 -05:00
Scott Shawcroft
f8ac1d9261
Rework the coproc API
...
It is now a generic `memorymap` API and an ESP specific `espulp` module.
Fixes #7218 . Fixes #3234 . Fixes #7300 .
2022-12-19 14:08:38 -05:00
Jeff Epler
5ac622a30d
get rid of nearly-empty getenv.c file
2022-12-13 13:13:01 -06:00
Jeff Epler
cc7d550407
Really finish renaming to getenv
2022-12-09 14:28:46 -06:00
Jeff Epler
3459fe322b
Withdraw the _environ module
...
This existed solely for testing, so expose it a different way during
the unix coverage build
Also turn off os.getenv support on samd21.
2022-12-08 15:33:10 -06:00
Jeff Epler
ef2bfdb5db
dotenv becomes settings.toml
2022-12-08 12:44:20 -06:00
Jeff Epler
7ceca0cbb2
fix display of the 'host not found' message
...
The conversion of characters like _space_ in qstrs is a bit
ad-hoc. Because "_not_" stands for the logical negation character ¬
the recently added message was displayed incorrectly:
```
>>> socket.getaddrinfo('does.not.exist', 0)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
gaierror: (-2, 'Name or service_space¬space_known')
```
I had noticed this, but evidently failed to include the fix in
the problem in #7269 .
2022-12-01 19:46:17 -06:00
Dan Halbert
082b0d1aed
Merge pull request #7191 from jepler/fastpixelmap
...
Add a fast PixelMap-like class
2022-12-01 11:43:00 -05:00
Jeff Epler
fb66a6bfe5
Don't use "offset" as an identifier
2022-11-30 14:39:54 -06:00
Jeff Epler
e5b83821f8
fr should fit in 8 bits
2022-11-30 14:39:53 -06:00
Jeff Epler
d16c9515b7
Compact the characters of certain translations, so they fit in uint8_t
...
This saves a few hundred bytes on the affected translations, such
as `el` which shrunk from 186152 to 185588 bytes (564 bytes saved).
2022-11-30 14:39:53 -06:00
Jeff Epler
6be0a425c7
Don't run maketranslationdata twice
2022-11-30 14:39:51 -06:00