Commit Graph

32231 Commits

Author SHA1 Message Date
Melissa LeBlanc-Williams
b25d3131a3 Update doc string 2023-08-08 12:54:14 -07:00
Melissa LeBlanc-Williams
549bbdc31c Alphablend changes 2023-08-08 12:42:48 -07:00
Jeff Epler
10330b273c
Divide 'introspect_t' into inputs & outputs
leave as a single structure because it's more efficient to call
functions with 4 or fewer arguments, and having two struct pointers
would make `consider_instruction` have 5 arguments instead.
2023-08-08 10:44:12 -05:00
Dan Halbert
0d2c3c3f08 wip: continuing compilation fixes; mp_obj_alloc everywhere 2023-08-07 20:45:57 -04:00
Jeff Epler
e06f836e95
add may_exec to parameter list 2023-08-07 16:28:35 -05:00
Jeff Epler
755fdfab7a
rename variable based on review 2023-08-07 16:26:57 -05:00
Jeff Epler
2077ac150b
Apply suggestions from code review
Co-authored-by: Scott Shawcroft <scott@tannewt.org>
2023-08-07 11:51:52 -05:00
Scott Shawcroft
fb57c08013
Merge pull request #8265 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2023-08-07 09:24:54 -07:00
Hosted Weblate
03335daf29
Merge remote-tracking branch 'origin/main' 2023-08-07 16:52:23 +02:00
hexthat
1f010f9541
Translated using Weblate (Chinese (Pinyin))
Currently translated at 100.0% (998 of 998 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/zh_Latn/
2023-08-07 16:52:23 +02:00
Jeff Epler
f3320e4c3f
Merge pull request #8264 from bcr/bcr-runmode-uf2
Add RUNMODE_UF2 handling for SAMD
2023-08-07 09:52:15 -05:00
Andi Chandler
8ba261d51c
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-06 19:45:42 +02:00
Wellington Terumi Uemura
9a9106f107
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (998 of 998 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2023-08-06 19:45:41 +02:00
Pablo Martinez Bernal
bcef82758e
Translated using Weblate (Spanish)
Currently translated at 100.0% (998 of 998 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/es/
2023-08-06 19:45:41 +02:00
Blake Ramsdell
432f928286 Add RUNMODE_UF2 handling for SAMD 2023-08-06 13:46:34 +00:00
Jeff Epler
c918d8048d
correct more error detection 2023-08-05 14:46:50 -05:00
Jeff Epler
9a354a4eb8
fix checking for in-pin 2023-08-05 14:24:11 -05:00
Jeff Epler
a6e8619940
fix 'uses extra pin' message 2023-08-05 14:24:03 -05:00
Jeff Epler
8c45abbd89
pass correct may_exec buffer length 2023-08-05 14:23:26 -05:00
Dan Halbert
6b36bf59e3
Merge pull request #8260 from jepler/fix-synthio-docs
the note is in its attack phase
2023-08-04 20:09:15 -04:00
Jeff Epler
ddeb27d335
the note is in its attack phase 2023-08-04 18:40:30 -05:00
Dan Halbert
a969f6efd8
Merge pull request #8257 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2023-08-04 12:59:16 -04:00
Hosted Weblate
2be79d992c
Merge remote-tracking branch 'origin/main' 2023-08-04 18:42:28 +02:00
Jonny Bergdahl
b9a9ae595c
Translated using Weblate (Swedish)
Currently translated at 100.0% (998 of 998 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2023-08-04 18:42:28 +02:00
Scott Shawcroft
6e440abd76
Merge pull request #8259 from jepler/pycam-auto-reserve-memory
set reserved psram for pycamera
2023-08-04 09:41:59 -07:00
Jeff Epler
46db0366b8
OrderedDict.move_to_end: alternate implementation of #8234
this implementation is hoped to be smaller. (feather_m4_express/fr fits
unlike the other PR; approximate savings ~600 bytes)

Minor difference to standard Python: A `dict` object has a
`move_to_end` method. However, calling this method always results in
TypeError.

Implementing it this way means that the method table can still be shared
between OrderedDict and builtin dict.

Closes #4408.
2023-08-04 09:26:26 -05:00
Jeff Epler
84d8224a54
set reserved psram for pycamera 2023-08-04 08:38:07 -05:00
Dan Halbert
465d1c673e wip 2023-08-03 23:29:00 -04:00
Hosted Weblate
50eb62adb3
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-04 04:36:05 +02:00
Hosted Weblate
4cc0c9b595
Merge remote-tracking branch 'origin/main' 2023-08-04 04:36:02 +02:00
Jonny Bergdahl
329f9b170a
Translated using Weblate (Swedish)
Currently translated at 100.0% (997 of 997 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2023-08-04 04:36:01 +02:00
Wellington Terumi Uemura
b5a449ab14
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (997 of 997 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2023-08-04 04:36:01 +02:00
Jeff Epler
394ed2aac7
Merge pull request #8254 from tannewt/cache_config_desc
Cache configuration descriptor
2023-08-03 21:35:53 -05:00
Scott Shawcroft
9152659912
Merge remote-tracking branch 'adafruit/main' into cache_config_desc 2023-08-03 13:37:53 -07:00
Hosted Weblate
98d5d3af80
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-03 21:38:53 +02:00
Jeff Epler
d57f3c888d
Merge pull request #8242 from tannewt/check_host_init
Two small changes
2023-08-03 14:38:44 -05:00
Jeff Epler
8664a06bba
Merge pull request #8255 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2023-08-03 14:38:13 -05:00
Hosted Weblate
52aa86c80c
Merge remote-tracking branch 'origin/main' 2023-08-03 18:12:46 +02:00
Jonny Bergdahl
bcf0a56aaf
Translated using Weblate (Swedish)
Currently translated at 100.0% (996 of 996 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2023-08-03 18:12:46 +02:00
Jeff Epler
2dee612088
Merge pull request #8252 from jepler/bitmap-blit-doc-fix
Fix markup of bitmaptools.blit stubs
2023-08-03 11:12:41 -05:00
Jeff Epler
67c5563eec
Apply -Wno-undef to just the needed file & remove incorrect -I arg 2023-08-03 10:20:25 -05:00
Jeff Epler
dbafba889d
include SRC_PATTERNS for ci_set_matrix
Originally, all Makefile variables were implicitly included in
settings[]. When I revised ci_set_matrix, only explicltly named
variables are included.

Depending on the set of changed files, ci_set_matrix needs the
SRC_PATTERNS variable, so include it explicitly.

Typical error, seen in the history of building this PR:
```
Traceback (most recent call last):
  File "/home/runner/work/circuitpython/circuitpython/tools/ci_set_matrix.py", line 309, in <module>
    main()
  File "/home/runner/work/circuitpython/circuitpython/tools/ci_set_matrix.py", line 305, in main
    set_boards(run_all)
  File "/home/runner/work/circuitpython/circuitpython/tools/ci_set_matrix.py", line 215, in set_boards
    if module in settings["SRC_PATTERNS"]:
                 ~~~~~~~~^^^^^^^^^^^^^^^^
KeyError: 'SRC_PATTERNS'
Error: Process completed with exit code 1.
```
2023-08-03 08:57:42 -05:00
Hosted Weblate
9304d7ac8e
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-03 15:29:05 +02:00
Hosted Weblate
37098df901
Merge remote-tracking branch 'origin/main' 2023-08-03 15:29:02 +02:00
Dan Halbert
95c0867733
Merge pull request #8256 from jepler/update-ulab-fpclassify
update ulab to fix fpclassify compiler diagnostic
2023-08-03 09:28:55 -04:00
Jeff Epler
1fe70ba8a9
update messages 2023-08-03 07:50:33 -05:00
Jeff Epler
aa638f8054
update ulab to fix fpclassify compiler diagnostic 2023-08-03 07:10:08 -05:00
hexthat
2e3b30a749
Translated using Weblate (Chinese (Pinyin))
Currently translated at 100.0% (996 of 996 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/zh_Latn/
2023-08-03 00:07:57 +02:00
Scott Shawcroft
70ce576390
Merge pull request #8253 from elpekenin/fix/bad-fix
[Fix] Wrong fix of cache use for STM32
2023-08-02 14:30:45 -07:00
Scott Shawcroft
59e6cab252
Cache configuration descriptor
We use it to open endpoints as they are used. Fetching the descriptor
as needed can cause issues with devices that we're expecting a control
packet while another transaction was ongoing. Specifically, a usb
thumb drive didn't expect a control transaction while doing a SCSI
transaction.

This PR also aborts transactions on timeout or ctrl-c interrupt. It
doesn't always recover though...
2023-08-02 14:26:11 -07:00