Commit Graph

32585 Commits

Author SHA1 Message Date
Jozsef Kiraly
4f7e66df08 fix: pre-commit 2023-08-22 15:17:40 +01:00
Jozsef Kiraly
bb1b827f55 fix: Split 16M and 4M variants 2023-08-22 15:06:37 +01:00
Jeff Epler
c029d6a165
Merge remote-tracking branch 'origin/8.2.x' into merge-82x 2023-08-22 08:49:16 -05:00
Jozsef Kiraly
9a140dc3ee Update ports/raspberrypi/boards/waveshare_rp2040_plus/mpconfigboard.mk
Co-authored-by: Scott Shawcroft <scott@tannewt.org>
2023-08-22 14:15:59 +01:00
Jozsef Kiraly
127f09b28c Update ports/raspberrypi/boards/waveshare_rp2040_plus/mpconfigboard.mk 2023-08-22 14:15:59 +01:00
Jozsef Kiraly
648ec1c0ed feat: Add support for Waveshare RP2040-Plus 2023-08-22 14:15:59 +01:00
Jozsef Kiraly
2ec145ba6c fix: Minor fixes for M5Paper 2023-08-22 11:44:52 +01:00
Dan Halbert
841ce0948c
Merge pull request #8308 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2023-08-21 23:48:53 -04:00
Dan Halbert
8157920d10
Merge pull request #8312 from jepler/fix-sphinx-82x
Use the ".. jinja" tag to render support_matrix template
2023-08-21 23:46:25 -04:00
Dan Halbert
a15d139df8
Merge pull request #8306 from jepler/setsockopt-constants-for-todbot
Add several constants needed to use multicast UDP
2023-08-21 23:03:41 -04:00
Jeff Epler
2fc413db24
Use the ".. jinja" tag to render support_matrix template
.. and remove the substring check for the file.

this fixes the problem with sphinx 7.2.2 that the "docname" can
be None (see https://github.com/sphinx-doc/sphinx/issues/11620)
2023-08-21 21:34:14 -05:00
Hosted Weblate
3bcce61ccf
Merge remote-tracking branch 'origin/main' 2023-08-22 04:09:08 +02:00
Dan Halbert
6c4f2096b5
Merge pull request #8310 from jepler/fix-doc-build-119
Use a different way to force building sdkconfig early
2023-08-21 22:08:59 -04:00
Jeff Epler
3cd667a0a1
Ensure doc build is tested when a Makefile or .mk file is changed
This can affect whether the shared-bindings-matrix works, as in the
case of this PR.
2023-08-21 20:58:12 -05:00
Jeff Epler
d62bf6631b
Use a different way to force building sdkconfig early
the `Makefile:...` version broke the shared bindings matrix generation, as
it would fail if esp-idf wasn't in the environment (and we wouldn't want
it to do that much work anyway)
2023-08-21 20:48:42 -05:00
Dan Halbert
eba1f9d4fe fix framebuffer size for pimoroni dvi base 2023-08-21 19:36:28 -04:00
Hosted Weblate
0de6ced98a
Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/
2023-08-22 01:24:50 +02:00
Dan Halbert
282e93d3e3
Merge pull request #8281 from dhalbert/merge-micropython-v1.19.1
Merge micropython v1.19.1
2023-08-21 19:24:26 -04:00
Jeff Epler
d23ddff971
Add several constants needed to use multicast UDP
This was verified by @todbot to work on esp32 s2 and s3;
the constant should match any system that uses LWIP numbering.
2023-08-21 16:19:58 -05:00
Ciro Cattuto
a5578cf067 Fixed compilion error when FF_MAX_SS != FF_MIN_SS 2023-08-21 22:47:09 +02:00
Jeff Epler
cb4d7822bf
support old names for push/pop methods in TaskQueue
.. and update asyncio to a version that uses the old names but has other
new asyncio improvements.
2023-08-21 15:44:26 -05:00
Jeff Epler
0cab3359df
ignore some cast-align diagnostics 2023-08-20 14:26:48 -05:00
Jeff Epler
1399d0f25b
guard mp_type_native_gen_wrap declaration with MICROPY_EMIT_NATIVE 2023-08-20 14:26:27 -05:00
Jeff Epler
f9e99bd3c3
Fix picow build 2023-08-20 11:30:36 -05:00
Jeff Epler
c122ca18fd
restore missing board.c file 2023-08-20 11:20:57 -05:00
Jeff Epler
bb8e0ae76e
turn off some modules to save flash space 2023-08-20 11:18:46 -05:00
Dan Halbert
4593008317
Merge pull request #8297 from dhalbert/better-hard-fault-message
improve hard fault message
2023-08-20 12:16:33 -04:00
Jeff Epler
d94ff9d1cf
turn off audiopwmio to save flash space 2023-08-20 11:14:41 -05:00
Jeff Epler
44c26d9d41
Ensure sdkconfig.h is built early, by making Makefile depend on it
Here's why this helps fix the build error:
If this file does not exist or is out of date, then it is generated
and then the Makefile is re-read.

I don't know why this worked before but stopped now; it must have
to do with the rework of header generation in the MP build system.
2023-08-20 11:08:43 -05:00
Jeff Epler
d5d566dc65
Don't assume __ICACHE_PRESENT is defined
This seems to only be defined in cmsis files for M7 family MCUs, so
it's not for e.g., makerdiary_m60_keyboard which enables loading of native
code. Lower MCUs don't ever have icache, so the default is "off".
2023-08-20 10:15:56 -05:00
Jeff Epler
e74ef8b960
ringbuf_alloc no longer has a long-lived argument 2023-08-20 10:15:56 -05:00
Jeff Epler
a3a9c7a098
fix typo 2023-08-20 10:15:55 -05:00
Jeff Epler
d9022343dc
Allow freezing 31-bit ints 2023-08-20 10:15:55 -05:00
Jeff Epler
d277294a14
Alias m_new_ll to m_new
this saves changing uses of it in ports/ and if we re-add ll later, it'll
make it easier to find the places that needed long-lived allocation.
2023-08-20 10:15:55 -05:00
Jeff Epler
d8484df075
basic async_with test passes under native code 2023-08-20 10:15:55 -05:00
Jeff Epler
7e38b79e21
Add mp_type_native_coro_wrap 2023-08-20 10:15:55 -05:00
Jeff Epler
562520e158
Skip these tests when using --emit native
.. in which case the __await__ attribute is not available due to
"CIRCUITPY: no support for mp_type_native_coro_wrap" (emitglue.c)
2023-08-20 08:02:31 -05:00
Dan Halbert
7f680364fc
Merge pull request #8301 from pypewpew/no-logo-fix-8.2.x
Fix displayio when CIRCUITPY_REPL_LOGO is disabled
2023-08-19 20:40:22 -04:00
Dan Halbert
506dca71b0
Merge pull request #8300 from pypewpew/no-logo-fix
Fix displayio when CIRCUITPY_REPL_LOGO is disabled
2023-08-19 20:39:44 -04:00
Radomir Dopieralski
b93b1d0e75 Fix the SRC_SUPERVISOR setting check 2023-08-20 01:20:05 +02:00
Radomir Dopieralski
3120bd3d7d Fix displayio when CIRCUITPY_REPL_LOGO is disabled
We have to make room for the status bar no matter if the logo is enabled
or not. We probably should add a similar option for disabling the status
bar.

This makes the PewPew M4 port stop crashing.

(cherry picked from commit b50a7fb913)
2023-08-20 00:59:34 +02:00
Radomir Dopieralski
b50a7fb913 Fix displayio when CIRCUITPY_REPL_LOGO is disabled
We have to make room for the status bar no matter if the logo is enabled
or not. We probably should add a similar option for disabling the status
bar.

This makes the PewPew M4 port stop crashing.
2023-08-20 00:21:33 +02:00
Jeff Epler
b0bf36ef3b
Fix building with !MICROPY_PY_ASYNC_AWAIT 2023-08-19 17:17:50 -05:00
Jeff Epler
5606d49e4d
skip async_basic with native emitter, it doesn't work 2023-08-19 17:03:44 -05:00
Jeff Epler
a94301122a
Make natmods work again.
And put back our magic number, because our bytecode format differs
from upstream

drop btree & framebuf natmods, they had additional problems I didn't
want to fix right now.
2023-08-19 16:59:13 -05:00
Jeff Epler
6598fc0c42
pre-commit modifies these additional files on my system (WHY?) 2023-08-19 13:45:06 -05:00
Jeff Epler
412e242d28
Fix mpy-cross -X native 2023-08-19 13:44:13 -05:00
Jeff Epler
994bd2371f
canio: add a doc note about boards like CAN feather that use mcp2515 2023-08-19 12:07:07 -05:00
Dan Halbert
10a022db87 consolidate and shorten some error messages 2023-08-19 12:39:54 -04:00
Dan Halbert
7933bb0ebe improve hard fault message 2023-08-19 10:07:46 -04:00