Commit Graph

30636 Commits

Author SHA1 Message Date
Jeff Epler e728a0c1b9
switch to 16.16 fixed point for synthesis 2023-04-01 11:47:27 -05:00
Jeff Epler e9e4ce9546
add waveform support in synthio
a waveform object (array of 'h') can be passed in, replacing the
standard square wave. This waveform must be a 'single cycle waveform'
and some obvious things to pass in are sine, triangle or sawtooth waves,
but you can construct whatever you like.
2023-04-01 11:46:38 -05:00
Jeff Epler 13e17e6dcd
Make synthio debuggable in unix coverage port 2023-04-01 11:46:36 -05:00
Jeff Epler db1e01c462
Don't require huge buffers for long-held notes 2023-04-01 11:46:36 -05:00
Jeff Epler 7f73ff1b2d
hold accumulator phase across span
this fixes grunk in held notes
2023-04-01 11:46:35 -05:00
Jeff Epler 02f8a45dfa
synthio: allow increasing number of channels
12 channels works well on metro m7
2023-04-01 11:46:27 -05:00
MicroDev e8711ee836
Merge pull request #7821 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2023-03-31 20:45:20 +05:30
Jonny Bergdahl e4a002b96c
Translated using Weblate (Swedish)
Currently translated at 100.0% (1002 of 1002 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2023-03-31 16:39:50 +02:00
Wellington Terumi Uemura cef262fd5c
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (1002 of 1002 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2023-03-31 16:39:50 +02:00
Jose David M 3b60215ac9
Translated using Weblate (Spanish)
Currently translated at 100.0% (1002 of 1002 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/es/
2023-03-31 16:39:49 +02:00
Ettore Atalan 72614ed09e
Translated using Weblate (German)
Currently translated at 100.0% (1002 of 1002 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/de/
2023-03-31 16:39:49 +02:00
Dan Halbert b25c84efc7
Merge pull request #7820 from deneyapkart/main
Fix VID and Local_Hostname of DeneyapKart1A_v2
2023-03-31 08:21:05 -04:00
Dogus Cendek dea5d1c4ea
Update .pre-commit-config.yaml 2023-03-31 11:50:43 +03:00
Dogus Cendek eaa1c4e3be
Merge branch 'adafruit:main' into main 2023-03-31 11:49:39 +03:00
Dogus Cendek 2d48e9b0b7 Fix VID and Local_Hostname of DeneyapKart1A_v2
Fix VID and Local_Hostname of DeneyapKart1A_v2
2023-03-31 11:44:23 +03:00
Dan Halbert 9c587ccfec
Merge pull request #7819 from jepler/sort-website-release-blurb
sort new boards & new languages lists in circuitpython.org update PR
2023-03-30 21:34:09 -04:00
Jeff Epler 96b2604083
sort new boards & new languages lists in circuitpython.org update PR 2023-03-30 15:39:25 -05:00
Dogus Cendek 77236c31d8
Merge branch 'adafruit:main' into main 2023-03-30 18:49:13 +03:00
Dan Halbert b07de078f9
Merge pull request #7818 from CDarius/m5stack_stickc_fixes
M5stack Stick-C fixes
2023-03-30 09:33:07 -04:00
CDario 1ea6d7b9f4 Updatate PMU initializaiton. Increased low battery waring levels and disabled some interrupts 2023-03-30 09:24:52 +00:00
CDario 808df200ab Added pin connected to AXP192 N_VBUSSEN 2023-03-30 09:15:17 +00:00
CDario 24ed20b1fc Fixed boot led inverted status 2023-03-30 09:06:34 +00:00
Dogus Cendek bde6b2d395
Merge branch 'adafruit:main' into main 2023-03-30 08:51:09 +03:00
Dan Halbert 55c3e9f6c6
Merge pull request #7814 from thess/deep-sleep-wakeup
Allow web_workflow to startup after deep sleep alarm wakeup
2023-03-29 23:07:54 -04:00
MicroDev b014e942a7
Merge pull request #7816 from dhalbert/gifio-doc-fix
doc typo fix in OnDiskGif
2023-03-30 07:37:16 +05:30
Dan Halbert a10ce2170c doc typo fix in OnDiskGif 2023-03-29 17:16:39 -04:00
Dan Halbert b863fba992
Merge pull request #7813 from gneverov/issue_7790
don't set tcp_err callback for listen sockets (fixes #7790)
2023-03-29 17:14:42 -04:00
Dan Halbert 9203b66142
Merge pull request #7815 from bill88t/intercontinental-ballistic-typo
24Mhz -> 240Mhz
2023-03-29 17:12:09 -04:00
Bill Sideris b746fd05ba
24Mhz -> 240Mhz 2023-03-29 23:58:54 +03:00
Ted Hess 1a5afd485b Allow web_workflow to startup after deep sleep alarm wakeup 2023-03-29 15:47:17 -04:00
Dan Halbert 5909ceacc6
Merge pull request #7806 from dhalbert/no-report-id-out-reports
Handle HID OUT reports with no report ID
2023-03-29 15:33:36 -04:00
Jeff Epler 703b8b2272
Merge pull request #7812 from dhalbert/merge-8.0.x-to-main
Merge #7810 from 8.0.x to main
2023-03-29 14:28:34 -05:00
Dan Halbert 81482a6f66 Merge remote-tracking branch 'adafruit/8.0.x' into merge-8.0.x-to-main 2023-03-29 14:52:49 -04:00
Gregory Neverov 173bc198c6 don't set tcp_err callback for listen sockets 2023-03-29 11:49:32 -07:00
Dan Halbert 6a4830b0cf
Merge pull request #7810 from jepler/read-error-getenv
getenv: treat a read error like eof
2023-03-29 13:04:43 -04:00
Ozgur BOSTAN 3ea5d4e91c
Merge branch 'adafruit:main' into main 2023-03-29 19:12:49 +03:00
Jeff Epler a8bbb21eeb
Use short-circuiting or (also may save some code size)
Co-authored-by: Dan Halbert <halbert@adafruit.com>
2023-03-29 10:09:01 -05:00
Jeff Epler cc3d0f6fa1
getenv: treat a read error like eof
Otherwise, the following would occur:
 * settings.toml is in the process of being written by host computer
 * soft-reset begins
 * web workflow tries to grab CIRCUITPY_WIFI_SSID, but loops forever
   because FAT filesystem is in inconsistent state and file reads error
 * settings.toml write by host computer never completes and the filesystem
   remains corrupt
 * restarting yields a soft-bricked device, because startup reads
   CIRCUITPY_WIFI_SSID again
2023-03-29 10:04:06 -05:00
Dan Halbert 3cd9f3381c
Merge pull request #7809 from microdev1/espnow
Fix espnow reinit, remove todos and improve docs
2023-03-29 07:54:50 -04:00
Dogus Cendek af081f51a5
Merge branch 'adafruit:main' into main 2023-03-29 11:22:26 +03:00
MicroDev f14861c245
fix espnow reinit, remove todos and improve docs 2023-03-29 10:21:58 +05:30
Dan Halbert b57b8dc3b8
Merge pull request #7805 from jepler/mimxrt1011-i2s-sample-rate
mimxrt: Fix output frequency for samples that don't divide 192kHz
2023-03-28 16:50:30 -04:00
Dan Halbert b2535496b0 use max-inline-insns-auto=110 only on SAMD21 2023-03-28 16:28:31 -04:00
Dan Halbert 058499fccf
Merge pull request #7807 from kattni/feather-rp2040-rfm-board-def
Add Feather RP2040 RFM, update DVI.
2023-03-28 16:16:41 -04:00
Dan Halbert 11082435f1 shrink SAMD21 builds by a few hundred bytes 2023-03-28 16:05:17 -04:00
Kattni Rembor 2a4383e633 Add Feather RP2040 RFM, update DVI. 2023-03-28 15:23:19 -04:00
Dan Halbert d289329344 Handle HID OUT reports with no report ID 2023-03-28 11:38:38 -04:00
Jeff Epler cb5e1a1e98
mimxrt: Fix output frequency for samples that don't divide 192kHz
This makes all the samples from Dan's collection register as 440Hz
when playing on pwmio or i2sout, using https://webaudiodemos.appspot.com/pitchdetect/index.html
to detect the frequency played (all should show as A 440Hz; an error
of up to 20 "cents" should be treated as OK)

There's an audible carrier with PWM output and the 8kHz samples. This is
probably a limitation of the peripheral which is documented as being for
input signals of 44 kHz or 48 kHz; the carrier frequency is a fixed
multiple of the sample frequency.

Closes #7800
2023-03-28 10:18:28 -05:00
Dan Halbert 3e657afbb4
Merge pull request #7804 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2023-03-28 11:03:02 -04:00
Hosted Weblate 618cfb0dc3
Merge remote-tracking branch 'origin/main' 2023-03-28 16:30:15 +02:00