Commit Graph

31380 Commits

Author SHA1 Message Date
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
Dan Halbert
b576ec21b3 add tools to common submodules to fetch 2023-06-05 19:04:32 -04:00
Dan Halbert
a7da1c4ad4 fix ports path arg to fetch-submodules.sh 2023-06-05 19:01:51 -04:00
Dan Halbert
38f6fa27e3 fetch-port-submodules; fetch-all-submodules 2023-06-05 17:23:34 -04:00
applecuckoo
2d78cf3428
Merge branch 'adafruit:main' into efr32-doc-fixes 2023-06-06 08:56:40 +12: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
Jeff Epler
ce84ecf3f6
Fix flash size 2023-06-01 18:57:18 -05:00
Jeff Epler
2fb42579e8
Add minimally tested Adafruit MatrixPortal S3 board def
tested:
 * board.LED
 * neopixel as status LED
 * i2c scan finds lis3dh sensor
 * psram capacity

not tested:
 * rgb matrix      o_O
 * the gpio pins

Introduce new `board` properties for matrixportal-style boards:
 * MTX_COMMON
 * MTX_ADDRESS

These are intended to simplify use of the RGBMatrix constructor:
```py
matrix = RGBMatrix(..., addr_pins=MTX_ADDRESS[:3], **MTX_COMMON)
```
removing the need for sending in the following individual parameters:
 * rgb_pins
 * clock_pin
 * latch_pin
 * output_enable_pins
and making construction of a 16/32/64-row display easy by slicing a tuple
of all address pins rather than writing out the individual pins. If it
works out it'll be ported back to the matrixportal m4 as well.
2023-06-01 17:23:34 -05: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
Pierre Constantineau
6fd700eb11 added HW_LED_STATUS as requested 2023-06-01 10:56:43 -06: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
foamyguy
4712a9d301 remove old conditions 2023-05-31 21:00:02 -05:00
foamyguy
f8948c2718 format 2023-05-31 20:58:04 -05:00
foamyguy
4ad54b2853 debugging prints. add rendered_hidden field to tilegrid 2023-05-31 20:57:17 -05:00
Jeff Epler
a999e40935 synthio: reorganize the order of operations
Apply envelope & panning after biquad filtering.

This may fix the weird popping problem. It also reduces the number
of operations that are done "in stereo", so it could help performance.

It also fixes a previously unnoticed problem where a ring-modulated
waveform had 2x the amplitude of an un-modulated waveform.

The test differences look large but it's because some values got changed
in the LSB after the mathematical divisions were moved around.
2023-05-31 14:22:43 -05:00
Jeff Epler
30b69a821e
synthio: update ring mod manual test 2023-05-30 19:32:24 -05:00
foamyguy
06057a63e6 don't consider refresh areas for hidden groups or tilegrids 2023-05-30 19:25:08 -05:00
Jeff Epler
8a564602a1
synthio: this modified biquad test lets me hear what I'm hunting 2023-05-30 19:21:13 -05:00
Jeff Epler
5f7998e6f2
synthio: improve rounding in biquad
this removes a marked DC offset and may cure the 'pops' problem.
2023-05-30 13:43:06 -05: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
Jeff Epler
8a85deb1e2 synthio: shift 19 was too much for a note with amplitude 1 2023-05-30 09:26:14 -05:00
Jeff Epler
3151656f4b synthio: more fir-filter removal; fix biquad logic errors 2023-05-30 09:24:26 -05:00
Jeff Epler
1d58b550b5
synthio: fix doc build 2023-05-29 13:07:15 -05:00
Jeff Epler
f5388e12af
synthio: add manual filter frequency sweeping to standalone test
.. by assigning a new band pass filter to the note every 2 frames
2023-05-29 11:23:45 -05:00
Jeff Epler
a891e149a6
synthio: Fix multichannel biquad filtering 2023-05-29 11:23:07 -05:00
Jeff Epler
51027974e5
synthio: apply biquad filters during synthesis 2023-05-29 10:53:48 -05:00
Jeff Epler
fed8d5825b
synthio: add biquad filter type & basic filter calculations
the filter cannot be applied as yet.
2023-05-29 09:50:18 -05: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