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
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
Dan Halbert
d35e4ffc39
Merge branch 'merge-micropython-v1.19.1' of https://github.com/dhalbert/circuitpython into merge-micropython-v1.19.1
2023-08-18 22:53:24 -04:00
Dan Halbert
e43c2fb7ba
pre-commit uncrustify
2023-08-18 22:53:14 -04:00
Jeff Epler
a42e03c188
fetch additional submodules during testing
2023-08-18 13:02:43 -05:00
Jeff Epler
100de9e5b9
add a script to make it easy to endorse test output
...
Invoke it on the "out" file and it's moved to the correct "exp" file,
ready to git add & git commit.
2023-08-18 12:50:06 -05:00
Jeff Epler
ca057618ff
Skip the import_mpy_native_gc test, it is known to be broken
...
As CircuitPython does not ship any builds with native modules enabled,
this is not something to spend time on right now.
2023-08-18 12:50:05 -05:00
Jeff Epler
49159efe55
Allow natmods to build again (they don't work, however)
2023-08-18 12:50:05 -05:00
Jeff Epler
4a9632d154
update test result
2023-08-18 12:50:05 -05:00
Jeff Epler
73d231c54c
update invalid-mpy test and result
2023-08-18 12:50:05 -05:00
Jeff Epler
9c91448bc2
Re-add usercmodule sources & endorse new extra_coverage output
2023-08-18 12:50:03 -05:00
Dan Halbert
d9ed21ea07
pre-commit
2023-08-18 13:30:45 -04:00
Dan Halbert
6851faacaa
Merge remote-tracking branch 'adafruit/main' into merge-micropython-v1.19.1
2023-08-18 13:29:39 -04:00
Dan Halbert
bfccb77ec1
asyncio test fixes and asyncio library updates
2023-08-18 13:16:16 -04:00
Jeff Epler
d0f313c1e8
Merge pull request #8270 from makermelissa/better-alphablend
...
Better alphablend features
2023-08-16 17:43:17 -05:00
Dan Halbert
41ee1e0458
Merge pull request #8286 from kattni/metro-esp32-s3-sd-cs-pin
...
Add SD_CS pin to Metro ESP32-S3 board definition.
2023-08-15 22:25:20 -04:00
Kattni Rembor
3012c275e7
Add SD_CS pin.
2023-08-15 18:09:42 -04:00
Jeff Epler
843fdbb250
Add a missing MP_PROTO_IMPLEMENT
2023-08-15 13:25:25 -05:00
Jeff Epler
8fd2d82622
fix ubinascii test
2023-08-15 13:19:43 -05:00
Jeff Epler
8d5e844b00
Implement traceback length limit
2023-08-15 13:10:31 -05:00
Jeff Epler
d766795c58
endorse new test output
2023-08-15 11:58:19 -05:00
Jeff Epler
94b89b7e57
enable exception chaining so we can run the test
2023-08-15 11:54:48 -05:00
Jeff Epler
df1dd6ad3c
make 'import uerrno' work again in unix port
...
this fixes tests that 'import uerrno'.
2023-08-15 11:50:13 -05:00
Jeff Epler
f0a8d449c1
fix vfs_fat_case
2023-08-15 11:50:11 -05:00
Dan Halbert
3d48e87e60
jepler: fix 18 tests (redo commit to be correct)
2023-08-14 18:34:32 -04:00
Dan Halbert
545d434239
Revert "jepler: fix 18 tests"
...
This reverts commit 5ad35004cb
.
2023-08-14 18:21:50 -04:00
Dan Halbert
5ad35004cb
jepler: fix 18 tests
2023-08-14 17:53:38 -04:00
Dan Halbert
b73f05fe64
turn off viper tests; thanks jepler
2023-08-14 16:43:07 -04:00
Scott Shawcroft
c75640eb0b
Merge pull request #8277 from weblate/weblate-circuitpython-main
...
Translations update from Hosted Weblate
2023-08-14 11:42:34 -07:00
Dan Halbert
4a579f7242
fix doc build; reorganize placement of library docs
2023-08-14 12:34:00 -04:00
Dan Halbert
2f81f36c41
fix windows mpy-cross builds; tnx @jepler
2023-08-14 11:37:41 -04:00
Dan Halbert
c823b9b2f6
force mpversion.h build early in silabs
2023-08-14 11:28:13 -04:00
Dan Halbert
8cf5b6e707
fixes to unix port support; thanks @jepler
2023-08-14 09:51:52 -04:00
Dan Halbert
d582407b06
pre-commit fixes
2023-08-14 00:59:22 -04:00
Andi Chandler
c0f39076dc
Translated using Weblate (English (United Kingdom))
...
Currently translated at 100.0% (998 of 998 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/en_GB/
2023-08-14 03:48:33 +02:00
Dan Halbert
2171e67c1b
merge latest adafruit/main
2023-08-13 19:43:54 -04:00
Dan Halbert
27c7807693
silabs build needs work; other builds are working
2023-08-13 19:05:16 -04:00