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
EmergReanimator
12046323a2
Fixed unit port build issue
2022-01-06 09:27:44 +01:00
Damien George
b96318ab61
esp32: Enable platform module with IDF version.
...
Output looks like this:
>>> import platform
>>> platform.libc_ver()
('newlib', '3.0.0')
>>> platform.platform()
'MicroPython-1.17.0-xtensa-IDFv4.2.2-with-newlib3.0.0'
>>> platform.python_compiler()
'GCC 8.4.0'
Signed-off-by: Damien George <damien@micropython.org>
2022-01-06 18:25:48 +11:00
Damien George
3243abfda2
extmod/moduplatform: Detect xtensa arch.
...
Signed-off-by: Damien George <damien@micropython.org>
2022-01-06 18:24:52 +11:00
Damien George
000b001fc1
rp2/boards/GARATRONIC_PYBSTICK26_RP2040: Use correct pico-sdk board cfg.
...
Signed-off-by: Damien George <damien@micropython.org>
2022-01-06 16:50:20 +11:00
Damien George
4693cf9081
rp2/CMakeLists.txt: Allow a board to override PICO_BOARD.
...
Signed-off-by: Damien George <damien@micropython.org>
2022-01-06 16:49:57 +11:00
Damien George
d4997c7b60
lib/stm32lib: Update library for fix to F7 USB HS.
...
Fixes build on MCUs with built-in USB HS PHY.
Signed-off-by: Damien George <damien@micropython.org>
2022-01-06 16:43:22 +11:00
Damien George
8ac5613419
LICENSE,docs: Update copyright year range to include 2022.
...
Signed-off-by: Damien George <damien@micropython.org>
2022-01-06 15:50:14 +11:00