Commit Graph

32582 Commits

Author SHA1 Message Date
paul
9a2e9f7e41 added bee data logger 2023-06-20 18:50:15 -04:00
Bill Sideris
112f0fd767
Add -Wno-undef to rp2 makefile for sdk 2023-06-21 01:43:10 +03:00
Bill Sideris
e139cd9ec0
Update cyw43 to 1.0.1 2023-06-21 01:35:52 +03: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
Bill Sideris
0aa7854d5b
Update pico-sdk to 1.5.1 2023-06-19 18:00:49 +03: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
Dan Halbert
68a7be8db1
Merge pull request #8080 from UnexpectedCircuitPython/main
Added support for Unexpected Maker NANOS3.
2023-06-12 11:26:45 -04:00
Seon Rozenblum
14af662ab9 Added support for Unexpected Maker NANOS3 2023-06-12 20:32:46 +10:00
foamyguy
18faeb86c7 more debug prints 2023-06-09 14:53:11 -05:00
Jeff Epler
d5a2293784 nrf52840: allow 12 voices
In my testing, the feather bluefruit can do 12 voices at 48kHz!
This is a simple case (no LFOs, no ring modulation) so other situations might
require a lower sample rate, fewer voices, or both.

The sound is a little artifacty & low-fi but I think that's down to the speaker
& use of PWM instead of I2S.
2023-06-09 11:30:12 -05:00
Dan Halbert
24a58c3f52
Merge pull request #8076 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2023-06-09 08:58:17 -04:00
Reza Almanda
edaff6d1fa
Translated using Weblate (Indonesian)
Currently translated at 34.4% (343 of 997 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/id/
2023-06-09 12:50:59 +02:00
Jeff Epler
50951d8019 bump protomatter once more 2023-06-08 17:46:35 -05:00
Dan Halbert
7632414b25
Merge pull request #8042 from applecuckoo/efr32-doc-fixes
Fix up EFR32 port readme
2023-06-08 13:39:55 -04:00
Dan Halbert
4d5caff0ed fix missing newline 2023-06-08 13:02:24 -04:00
foamyguy
ec21dc6975 added debug prints 2023-06-08 12:01:39 -05:00
Dan Halbert
46ddacddde
Merge branch 'main' into efr32-doc-fixes 2023-06-08 12:57:09 -04:00
Dan Halbert
6cf7e45f10
Merge pull request #8037 from jpconstantineau/fix-PCA10100
fix to make buttons and leds compatible with pca10056
2023-06-08 12:56:09 -04:00
Scott Shawcroft
5d39414e9b
Merge pull request #8075 from mariobodemann/badger2040-increase-contrast
Update badger2040 start sequence for more contrast
2023-06-08 09:47:59 -07:00
Mario Bodemann
1e3f1d745a Update badger2040 start sequence for more contrast
This change is taken from the pico-sdk: https://github.com/pimoroni/pimoroni-pico/blob/main/drivers/uc8151_legacy/uc8151_legacy.cpp#L67-L120 and increases the contrast of pictures sent dramatically. It comes with the expense of using way more time when updating though.
2023-06-08 18:25:45 +02:00
Jeff Epler
d4913b04e0 rgbmatrix: update protomatter
and re-organize so that esp32 s2/s3 don't do as much at reset

.. it's not necessary (because most data is in esp-idf managed memory)
and doing this saves me from having to debug why reconstruct isn't working
properly on that platform.

This needs to be tested on other platforms again before being merged!
2023-06-08 10:43:32 -05:00
Jeff Epler
c408193ffe
Merge pull request #8048 from jepler/synthio-biquad
Synthio: switch to per-note biquad filtering
2023-06-07 14:48:31 -05:00
Scott Shawcroft
b71f394127
Merge pull request #8071 from tannewt/cpx_stack_size
Slim down stack frames
2023-06-07 09:25:28 -07:00
Dan Halbert
f2c38e0c37
Merge pull request #8073 from dhalbert/submodules-with-older-git
fix fetch-submodules.sh for older git
2023-06-07 10:13:57 -04:00
Dan Halbert
561caae35c fix fetch-submodules.sh for older git 2023-06-06 22:16:06 -04:00
Scott Shawcroft
dd71ae10b9
Slim down stack frames
This reduces the stack frame size of mp_builtin___import__ by
limiting the support path length of files from 256 to 96. This
function can be called recursively for nested imports so it adds up.

Also reduce mp_execute_bytecode (vm.c) from 206 a bc call to 124.
This too is recursive and adds up. It is reduced by preventing
some inlining. It may decrease performance slightly when importing
and unpacking.

Adds two new scripts for debugging. One is used from gdb to print
frame sizes in a backtrace. The other prints what pcs use a
particular stack offset. This helps find infrequently used stack
space.

Fixes #8053.
2023-06-06 16:20:47 -07:00
applecuckoo
40a31390aa
Remove available modules section 2023-06-07 07:30:02 +12:00
Dan Halbert
e631350b9b
Merge pull request #8070 from dhalbert/port-specific-submodules
Provide port-specific fetch of submodules
2023-06-06 14:46:39 -04:00
Dan Halbert
46c5be07ff remove debugging print 2023-06-06 11:04:27 -04:00