Scott Shawcroft
db8bd56c6c
Merge pull request #7946 from anecdata/ap_ipv4
...
Allow Access Point static IPv4 on the espressif port
2023-05-12 08:47:07 -07:00
Scott Shawcroft
02d4c8153b
Merge pull request #7953 from jepler/issue7944-v3
...
Fix some regressions on feather M7
2023-05-12 08:34:39 -07:00
Dan Halbert
e8194a6087
Merge pull request #7967 from bojanpotocnik/add_missing_esp32s3_pins
...
Add missing ESP32-S3 pins to microcontroller module
2023-05-12 10:25:31 -04:00
Bojan Potočnik
74624e7c22
Add missing ESP32-S3 pins to microcontroller module
...
ESP32-S3 defines two additional general use pins in
ports/espressif/peripherals/esp32s3/pins.h, for which
support is missing in the microcontroller module HAL.
2023-05-12 09:10:26 +02:00
Jeff Epler
5a5474b5dc
mimxrt: 101x: MIDI_RX_BUFSIZE must be 512
...
It's not clear why this is required, but otherwise it stops
midi_intest1 from ever receiving any MIDI events.
Closes : #7944
2023-05-11 21:47:54 -05:00
Jeff Epler
137e55696e
Merge pull request #7964 from tannewt/fix_imx_usb_reset
...
Correct pad count.
2023-05-11 21:47:36 -05:00
Scott Shawcroft
99a7047484
Merge pull request #7960 from thess/workflow_init
...
Do not enable web_workflow background callbacks if wifi is not enabled/connected
2023-05-11 15:25:26 -07:00
Mark
6b703ea733
Merge pull request #7963 from dhalbert/esp-spi-baudrate
...
Report SPI frequency accurately on Espressif
2023-05-11 17:13:39 -05:00
Scott Shawcroft
a56174dc10
Correct pad count.
...
This prevents running into the pins that cannot be reset. On 1011
it was off by one pin that isn't attached to the package. So,
having the USB pins forbidden prevented resetting to a NULL address.
Fixes #7952
2023-05-11 15:02:56 -07:00
Ted Hess
9c45551880
Do not enable web_workflow background callbacks if wifi is not enabled/connected
2023-05-11 17:01:53 -04:00
Dan Halbert
d99b0634f7
Report SPI frequency accurately on Espressif
2023-05-11 16:57:07 -04:00
Scott Shawcroft
c75a768b59
Merge pull request #7949 from FoamyGuy/group_contains_stub
...
adding __contains__ stub to displayio.Group
2023-05-11 10:00:39 -07:00
foamyguy
c9bb53b48a
adding __iter__ stub to displayio.Group
2023-05-11 07:52:03 -05:00
Scott Shawcroft
93b0e5b746
Merge pull request #7958 from ajs256/add-display-sprig
...
Add board.DISPLAY to hack_club_sprig
2023-05-10 11:45:19 -07:00
Alex Sirota
55d8f0db4e
Add board.DISPLAY to hack_club_sprig
2023-05-10 11:24:26 -07:00
Scott Shawcroft
08874af0e8
Merge pull request #7957 from tekktrik/dev/stubs-building
...
Updated how stubs are built
2023-05-10 11:20:24 -07:00
Tekktrik
57cd451245
Add build to pio install command
2023-05-09 22:31:24 -04:00
Tekktrik
6f8670a284
Updated how stubs are built
2023-05-09 22:01:24 -04:00
Scott Shawcroft
7e734df892
Merge pull request #7951 from Neradoc/pystack-doc-and-size
...
Document CIRCUITPY_PYSTACK_SIZE
2023-05-09 09:14:17 -07:00
Scott Shawcroft
f8cbdf88e5
Merge pull request #7947 from FoamyGuy/polygon_point_typecheck
...
validate point type is tuple in vectorio Polygon
2023-05-09 09:12:17 -07:00
Neradoc
bb2af51d25
document CIRCUITPY_PYSTACK_SIZE
2023-05-09 14:30:25 +02:00
anecdata
29bf64decb
raspberrypi common-hal f(x)s Not Implemented
2023-05-08 22:41:33 -05:00
foamyguy
7c685477ba
adding __contains__ stub to displayio.Group
2023-05-08 16:41:57 -05:00
foamyguy
56d9798b1d
validate point type is tuple in vectorio Polygon
2023-05-08 15:39:19 -05:00
Scott Shawcroft
9e4dea7b15
Merge pull request #7933 from jepler/synthio-note
...
synthio: add 'Note' with arbitrary frequency and more
2023-05-08 13:32:37 -07:00
anecdata
82c173e8cf
assuming the answer to that is 'yes'
2023-05-08 14:26:01 -05:00
anecdata
d78e5bd64c
fix accidental indent
2023-05-08 14:18:06 -05:00
anecdata
7581d3d0b0
Fix docstring
2023-05-08 13:30:32 -05:00
anecdata
2f2a9e7e28
Allow Access Point static IPv4 on the espressif port.
2023-05-08 13:25:52 -05:00
Scott Shawcroft
7cd65ffb40
Merge pull request #7942 from furbrain/main
...
Add memorymap support to nrf boards
2023-05-08 10:42:29 -07:00
Scott Shawcroft
6c39077616
Merge pull request #7939 from RetiredWizard/silabsrtc
...
silabs/supervisor/port.c Add call to rtc_reset to prevent crash to safe mode
2023-05-08 10:20:30 -07:00
Jeff Epler
c031bda5dd
synthio: implement a range compressor with hard knee
...
This really improves the loudness of the output with multiple notes
while being a nice simple algorithm to implement.
2023-05-08 09:22:42 -05:00
Phil Underwood
bcd9d6bacc
Add memorymap to nrf52840 devices only
2023-05-07 18:21:22 +01:00
Phil Underwood
fe90cc759a
remove excess line
2023-05-07 16:09:44 +01:00
Phil Underwood
a31dc5cc70
Merge branch 'adafruit:main' into main
2023-05-07 16:07:16 +01:00
Phil Underwood
3abcc6a2c3
Add memorymap support for the nRF processors.
...
This gives very permissive access to the internals of the microprocessor.
It needs the user to be **very** careful that they do not break things
2023-05-07 15:58:25 +01:00
Jeff Epler
9a9f3229fa
synthio: Perform vibrato in pitch, not as frequency ratio
...
Now the vibrato 'units' are 1.0 = one octave, 1/12 = one semitone,
1/1200 = one cent. Before, the units were somewhat arbitrary and were not
perceptually "symmetrical" around the base frequency.
For vibrato_depth = 1/12 and base frequency of 440,
before: pitch from 403.33 to 476.67Hz, not corresponding to any notes
after: pitch from 415.30 to 466.16Hz, corresponding to G# and A#
2023-05-06 21:35:20 -05:00
Jeff Epler
a53c0ed066
synthio: add onevo_to_hz, implement midi_to_hz in terms of it
...
this has the side effect of making some notes more accurate, the new
frequency= value in the test is closer to the true midi frequency of
830.609...Hz.
2023-05-06 21:35:19 -05:00
Jeff Epler
a854e554f4
synthio: add midi_to_hz to docs
2023-05-06 21:35:16 -05:00
RetiredWizard
a52d0c742e
Add call to rtc_reset
2023-05-06 03:16:38 -04:00
Kattni
018f15de95
Merge pull request #7938 from jepler/issue5980
...
Fix crash with fast ping on espressif
2023-05-05 18:52:02 -04:00
Jeff Epler
66411fdd38
espressif: check return value from esp_ping_new_session
...
esp_ping_new_session can fail, particularly if ping is called quickly
many times in succession.
This is because `esp_ping_new_session` has to do a bunch of stuff
including creating a task and a socket. Calling `esp_ping_delete_session`
doesn't clean up these resources immediately. Instead, it signals the
task to clean up resources and exit 'soon', but 'soon' is defined as 1
second.
When the calls are frequent, the in-use sockets and tasks fill up
available slots—I didn't actually check which resource gets used
up first.
With this change, the ping call will raise an exception instead of
continuing with a call to esp_ping_start that crashes.
Closes #5980 based on my testing on an ESP32S3-N8R2.
2023-05-05 17:11:03 -05:00
Jeff Epler
5c857209fd
Merge pull request #7934 from tekktrik/fix/venv-bug
...
Fix creating virtual environment for stub creation
2023-05-05 09:29:04 -05:00
Alec Delaney
298bd16529
Fix creating virtual environment for stub creation
2023-05-04 15:55:33 -04:00
Jeff Epler
d2aca7eba0
synthio: fix per-note envelope & envelope modification
...
.. and simplify the envelope advance logic by handling
'instant' values more intelligently.
2023-05-04 12:23:45 -05:00
Scott Shawcroft
fa9b59d14c
Merge pull request #7915 from RetiredWizard/picodvi
...
Add Pimoroni Pico dv Demo Base (pico only)
2023-05-04 10:07:48 -07:00
Jeff Epler
eebd4a7f52
synthio: no longer fits on feather m4 can
2023-05-04 10:16:58 -05:00
Jeff Epler
a94031d094
synthio: make most Note constructor args kw-only
...
for similar reasons as Envelope. The mandatory frequency argument can
still be given as a positional argument.
2023-05-04 10:16:19 -05:00
Jeff Epler
c839888e28
synthio: rename function that records error position
2023-05-04 08:45:31 -05:00
Jeff Epler
a388a59543
rp2040: fix audio glitch at soft-reload
...
The internal flash cache wasn't being properly used, because
`write_blocks` unconditionally performed the flash write.
Fixing this so that the write's not done until `internal_flash_flush`
fixes the problem in my test program with i2sout & synthio.
as a future optimization, `flash_read_blocks` could learn to read out
of the cache, but that's probably not super important.
2023-05-04 08:41:23 -05:00