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
Dan Halbert
475ffc3925
Merge pull request #8060 from weblate/weblate-circuitpython-main
...
Translations update from Hosted Weblate
2023-06-02 17:34:03 -04:00
Ettore Atalan
a1ea6331db
Translated using Weblate (German)
...
Currently translated at 99.5% (993 of 997 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/de/
2023-06-02 22:48:01 +02:00
Dan Halbert
de46be1bb4
Merge pull request #8054 from tomiahola/patch-1
...
SAM E54 Xplained Pro: add support for SST26VF064B flash chip
2023-06-01 13:04:02 -04:00
Scott Shawcroft
f2f19e93ec
Fix listing
2023-06-01 09:47:30 -07:00
tomiahola
31f2faa977
SAM E54 Xplained Pro: add support for SST26VF064B flash chip
2023-06-01 08:36:25 +03:00
Scott Shawcroft
bf67ea3640
Merge pull request #8043 from hyx0329/m60-tweak
...
Makerdiary M60 keyboard: allow run on battery
2023-05-30 10:49:12 -07:00
Scott Shawcroft
7d77f34ae9
Merge pull request #8039 from graeme-winter/uctypes-void-cast
...
Additional cast through void*
2023-05-30 10:46:02 -07:00
Dan Halbert
62a663d54e
Merge pull request #8045 from weblate/weblate-circuitpython-main
...
Translations update from Hosted Weblate
2023-05-28 14:00:57 -04:00
Ettore Atalan
923d443a25
Translated using Weblate (German)
...
Currently translated at 99.4% (992 of 997 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/de/
2023-05-28 19:49:19 +02:00
hyx0329
d73f390a4d
M60 keyboard: allow run on battery
...
This also expose the battery control pin as BATTERY_ENABLE,
so users can fully power off the keyboard.
2023-05-28 12:11:34 +08:00
Graeme Winter
c1722ad486
Additional cast through void*
...
Tell the compiler we know what we are doing, and that the bytes are
correctly aligned, to avoid compiler warning:
error: cast increases required alignment of target type
2023-05-27 16:53:08 +01:00
Dan Halbert
0aaf5a4a98
Merge pull request #8034 from weblate/weblate-circuitpython-main
...
Translations update from Hosted Weblate
2023-05-26 10:13:48 -04:00
Jonny Bergdahl
88558486b7
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-05-26 14:50:35 +02:00
Dan Halbert
1417cb6204
Merge pull request #8028 from jepler/synthio-more-tests
...
Add some more Note tests
2023-05-25 13:07:59 -04:00
Scott Shawcroft
c73f749d4d
Merge pull request #8031 from tkroo/c3-pico-fixes
...
update pins to match schematic
2023-05-25 10:07:26 -07:00
David Sullivan
117e6ab7ca
update pins to match schematic
2023-05-24 14:44:37 -07:00
Jeff Epler
eda43d7474
Add some more Note tests
2023-05-24 10:00:12 -05:00
Dan Halbert
9359d817c6
Merge pull request #8024 from jepler/synthio-todbot-feedback
...
synthio: improvements based on feedback
2023-05-23 23:12:32 -04:00
Dan Halbert
ff2003145f
Merge pull request #8025 from tkroo/patch-1
...
update spi pins to match schematic
2023-05-23 23:11:16 -04:00
Dan Halbert
b9bb966835
Merge pull request #8026 from phamhuyvn/patch-1
...
Update pins.c
2023-05-23 23:10:45 -04:00
Dan Halbert
713d86f42b
Merge pull request #8021 from SiliconLabs/dev
...
Silabs fixes, BLE bonding and peripheral changes
2023-05-23 23:10:19 -04:00
phamhuyvn
2d7fa6dd8a
Update pins.c
...
Fixed Button_R from GPIO6 to GPIO7
Fixed LCD_BACKLIGHT from GPIO29 to GPIO26
2023-05-24 08:44:57 +07:00
David Sullivan
d570b8b4ef
update spi pins to match schematic
2023-05-23 17:42:36 -07:00
Jeff Epler
9f138dc188
synthio: list filter in the constructor
2023-05-23 19:38:25 -05:00
Jeff Epler
11d8a6ec3a
synthio: rename synthesizer.lfos to .blocks
...
.. since math blocks can be placed in it too (and that's useful)
2023-05-23 19:38:25 -05:00
Jeff Epler
c20e862790
synthio: note frequency can only be a float, for now
2023-05-23 19:38:24 -05:00
Jeff Epler
1847c2b72a
synthio: fix, rename voct_to_hz
...
todbot discovered that this function wasn't working right, and wasn't
well-named.
2023-05-23 19:38:24 -05:00
David Sullivan
72b1bc890f
Update spi pins in mpconfigboard.h
2023-05-23 17:27:53 -07:00
Dan Halbert
bb74be3319
Merge pull request #8022 from weblate/weblate-circuitpython-main
...
Translations update from Hosted Weblate
2023-05-23 18:56:42 -04:00
Hosted Weblate
0faf381e17
Merge remote-tracking branch 'origin/main'
2023-05-24 00:55:31 +02:00
Andi Chandler
d0138d4355
Translated using Weblate (English (United Kingdom))
...
Currently translated at 100.0% (997 of 997 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/en_GB/
2023-05-24 00:55:30 +02:00
Wellington Terumi Uemura
fd7f1f7c6a
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-05-24 00:55:30 +02:00
Jose David M
02b19970a9
Translated using Weblate (Spanish)
...
Currently translated at 100.0% (997 of 997 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/es/
2023-05-24 00:55:29 +02:00
Dan Halbert
634226e9f2
Merge pull request #8023 from tkroo/lolin-s3-mini-again
...
board files for lolin-s3-mini
2023-05-23 18:55:16 -04:00
David Sullivan
3f845fe8fd
board files for lolin-s3-mini
2023-05-23 14:24:28 -07:00
Hosted Weblate
caf0e6d924
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-05-23 21:48:21 +02:00
Dan Halbert
b26e4ca0ae
Merge pull request #7985 from jepler/synthio-lfo-dag
...
synthio: Add LFOs
2023-05-23 15:48:11 -04:00
Dan Halbert
2422179419
Merge pull request #8014 from tkroo/lolin-c3-pico
...
Board files for LOLIN C3 PICO
2023-05-23 15:02:20 -04:00
Scott Shawcroft
596773286d
Merge pull request #8016 from charlieh0tel/new-mimxrt1060-evkb-board
...
Adds MIMXRT1060-EVKB as new board.
2023-05-23 11:11:32 -07:00
Jeff Epler
2b42783301
Apply suggestions from code review
...
Co-authored-by: Dan Halbert <halbert@adafruit.com>
2023-05-23 08:57:16 -05:00
Christopher Hoover
49b1368d65
Changed PID to 0x813C.
2023-05-22 20:06:50 -07:00
Jeff Epler
122e00bdb3
document ring arguments to constructor
...
thanks Mark!
2023-05-22 21:59:39 -05:00
Jeff Epler
af40a173ba
synthio: midi_to_hz: remove arbitrary note number limitation
...
The underlying routine can return numbers for higher and lower
octaves. Other bits of the code might have frequency limitations
but that doesn't mean we shouldn't let someone get a ~4Hz "note"
by sending in (-12), because that's actually totally plausible as
an LFO frequency.
2023-05-22 21:58:09 -05:00
Jeff Epler
1b174f8b3d
synthio: remove "1-octave" caveat, is false now
2023-05-22 21:58:09 -05:00
Jeff Epler
5b4d621fd2
synthio: explicitly cast away const to satisfy compiler
2023-05-22 21:58:08 -05:00
Jeff Epler
167aa30f12
synthio: remove if0'd code
...
thanks tannewt
2023-05-22 21:58:04 -05:00
David Sullivan
a163273ee0
Update ports/espressif/boards/lolin_c3_pico/mpconfigboard.h
...
update board I2C pins.
Co-authored-by: Dan Halbert <halbert@halwitz.org>
2023-05-22 19:00:16 -07:00
Scott Shawcroft
9040ac8bc6
Merge pull request #8003 from dhalbert/esp-touch-alarm-fix
...
Esp touch alarm fix
2023-05-22 13:43:54 -07:00
David Sullivan
a5df186fa7
change copyright notice
2023-05-22 13:30:36 -07:00