Scott Shawcroft
9633c4e78f
Merge remote-tracking branch 'adafruit/main' into v1.20-merge
2023-10-11 11:21:57 -07:00
Scott Shawcroft
2910dea6fd
Almost fix extra_coverage test
2023-10-11 10:04:02 -07:00
Scott Shawcroft
18c03a74dd
Fix a few tests
...
* Re-enable a couple FATFS configurations we added.
* Remove MICROPY_PY_IO_FILEIO.
* Remove uasyncio from standard unix build.
* Re-add our unicode printing improvements.
2023-10-05 10:59:08 -07:00
Jeff Epler
542d1571bf
Fix getenv test
2023-10-02 08:56:27 -05:00
Jeff Epler
499ea3f0e8
Restore unix Makefile functionality
2023-10-02 07:28:20 -05:00
Jeff Epler
fb6f4c938c
tweak coverage build configuration
2023-09-22 14:26:51 -05:00
Jeff Epler
d1ee906afd
fix dependency on generated header
2023-09-22 14:14:07 -05:00
Jeff Epler
2cc07aef73
dummy RUN_BACKGROUND_TASKS for unix port
2023-09-22 13:39:08 -05:00
Jeff Epler
87feeab922
fix ringbuf differences
2023-09-22 13:38:56 -05:00
Jeff Epler
e1fffe67a0
split heap doesn't build yet so don't test it
2023-09-22 10:40:34 -05:00
Jeff Epler
4902b76129
guard this file against being included twice
2023-09-22 10:40:21 -05:00
Jeff Epler
e7668ed91d
spelling
2023-09-20 11:23:34 -05:00
Jeff Epler
2b754b1f6b
spelling
2023-09-20 11:23:28 -05:00
Dan Halbert
2c0fa0f7dc
initial merge from v1.20.0; just satisifying conflicts
2023-09-19 11:10:12 -04:00
Dan Halbert
88c22d5052
remove last uses of 'u' prefix
2023-08-22 12:57:47 -04:00
Dan Halbert
bfccb77ec1
asyncio test fixes and asyncio library updates
2023-08-18 13:16:16 -04:00
Jeff Epler
843fdbb250
Add a missing MP_PROTO_IMPLEMENT
2023-08-15 13:25:25 -05:00
Jeff Epler
94b89b7e57
enable exception chaining so we can run the test
2023-08-15 11:54:48 -05:00
Dan Halbert
3d48e87e60
jepler: fix 18 tests (redo commit to be correct)
2023-08-14 18:34:32 -04:00
Dan Halbert
545d434239
Revert "jepler: fix 18 tests"
...
This reverts commit 5ad35004cb
.
2023-08-14 18:21:50 -04:00
Dan Halbert
5ad35004cb
jepler: fix 18 tests
2023-08-14 17:53:38 -04:00
Dan Halbert
b73f05fe64
turn off viper tests; thanks jepler
2023-08-14 16:43:07 -04:00
Dan Halbert
8cf5b6e707
fixes to unix port support; thanks @jepler
2023-08-14 09:51:52 -04:00
Dan Halbert
d582407b06
pre-commit fixes
2023-08-14 00:59:22 -04:00
Dan Halbert
2171e67c1b
merge latest adafruit/main
2023-08-13 19:43:54 -04:00
Dan Halbert
27c7807693
silabs build needs work; other builds are working
2023-08-13 19:05:16 -04:00
Dan Halbert
fe0e2f13bc
wip; fix qstr processing
2023-08-10 20:06:32 -04:00
Dan Halbert
0d2c3c3f08
wip: continuing compilation fixes; mp_obj_alloc everywhere
2023-08-07 20:45:57 -04:00
Dan Halbert
0d4bc8c163
initial v1.19.1 merge; not compiled yet
2023-08-01 13:50:05 -04:00
Jeff Epler
164fcb22c2
Enable "from __future__ import annotations" on unix build
2023-07-10 13:53:26 -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
Jeff Epler
4da32a7b86
Merge remote-tracking branch 'origin/main' into synthio-lfo-dag
2023-05-19 11:56:13 -05:00
Scott Shawcroft
9d11bda9e8
Fix memoryview.cast over sliced memoryview
...
Fixes #4758
2023-05-18 13:26:50 -07:00
Jeff Epler
391438102b
synthio: Finish implementing Math blocks
2023-05-17 16:32:20 -05:00
Jeff Epler
f83212314e
synthio: Add LFOs
2023-05-15 21:15:39 -05:00
Jeff Epler
a7da245ad0
synthio: Add synthio.Note
...
This class allows much more expressive sound synthesis:
* tremolo & vibrato
* arbitrary frequency
* different evelope & waveform per note
* all properties dynamically settable from Python code
2023-05-04 07:23:49 -05:00
Jim Mussared
a42a8022d8
extmod/modbluetooth: Make all HCI transports trace in the same format.
...
- Use HCI_TRACE macro consistently.
- Use the same colour formatting.
- Add a tool to convert to .pcap for Wireshark.
Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
2023-04-26 11:37:20 +10:00
Jim Mussared
256f47e2f8
extmod/btstack: Fix indicate/notify queuing.
...
This adds a mechanism to track a pending notify/indicate operation that
is deferred due to the send buffer being full. This uses a tracked alloc
that is passed as the content arg to the callback.
This replaces the previous mechanism that did this via the global pending
op queue, shared with client read/write ops.
Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
2023-04-26 11:37:20 +10:00
Damien George
9e6885ad82
extmod/btstack: Switch to use hci_dump_init instead of hci_dump_open.
...
The latter is no longer available in the version of BTstack now in use by
this repository.
Signed-off-by: Damien George <damien@micropython.org>
2023-04-22 00:39:31 +10:00
Jeff Epler
b9dea05dbf
Enable audiomixer on unix port, for testing
2023-04-05 09:02:03 -05:00
Jeff Epler
b011468251
Add synthio.Synthesizer
...
In contrast to MidiTrack, this can be controlled from Python code,
turning notes on/off as desired.
Not tested on real HW yet, just the acceptance test based on checking
which notes it thinks are held internally.
2023-04-02 20:37:23 -05:00
Jeff Epler
13e17e6dcd
Make synthio debuggable in unix coverage port
2023-04-01 11:46:36 -05:00
hathach
8c1095b268
Merge branch 'main' into add-codespell
2023-03-23 14:09:57 +07:00
Jeff Epler
349dedca54
struct: Check that argument counts match, similar to cpython3
...
.. and test our struct module during the build-time tests
Closes #7771
2023-03-22 09:35:09 -05:00
hathach
fecc1bdedb
fix typos (partial) detected by codepell
2023-03-18 22:17:02 +07:00
foamyguy
f2931dec7a
empty RUN_BACKGROUND_TASKS for unix port
2023-03-14 18:26:23 -05:00
Damien George
b3c8ab37ec
py/gc: Make gc_dump_info/gc_dump_alloc_table take a printer as argument.
...
So that callers can redirect the output if needed.
Signed-off-by: Damien George <damien@micropython.org>
2023-03-10 10:58:10 +11:00
Scott Shawcroft
144aed40e3
Rename flag. Turn on UTF-8 and flag on unix
...
Also added label portion to the test.
2023-02-24 12:23:59 -08:00
Jim Mussared
69b93527d5
ports: Make BOARD default from BOARD_DIR in Makefile's.
...
This allows:
$ make BOARD_DIR=path/to/board
to infer BOARD=board, rather than the previous behavior that required
additionally setting BOARD explicitly.
Also makes the same change for VARIANT_DIR -> VARIANT on Unix.
This work was funded through GitHub Sponsors.
Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
Signed-off-by: Damien George <damien@micropython.org>
2023-02-23 09:47:08 +11:00
gamblor21
5c2bd38684
Removed gifio module from tests
2023-02-13 09:40:16 -06:00