Commit Graph

31235 Commits

Author SHA1 Message Date
Jeff Epler
8579766ede
Optimize ulab for size on samd51/same51 2023-07-25 09:35:49 -05:00
Jeff Epler
164fcb22c2
Enable "from __future__ import annotations" on unix build 2023-07-10 13:53:26 -05:00
Jeff Epler
0f241c9415
bump ulab to fix rp2040 build error 2023-06-27 11:50:12 -05:00
Jeff Epler
b5ad7f91a3
update expected data for test
skip all the byecode hex data, it's adequately checked
by the disassembly just below

This was tripped up because in exactly the right conditions some qstr
could be of the form 'xx 63' and make the expression `\.\+63` match
something other than what was intended.

This test was re-worked upstream for mpy version 6 so it'll be a conflict
to resolve when we get to that. :-/
2023-06-27 11:16:12 -05:00
Jeff Epler
a9c987d3ce
Add expected-output file for this test
.. because the first test is actually accepted on python 3.10 and newer.
2023-06-27 10:43:14 -05:00
Jeff Epler
9a3fadc072
run pre-commit 2023-06-27 10:23:26 -05:00
Jeff Epler
3795de03b6
update ulab to 6.3.2 2023-06-27 10:05:14 -05:00
Jeff Epler
324ecc2611
Merge pull request #8114 from FoamyGuy/displayio_shape_fix
fix shape.set_boundary()
2023-06-27 06:27:10 -05:00
Scott Shawcroft
c116aa004c
Merge pull request #8112 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2023-06-26 10:36:30 -07:00
Hosted Weblate
4bc18f8133
Merge remote-tracking branch 'origin/main' 2023-06-26 19:20:40 +02:00
Scott Shawcroft
f7efc9c980
Merge pull request #8116 from Neradoc/fix-button-espressif_esp32c3_devkitm_1_n4
fix board.BUTTON on espressif_esp32c3_devkitm_1_n4
2023-06-26 10:20:33 -07:00
Neradoc
232e096f93 fix board.BUTTON on espressif_esp32c3_devkitm_1_n4 2023-06-25 17:05:49 +02:00
foamyguy
c4b57dc2fe fix shape.set_boundary() 2023-06-24 12:42:00 -05:00
Wellington Terumi Uemura
25498ee562
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-06-23 22:35:34 +02:00
Dan Halbert
7e6825daf6
Merge pull request #8111 from adafruit/revert-8094-fix_i2c_hangs
Revert "nrf: prevent I2C hangs"
2023-06-23 13:24:33 -04:00
Dan Halbert
fde6342705
Revert "nrf: prevent I2C hangs" 2023-06-23 13:20:41 -04:00
Dan Halbert
ffebb5af8a
Merge pull request #8094 from furbrain/fix_i2c_hangs
Fix for #8093
2023-06-23 13:12:24 -04:00
Dan Halbert
a84551afb7
Merge pull request #8105 from dhalbert/authmode-doc
improve start_ap() doc; make "authmode" use consistent internally
2023-06-23 12:51:26 -04:00
Dan Halbert
dc13a8036b
Merge pull request #8104 from dhalbert/rp2040-countio-doc
note RP2040 countio limitations
2023-06-22 18:37:49 -04:00
Dan Halbert
c7c5d6099a
Merge pull request #8102 from dhalbert/OnDiskGif-width-and-doc
Improve OnDiskGif doc; check image width
2023-06-22 18:36:34 -04:00
Dan Halbert
540bf58102 improve start_ap() doc; make "authmode" use consistent internally 2023-06-22 16:24:18 -04:00
Dan Halbert
8acc8581df note RP2040 countio limitations 2023-06-22 14:56:46 -04:00
Dan Halbert
1f2a1a6e78 Improve OnDiskGif doc; check image width 2023-06-22 14:24:48 -04:00
Scott Shawcroft
0da62416a5
Merge pull request #8050 from FoamyGuy/hidden_refresh_areas
don't consider refresh areas for hidden groups or tilegrids
2023-06-21 09:56:27 -07:00
Scott Shawcroft
28b0e34d76
Merge pull request #8099 from strid3r21/main
added bee data logger
2023-06-21 09:52:26 -07:00
Dan Halbert
60adfa4e6b
Merge pull request #8089 from furbrain/main
Reset UART on deinit, reduces power consumption on nRF
2023-06-20 19:48:37 -04:00
paul
9a2e9f7e41 added bee data logger 2023-06-20 18:50:15 -04:00
Phil Underwood
a753490899 Refactor out test for bus sanity state 2023-06-20 23:32:00 +01:00
Scott Shawcroft
4789508629
Merge pull request #8087 from anecdata/ap_chan
validate wifi Access Point channel
2023-06-20 13:14:04 -07:00
Scott Shawcroft
9bce4ac30c
Merge pull request #8090 from kamtom480/sdk3.0.1
spresense: update SDK to 3.0.1
2023-06-20 13:11:45 -07:00
Dan Halbert
4c55dc2445
Merge pull request #8096 from jepler/lto-parallel
Speed LTO builds by using multiple threads
2023-06-20 13:32:47 -04:00
Dan Halbert
b0e6a98cef
Merge pull request #8097 from dhalbert/aesio-ctx-typo
fix typos: "CTX mode" -> "CTR mode" in aesio
2023-06-20 13:17:43 -04:00
Dan Halbert
f5c03e64e5 fix typos: "CTX mode" -> "CTR mode" 2023-06-20 12:50:36 -04:00
Jeff Epler
cae02f1cdf
Speed LTO builds by using multiple threads
On my i5-1235U laptop this speeds LTO "partition=balanced" builds
substantially, because each "partition" can be run on a separate
CPU thread. I used "pygamer" as my test build with a parallelism of
`-j4`, and took the best elapsed time reported over 4 builds.

The improvement was from 34.6s to 24.0s (-30%).

A link-only build (rm build-pygamer/firmware.elf; make -j...) improved
from1 17.4s to 5.1s (-70%)

The size of the resulting firmware is unchanged.

Boards that are nearly full use "-flto-partition=one" to improve code
size optimization. When LTO partition is "one", this feature doesn't help
but it doesn't seem to negatively affect anything either (tested
building trinket_m0)
2023-06-20 11:01:46 -05:00
Phil Underwood
028a81922b
Remove unneeded #define from I2C.c 2023-06-20 13:36:12 +01:00
Phil Underwood
fae14cc55b Fix for #8093
This adds a check to make sure that SDA and SCL are in a sane condition
before starting any I2C operation. If they are not it tries to rectify it,
and then returns an error code if unable to do so.
2023-06-19 22:20:46 +01:00
Phil Underwood
4bb475b930 formatting 2023-06-17 22:49:47 +01:00
Phil Underwood
ec1e7a03b3 Reset UART on deinit, reduces power consumption 2023-06-17 22:42:12 +01:00
foamyguy
4bf4d148c1 always set rendered_hidden false when hidden changes 2023-06-16 18:05:39 -05:00
foamyguy
074c13488b revert whitespace change. handle hidden by parent 2023-06-16 16:57:37 -05:00
foamyguy
3222cdf847 revert indention change 2023-06-16 16:50:01 -05:00
foamyguy
0e3cdea51e remove prints 2023-06-16 16:47:24 -05:00
foamyguy
340506be58 revert unrelated epd change 2023-06-16 16:43:10 -05:00
anecdata
b0e0b4adce ap channel validation 2023-06-15 20:20:17 -05:00
Scott Shawcroft
1f20328068
Merge pull request #8084 from breakersun/fix-spi
fix `invalid pin` error when create `busio.SPI` on MIMXRT10XX port
2023-06-14 17:27:24 -07:00
leosun
7354e2ad03 fix invalid pin error when create busio.SPI
on specific SCK/MOSI/MISO pins, the `common_hal_busio_spi_construct`
method always skip miso pins which will lead to a `invalid pin`
exception when SPI initilized
2023-06-15 07:48:19 +08:00
Kamil Tomaszewski
979f2f5ef3 spresense: update SDK to 3.0.1 2023-06-14 12:30:39 +02:00
Jeff Epler
666fb94ca3
Merge pull request #8056 from jepler/matrixportal-s3
Add Adafruit MatrixPortal S3 board def & update protomatter
2023-06-13 19:34:08 -05:00
Melissa LeBlanc-Williams
46de2cb682 Add buttons and accelerometer interrupt 2023-06-13 07:59:33 -07:00
Scott Shawcroft
a5e3c6ee82
Merge pull request #8077 from jepler/nrf-synthio
nrf52840: allow 12 voices
2023-06-12 12:44:08 -07:00