Commit Graph

26382 Commits

Author SHA1 Message Date
Jeff Epler 8e895e1986
Add floppyio for rp2040
Tested on RP2040 Feather with a 3.5" Prodigy diskette, the whole
surface reads 100% across 3+ trials.
2022-01-17 16:34:47 -06:00
Jeff Epler e32f0c1513
update submodule 2022-01-17 11:13:45 -06:00
Jeff Epler 6c53b06a3c
Update adafruit floppy submodule 2022-01-14 14:11:12 -06:00
Jeff Epler 88abbb0029
submodules required must be listed explicitly 2022-01-13 20:40:30 -06:00
Jeff Epler a08c5c0950
fix types 2022-01-13 19:33:10 -06:00
Jeff Epler 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
Jeff Epler db5f99c63e
Add a function to get low level register access
The port is free to return NULL for any/all of these, and the caller has
to check.

This will be used in the floppy code, because aside from getting the
registers, it looks like all is independent of MCU.
2022-01-13 15:29:03 -06:00
Scott Shawcroft ae58858036
Merge pull request #5820 from CharString/waveshare_rp2040_zero
Waveshare RP2040-Zero board definition
2022-01-12 10:56:55 -08:00
Scott Shawcroft d5ca7f0348
Merge pull request #5842 from dhalbert/pdmin-fix
Fixes SAMD PDMIn
2022-01-12 10:50:04 -08:00
Scott Shawcroft 46c0436b1b
Merge pull request #5834 from adafruit/rpi-uart-claim-later
raspberrypi: Claim UART after checking pins
2022-01-12 10:46:39 -08:00
Scott Shawcroft 6346b9b7e3
Merge pull request #5841 from EmergReanimator/filesystem_stub
Provide filesystem stubs to fit in with changes from 41d494df0b
2022-01-12 10:44:53 -08:00
Dan Halbert dd54e8f657 PDMIn: enable IRQ; need a volatile; call pdmin_reset()
enable IRQ for PDMIn
2022-01-12 11:44:43 -05:00
Jeff Epler e76495605b
Merge pull request #5840 from tannewt/enable_tr_builds
Enable Turkish language builds
2022-01-12 09:02:39 -06:00
EmergReanimator 46a61e6788 Provide filesystem stubs to fit in with changes from 41d494df0b
filesystem stub implementation is used when DISABLE_FILESYSTEM is set.
2022-01-12 12:30:24 +01:00
Chris Wesseling 8226fb8e0b Bring pins in line with board documentation.
This brings the pins in line with the documented [pinouts]. The only
"special" pins:

 - GP0, GP1 are mentioned as the default UART, so we init them as
   such and give them the TX and RX alternative names.
 - GP16 is connected to the onboard neopixel DIN line and we assign it
   the NEOPIXEL name. (Power of the neopixel is connected to the 3.3V
   rail, not a pin. See [schematic].)
 - GP26, GP27, GP28, GP29 have unambiguous ADC designations in the
   [pinouts], so we assign the `A` analogue names as the Pico board
   definition does.

  [pinouts]: https://www.waveshare.com/wiki/RP2040-Zero#Pinouts
  [schematic]: https://www.waveshare.com/w/upload/4/4c/RP2040_Zero.pdf
2022-01-12 12:27:54 +01:00
arturo182 9b825869c5
raspberrypi : Check UART before claiming pins, claim it after
Co-authored-by: Scott Shawcroft <scott@adafruit.com>
2022-01-11 22:02:47 +01:00
Scott Shawcroft 9c6e34df0d
Merge pull request #5835 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2022-01-11 10:42:08 -08:00
hexthat 0d11e5d76a
Translated using Weblate (Chinese (Pinyin))
Currently translated at 99.1% (1022 of 1031 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/zh_Latn/
2022-01-11 15:56:57 +01:00
arturo182 2251d0f4b0
raspberrypi: Claim UART after checking pins
If, for some reason, you mix up TX and RX when calling `busio.UART` (who would do that ;) ), you get `Invalid pins`. When you go to try again, you'll get `All UART peripherals are in use` because the interface was claimed as busy before pins are verified. This should fix that issue.
2022-01-11 15:13:36 +01:00
Dan Halbert d23d2e7bf4
Merge pull request #5819 from tannewt/piunora
Add Piunora and Zero. Also, enable full build
2022-01-10 19:33:23 -05:00
Kattni 968c57e045
Merge pull request #5829 from kattni/tft-feather-pin-fix
Fix typo, pin order.
2022-01-10 15:25:45 -05:00
Scott Shawcroft 838a007ca9
Merge pull request #5813 from EmergReanimator/code_improvements
Introduced ringbuf_init to perform static buffer initialisation
2022-01-10 12:12:25 -08:00
Kattni Rembor 4efbfca2b0 Fix typo, pin order. 2022-01-10 14:45:54 -05:00
Scott Shawcroft 1220346195
Enable Turkish language builds 2022-01-10 11:08:29 -08:00
Scott Shawcroft 49451c06a9
Merge pull request #5826 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2022-01-10 11:03:45 -08:00
Gökhan Koçmarlı 811715e8cc
Translated using Weblate (Turkish)
Currently translated at 5.7% (59 of 1031 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/tr/
2022-01-09 22:53:35 +01:00
MicroDev 476b17b987
Merge pull request #5822 from PontusO/main
Added missing LDO control pin (SARA_PWR)
2022-01-09 19:18:07 +05:30
Pontus Oldberg e23b272595 Added missing LDO control pin (SARA_PWR) 2022-01-08 16:39:48 +01:00
EmergReanimator e712e50aed Updated extra coverage test corresponding to change from 6b872aca 2022-01-08 11:05:09 +01:00
Scott Shawcroft 44997523e1
Fix Pi Zero file extension 2022-01-07 16:31:21 -08:00
Chris Wesseling 783106545c Remove LED pin.
There's just the NEOPIXEL on this board, no other LED.
2022-01-07 23:25:50 +01:00
Chris Wesseling d8f18d36a4 Initial Waveshare RP2040-Zero board definition
`board.NEOPIXEL` works. Once you have an LED cycling colours, you're 99%
done. :-)
2022-01-07 23:20:10 +01:00
EmergReanimator 6b872acab7
Update py/ringbuf.c
Co-authored-by: Scott Shawcroft <scott@tannewt.org>
2022-01-07 21:18:51 +01:00
Scott Shawcroft bec36f5c7f
Add Pi Zero and update PIDs 2022-01-07 11:47:31 -08:00
Scott Shawcroft 39a239113f
Enable neopixel for status 2022-01-07 11:23:50 -08:00
Scott Shawcroft 3238d8364d
Piunora + full build + high speed usb 2022-01-07 11:23:50 -08:00
Scott Shawcroft 5f32d1f34b
Piunora pinout 2022-01-07 11:23:49 -08:00
Scott Shawcroft fb6ab72392
Merge pull request #5816 from bd34n/bdmicro_vina_d51_led_aux
ports/atmel-samd/boards/bdmicro_vina_d51/pins.c: Add LED_AUX pin.
2022-01-07 10:47:32 -08:00
Scott Shawcroft 06ddf06a49
Merge pull request #5817 from EmergReanimator/file_permission_fix
Files' execution permission fix
2022-01-07 10:45:10 -08:00
Dan Halbert afd686986a
Merge pull request #5800 from tannewt/rpi_zero
Initial Pi Zero support
2022-01-07 09:05:30 -05:00
EmergReanimator 54065a7719 Updated to latest uf2 commit where file permissions are corrected. 2022-01-07 10:04:11 +01:00
EmergReanimator 990c00209f Removed obsolete file. 2022-01-07 09:47:25 +01:00
EmergReanimator 0b5681a310 Added execution permission for board and memory info python scripts 2022-01-07 09:46:16 +01:00
Scott Shawcroft 5256748b1b
Fix up filesystem safe mode comment 2022-01-06 14:36:16 -08:00
Brian Dean 1fb4f02de2 ports/atmel-samd/boards/bdmicro_vina_d51/pins.c: Add LED_AUX pin. 2022-01-06 16:32:17 -05:00
Scott Shawcroft fa272f5a70
Fix iMX and zero_w build extension 2022-01-06 10:24:02 -08:00
Scott Shawcroft 513a954d92
Merge pull request #5812 from EmergReanimator/tinyusb_port_config
Allow to tailor tinyusb configuration for port specific needs
2022-01-06 10:06:46 -08:00
Scott Shawcroft d117bc7775
Merge pull request #5815 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2022-01-06 09:55:30 -08:00
Scott Shawcroft 2a2f94df15
Update tinyusb for zero support 2022-01-06 08:52:33 -08:00
Gökhan Koçmarlı f3bd397639
Translated using Weblate (Turkish)
Currently translated at 4.4% (46 of 1031 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/tr/
2022-01-06 15:54:10 +01:00