Commit graph

5856 commits

Author SHA1 Message Date
775addafd3 audiocore: remove support for "single buffer"
This is only needed on samd51, and most of the complexity can be
implemented just once instead of in each audio sample type.

This saves 968 bytes flash on feather rp2350. More importantly,
it'll save some fraction as much on samd21 where stereo audio output
is not supported at all (but savings will be less overall because
fewer audiosample types are available)

Other builds besides raspberrypi are broken & raspberrypi is not even
tested.
2024-12-09 09:26:19 -06:00
Mark
92ef41083a
Merge pull request #9756 from jepler/synthio-blockbiquad
synthio: Add a form of biquad filter that uses BlockInputs
2024-11-10 17:43:58 -06:00
9113e171ba Throw TypeError when json-serializing invalid types
This behavior is in line with standard Python

Closes: #9768
2024-11-04 09:16:44 -06:00
0d91f1e085 Add global GCC version check
We can set some of them lower than 13 if necessary on a per-port basis.
At least esp32 and arm ports all use 13 from what I could see.
2024-11-01 11:30:24 -05:00
9e999bdfb5 need to actually build the files 2024-10-24 11:45:42 -05:00
dcooperdalrymple
1bf400d2dd Rename biquad property to filter. 2024-10-22 12:08:33 -05:00
Cooper Dalrymple
5246053563 Initial structure for biquad filter effect. 2024-10-22 09:17:58 -05:00
Dan Halbert
95b5d7a6cd Add errno.EROFS and errno.ENOSPC 2024-10-18 16:36:22 -04:00
gamblor21
064c2d8fff Fixed renaming the defines for audioeffects incorrectly 2024-10-14 10:06:06 -05:00
gamblor21
4464531279 Rename defn to add audiodelays 2024-10-12 10:30:42 -05:00
Mark
af171dab84
Merge branch 'main' into audio_effects 2024-10-03 20:38:49 -05:00
gamblor21
ac5ccdba7a Renamed module 2024-09-17 17:52:44 -05:00
gamblor21
5e923038f3 Initial audio effects commit 2024-09-17 17:52:44 -05:00
Dan Halbert
b225a3a2b4 HELP_BUILD_ERROR: link to Learn Guide 2024-09-15 18:27:09 -04:00
Dan Halbert
380d76ba45 py/objfun.h: prevent cast-align warnings 2024-09-14 12:48:49 -04:00
Dan Halbert
ebdf3391e7 turn off ulab.numpy.random, which is large 2024-09-13 16:06:22 -04:00
Dan Halbert
d777cd7d78 Merge remote-tracking branch 'adafruit/main' into merge-micropython-v1.23.0 2024-09-13 15:54:55 -04:00
Dan Halbert
05825a0af9 fix raw_code is_generator and is_async 2024-09-13 11:35:17 -04:00
Scott Shawcroft
799044c868
Merge remote-tracking branch 'adafruit/9.1.x' into merge_in_9.1.x 2024-09-12 15:14:53 -07:00
Dan Halbert
b65d9e7828 restore async scope flag to previous bit position 2024-09-12 18:06:17 -04:00
Dan Halbert
f40c2cb454 py/mpstate.h: remove permanent_pointers (unused) 2024-09-12 17:59:01 -04:00
Scott Shawcroft
30d57b1ade
Fix gc_alloc_possible()
The BLE workflow was allocating to the VM heap when it wasn't
active and causing a port_malloc.
2024-09-12 13:35:25 -07:00
Dan Halbert
02e11a9413 fix compilation issues; remove more uctypes mentions 2024-09-10 16:04:47 -04:00
Dan Halbert
54ff75410f py/emitglue.c: add is_async 2024-09-09 19:14:16 -04:00
Dan Halbert
bc6f065447 working on compilation errors 2024-09-06 23:10:41 -04:00
Dan Halbert
7812695281 non-conflict merge changes 2024-09-05 14:54:18 -04:00
Dan Halbert
1e1a8000a8 change remaining STATIC to static 2024-09-03 17:40:07 -04:00
Dan Halbert
ac7e15f88a (only) reserve merge conflicts 2024-08-28 16:31:37 -04:00
Dan Halbert
e5e9c5ca84
Merge pull request #9469 from dhalbert/merge-from-micropython-v1.22.2
Merge from micropython v1.22.2
2024-08-21 18:11:19 -04:00
Dan Halbert
450cb4963e address review comments 2024-08-21 16:50:19 -04:00
wyrdsec
e50f98e30d py/circuitpy_mpconfig.mk: Set compile flag to zero, should be set in
mpconfigboard.mk for individual boards
2024-08-07 21:07:08 -04:00
wyrdsec
6208124bd1
Merge branch 'adafruit:main' into main 2024-08-07 18:01:23 -04:00
Dan Halbert
6f721b3dbe fix more tests; get some tests from v1.23 or later 2024-08-06 22:10:39 -04:00
Dan Halbert
4b0aee4903 fix some tests 2024-08-06 16:23:12 -04:00
wyrdsec
b580df5ab3
Merge branch 'adafruit:main' into main 2024-08-02 13:42:51 -04:00
Daniel Dunn
e7b4522d66 Wifi listen interval 2024-07-30 22:12:25 -06:00
Dan Halbert
be6fa2af21 merge from main 2024-07-29 17:41:46 -04:00
Dan Halbert
014d5a54fc mpy-cross fixes 2024-07-27 16:26:02 -04:00
Dan Halbert
a6a308ce57 smoke tests on RP2040 and nRF52840 (BLE periph tested 2024-07-27 11:22:02 -04:00
Dan Halbert
c11f2af3e7 wip: blink works on trinket M0 2024-07-27 08:06:20 -04:00
Dan Halbert
71f17b08fb wip: fixing compilation 2024-07-26 18:38:46 -04:00
d335a10574 Merge remote-tracking branch 'origin/9.1.x' into merge-91x-main 2024-07-26 13:00:32 -05:00
Dan Halbert
69b667406b MPy v1.22 merge: initial merge; not compiled yet 2024-07-25 15:16:24 -04:00
5811f75a52 Warn on use of nonstandard sys.format_exception 2024-07-24 14:07:54 -04:00
eaa6f99d0e Add v6 address support to SocketPool.getaddrinfo (on espressif) 2024-07-17 12:18:29 -05:00
Scott Shawcroft
ed2f32fadb
Enable deep sleep on all ESP chips
Features of each chip is documented in this spreadsheet:
https://docs.google.com/spreadsheets/d/1NyKzHOWeWMb8UttDDugeeOANZ4m-idMHM6kiTlUUVIg/edit?usp=sharing

Fixes #9056
2024-06-13 10:26:33 -07:00
wyrdsec
1214b699ca Pervasive Displays Aurora E-paper driver 2024-06-05 20:00:45 -04:00
Damien George
a61c446c0b all: Bump version to 1.23.0.
Signed-off-by: Damien George <damien@micropython.org>
2024-05-31 14:19:55 +10:00
Brian Pugh
c624a5c0c4 py/dynruntime: Export mp_load_method_maybe and mp_arg_parse_all* funcs.
Also define `mp_type_bytearray`.  These all help to write native modules.

Signed-off-by: Brian Pugh <bnp117@gmail.com>
Signed-off-by: Damien George <damien@micropython.org>
2024-05-24 13:50:57 +10:00
Damien George
482292cc66 py/dynruntime: Add mp_obj_exception_init function to create C exception.
Signed-off-by: Damien George <damien@micropython.org>
2024-05-23 14:20:20 +10:00