Commit Graph

27307 Commits

Author SHA1 Message Date
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
iabdalkader f2ccf87e0b extmod/network_ninaw10: Use socket timeout preset in modusocket. 2022-01-12 14:37:40 +11:00
iabdalkader 842da93011 extmod/modusocket: Initialise accepted socket state. 2022-01-12 14:37:32 +11:00
iabdalkader 67420de4f4 extmod/modusocket: Allow setting timeout on unbound sockets.
For an extended state socket, if settimeout() is called before a NIC is
bound, save the timeout until the NIC is bound.
2022-01-12 14:36:55 +11: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
stijn b47b245c2e windows/appveyor: Build mpy-cross only once for mingw-w64.
The main Makefile builds the mpy-cross executable automatically if
it doesn't exist since 78718fffb1,
so build it first to make sure it doesn't get needlessly rebuilt.
2022-01-10 15:01:03 +01:00
0hotpotman0 86a482f520 add ble stack 7.3.0 version for complie the uf2 flie 2022-01-10 11:05:06 +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
Damien George ff0227fa0d esp32/boards/GENERIC_D2WD: Build with -Os optimisation.
This board has only 2MiB of flash so the build needs to be reduced in size
to fit.  Commit 549448e8bb made all boards
build with -O2 by default (for performance) so this overrides that default.

Signed-off-by: Damien George <damien@micropython.org>
2022-01-09 11:25:37 +11:00
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
Damien George 1892d03740 mimxrt,stm32: Enable MICROPY_PY_USSL_FINALISER.
This is needed because these ports allocate mbedtls data on the MicroPython
heap, and SSL socket objects must be fully cleaned up when they are garbage
collected, to free this memory allocated by mbedtls.  As part of this,
gc_sweep_all() will now ensure that the MP_STATE_PORT(mbedtls_memory)
linked-list is fully deallocated on soft reset.

Signed-off-by: Damien George <damien@micropython.org>
2022-01-08 00:02:04 +11:00
Damien George 772058a6bd py/mpconfig.h: Define MICROPY_PY_USSL_FINALISER only if not defined.
So a port can define it even if MICROPY_PY_USSL is not defined.

Signed-off-by: Damien George <damien@micropython.org>
2022-01-07 23:59:17 +11: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
stijn 22cf0940e1 py/modbuiltins: Add additional macro for extending builtins.
Mainly useful for defining additional globals in boards and variants.
2022-01-07 11:36:52 +11:00
Damien George df3f59ca4b ports: Update board.json files to link to new board images.
Signed-off-by: Damien George <damien@micropython.org>
2022-01-07 11:33:28 +11: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