Commit Graph

32161 Commits

Author SHA1 Message Date
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
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
elpekenin
40e833c746 [Fix] Wrong fix of cache use for STM32 2023-08-02 20:13:52 +02:00
Scott Shawcroft
af0245ab24
Revert .gitmodules 2023-08-02 11:11:30 -07:00
Scott Shawcroft
9cc4b4cd37
Merge pull request #8245 from jepler/esp32-camera-backlight-solarize
pycamera: backlight, solarize
2023-08-02 10:00:21 -07:00
Scott Shawcroft
24534abd9e
Merge pull request #8251 from BrainBoardz/main
Fixed Trailing White Space - Changed SPI and LED Pin Assignments
2023-08-02 09:58:46 -07:00
Jeff Epler
16937b8a0d
Fix markup of bitmaptools.blit stubs
this prevented bitmaptools.blit from properly appearing in documentation.
2023-08-02 10:54:47 -05:00
Dan Halbert
b250edd4f6
Merge pull request #8247 from jepler/fix-doc-build-8246
Add index.html as a redirect to README.html
2023-08-02 11:20:43 -04:00
Jeremy Littler
f7cc20e936
Update pins.c 2023-08-02 11:01:44 -04:00
Jeremy Littler
f9b98ce54d
Update pins.c 2023-08-02 10:57:46 -04:00
Jeremy Littler
b88e359b00
Update pins.c 2023-08-02 10:41:46 -04:00
Jeremy Littler
37dbe3e24a
Update pins.c 2023-08-02 10:32:40 -04:00
Jeff Epler
1325e5e2b9
Add index.html as a redirect to README.html
closes #8246
2023-08-02 09:26:10 -05:00
Jeremy Littler
94ed725fd3
Update mpconfigboard.h 2023-08-02 10:24:58 -04:00
Jeff Epler
4e01e6bbe5
adafruit-esp32s3-camera: set up backlight at boot & add solarize
the backlight situation will be revisited with the next board prototype,
but it's good to prove this can be done.

Depends on https://github.com/adafruit/esp32-camera/pull/6 which should
be merged before this.
2023-08-02 08:09:13 -05:00
Jeff Epler
2b0f1cd087
espressif: fix dependencies in esp-idf modules
while developing esp-camera I had the problem that firmware.elf was
not regenerated if the only file I edited was in the esp32-camera
submodule.

By telling make that $(IDF_CMAKE_TARGETS), the list of .a fliles
produced by ninja-building esp-idf, depend on esp-idf-stamp and that
firmware.elf in turn depends on these files, the ninja build is re-run
on each make, which is reasonably quick if nothing needs to be rebuilt.
2023-08-02 07:52:45 -05:00
Scott Shawcroft
8baff0bf88
Merge pull request #8133 from dronecz/main
Add ES3ink board definition
2023-08-01 13:31:46 -07:00
Scott Shawcroft
0bf50d2d6e
Merge pull request #8215 from makermelissa/adafruit-metro-esp32s3
Added initial Adafruit Metro ESP32-S3
2023-08-01 13:30:06 -07:00
Scott Shawcroft
539f34f7fd
Three small changes
1. Raise an exception when creating a USB device when host isn't
  initialized.
2. Mark RP2040 dtcm_bss as NOLOAD since it doesn't need to be
  loaded (just zeroed.)
3. Fix submodule location for ulab to Jeff's copy.
2023-08-01 13:16:38 -07:00