Commit Graph

31127 Commits

Author SHA1 Message Date
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
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
Scott Shawcroft
3f7e6db4fa
Merge pull request #8015 from dhalbert/rp2040-sleep-memory
RP2040 SleepMemory
2023-05-22 13:08:37 -07:00
David Sullivan
7048ce46b1 match pins to what wemos uses 2023-05-22 10:06:50 -07:00
Dan Halbert
b1a28bc0ae
Merge pull request #8009 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2023-05-22 12:07:11 -04:00
Jeff Epler
8626130af7
synthio: Add default triangle waveform to LFO, improve docs 2023-05-22 10:53:29 -05:00
Jeff Epler
1059c99f6e
synthio: Add tests of each varying lfo input
I looked at all the results and they pleased me
2023-05-22 10:45:28 -05:00
Jeff Epler
3790fd4117
synthio: Add tests of all synthio math blocks
I plotted and eyeballed these and they all looked plausible
2023-05-22 10:45:21 -05:00
David Sullivan
393c0bb1f6 move sck, scl, and sda pin assignments 2023-05-21 23:27:58 -07:00
Christopher Hoover
73299ae48c Adds new board for MIMRT1060-EVKB (not to be confused with MIMRT1060-EVK). 2023-05-21 17:42:30 -07:00
Jeff Epler
4f671dab6f
synthio: one more doc fix 2023-05-21 19:15:34 -05:00
Dan Halbert
955d2723d0 RP2040 SleepMemory 2023-05-21 19:05:25 -04:00
Jeff Epler
4d60c4608e
synthio: doc fixes 2023-05-21 17:49:30 -05:00