Commit graph

16 commits

Author SHA1 Message Date
068d4919bf fix doc markup problem 2024-09-24 12:11:15 -05:00
RetiredWizard
32537edb09 esp32s3: Implement sdioio 2024-09-18 17:37:59 -04:00
elpekenin
bc7a052cbb fix some doc-comments 2024-08-23 23:00:56 +02:00
Dan Halbert
3f4d9310ff CircuitPython files: replace STATIC with static 2024-05-20 11:02:17 -04:00
Dan Halbert
747b7619ea update headers of most CircuitPython-only files 2024-05-17 14:56:28 -04:00
64b822cb66
Apply suggestions from code review
Co-authored-by: Scott Shawcroft <scott@tannewt.org>
2024-04-03 17:47:34 -05:00
9efb034cba Add pio-based flux capturing for rp2040 2024-04-02 15:42:28 -05:00
1be36bd7cb Add floppyio to unix port, test mfm decoding 2024-04-02 15:42:28 -05:00
7d2e46aa19 Update adafruit_floppy 2024-04-02 14:57:20 -05:00
774f6ac6ab
Switch to using MP_ERROR_TEXT instead of translate, globally 2023-10-30 09:49:06 +01:00
Dan Halbert
0d2c3c3f08 wip: continuing compilation fixes; mp_obj_alloc everywhere 2023-08-07 20:45:57 -04:00
907c5d387f
Tweak black_bindings
Originally, black_bindings found each contiguous "//|" block and sent
it to black independently. This was slower than it needed to be.

Instead, swap the comment prefix: when running black, take off
"//|" prefixes and put "##|" prefixes on all un-prefixed lines.
Then, after black is run, do the opposite operation

This more than doubles the overall speed of "pre-commit run --all",
from 3m20s to 55s CPU time on my local machine (32.5s to under 10s
"elapsed" time)

It also causes a small amount of churn in the bindings, because
black now sees enough context to know whether one 'def' follows another
or ends the 'def's in a 'class'. In the latter case, it adds an extra
newline, which becomes a "//|" line.

I'm less sure why a trailing comma was omitted before down in
rp2pio/StateMachine.c but let's roll with it.
2022-09-30 11:18:13 -05:00
b2cc8d2aad
run black_bindings across all bindings 2022-09-27 15:21:42 -05:00
5ac3aeaac7
Remove unused header 2022-08-04 15:11:47 -05:00
a08c5c0950
fix types 2022-01-13 19:33:10 -06:00
d816a4f19d
Add floppyio
Initially enabled for samd51, this enables reading raw flux data as well
as DOS/MFM formatted media.

This is only the low-level code for reading & decoding flux pulses from a floppy drive.
high level details will live in a Python library.

adafruit-circuitpython-floppy will take care of details like stepping
from track to track, etc.
2022-01-13 15:37:36 -06:00