Commit Graph

26376 Commits

Author SHA1 Message Date
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
EmergReanimator
ee8000050d Fixed unix port extra_coverage test failure 2022-01-06 13:00:20 +01:00
EmergReanimator
12046323a2 Fixed unit port build issue 2022-01-06 09:27:44 +01:00
EmergReanimator
da58c029a0 Introduced ringbuf_init to perform static buffer initialisation 2022-01-05 20:48:44 +01:00
Scott Shawcroft
faa26ef6ae
Merge pull request #5810 from EmergReanimator/bugfix
Fixed build issue when INTERNAL_FLASH_FILESYSTEM, DISABLE_FILESYSTEM set
2022-01-05 10:41:12 -08:00
Scott Shawcroft
5600f1b7d8
Merge pull request #5811 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2022-01-05 10:40:39 -08:00
EmergReanimator
6dbb662787 Allow to tailor tinyusb configuration for port specific needs 2022-01-05 19:28:07 +01:00