Hosted Weblate
b6cccc7f28
Update translation files
...
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/
2021-08-20 05:20:18 +02:00
Hosted Weblate
0a0f800182
Merge remote-tracking branch 'origin/main' into main
2021-08-20 05:20:15 +02:00
Wellington Terumi Uemura
74a844d525
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 100.0% (1015 of 1015 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2021-08-20 05:20:15 +02:00
Boris Steinmetz
cb8c676dcf
Translated using Weblate (German)
...
Currently translated at 73.7% (749 of 1015 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/de/
2021-08-20 05:20:15 +02:00
Mark
f9f106b58d
Merge pull request #5123 from gamblor21/keypad_dup_pin_check
...
Check for duplicate pins in rows and columns
2021-08-19 22:20:04 -05:00
gamblor21
47db00f0af
Made error message clear and reduce calls
2021-08-19 20:03:49 -05:00
Scott Shawcroft
5c6e80a2bb
Shrink builds by defining advanced micropython API
...
Also, ignore more pins on SAMD boards and disable EXFAT on others.
2021-08-19 16:49:33 -07:00
Dan Halbert
419d374d3c
Merge pull request #5181 from kattni/macropad-speaker-enable
...
Add SPEAKER_ENABLE to MacroPad
2021-08-19 19:32:28 -04:00
Kattni Rembor
1185228b90
Remove SPEAKER_SHUTDOWN pin.
2021-08-19 15:18:19 -04:00
Scott Shawcroft
d2860b58b0
Check background pending before sleep
...
There is a race between when we run background tasks and when we
sleep. If an interrupt happens between the two, then we may delay
executing the background task. On some ports we checked this for
TinyUSB already. On iMX RT, we didn't which caused USB issues.
This PR makes it more generic for all background tasks including
USB.
Fixes #5086 and maybe others.
2021-08-19 12:18:13 -07:00
Jeff Epler
f1bbf406c4
remove a straggling QRIO_MODULE mention
2021-08-19 14:01:14 -05:00
Jeff Epler
6abcac4ed6
not needed on rp2040
2021-08-19 13:56:31 -05:00
Jeff Epler
371f166de1
canio: Run background tasks while waiting for message reception
...
Closes : #5004
2021-08-19 13:55:30 -05:00
Jeff Epler
6ea136987e
run codeformat
2021-08-19 13:54:13 -05:00
Scott Shawcroft
c73d41a469
Merge pull request #5178 from weblate/weblate-circuitpython-main
...
Translations update from Weblate
2021-08-19 10:38:01 -07:00
Damien George
ed42002c39
tools/autobuild: Don't use "-B" for make, it's already a fresh build.
...
And using "-B" means mpy-cross is forcefully rebuilt, sometimes with
invalid CFLAGS_EXTRA options which makes the auto-build fail.
Signed-off-by: Damien George <damien@micropython.org>
2021-08-19 23:30:17 +10:00
Tobias Thyrrestrup
0886bf46ca
stm32/Makefile: Allow GIT_SUBMODULES and LIBS to be extended.
...
Signed-off-by: Tobias Thyrrestrup <tt@LEGO.com>
2021-08-19 22:56:39 +10:00
Jim Mussared
b352db7a63
rp2/Makefile: Add "submodules" target, to match other ports.
...
Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
2021-08-19 22:54:57 +10:00
Jim Mussared
85adc25558
py/mkrules.mk: Do submodule sync in "make submodules".
...
Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
2021-08-19 22:53:44 +10:00
Jim Mussared
53145c4c5f
docs: Add docs for machine.bitstream and neopixel module.
...
Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
2021-08-19 22:50:32 +10:00
Jim Mussared
62fd450e62
drivers/neopixel: Add common machine.bitstream-based neopixel module.
...
Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
2021-08-19 22:50:32 +10:00
Jim Mussared
39e9c0788f
esp8266: Replace esp.neopixel with machine.bitstream.
...
Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
2021-08-19 22:50:32 +10:00
Jim Mussared
71f4faac27
esp32: Replace esp.neopixel with machine.bitstream.
...
Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
2021-08-19 22:50:32 +10:00
Jim Mussared
e64cda5295
stm32: Add implementation of machine.bitstream.
...
Hand-written version for M0, and cycle-counter version for everything else.
Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
2021-08-19 22:50:32 +10:00
Jim Mussared
870000f35b
extmod: Add machine.bitstream.
...
This is a generic API for synchronously bit-banging data on a pin.
Initially this adds a single supported encoding, which supports controlling
WS2812 LEDs.
Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
2021-08-19 22:50:11 +10:00
Damien George
226c0341ca
tools/mpremote: Remove support for pyb.USB_VCP in/out specialisation.
...
The sys.stdin.buffer and sys.stdout.buffer streams work just as well (and
are just as fast) as pyb.USB_VCP on stm32 devices, so there's no need to
have the USB_VCP specialisation code, which just adds complexity.
Also, on stm32 devices with both USB and UART (or other serial interface),
if something other than the USB_VCP port is used for the serial connection
then mpremote mount will not work because it will default to reading and
writing on USB_VCP instead of the other connected serial stream.
As part of this simplification, support for a second port as input is
removed (this feature was never exposed to the user).
Signed-off-by: Damien George <damien@micropython.org>
2021-08-19 18:56:11 +10:00
Jim Mussared
5555f147df
py/lexer: Clear fstring_args vstr on lexer free.
...
This was missed in 692d36d779
. It's not
strictly necessary as the GC will clean it anyway, but it's good to
pre-emptively gc_free() all the blocks used in lexing/parsing.
Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
2021-08-19 17:31:02 +10:00
Hosted Weblate
7f268a1512
Merge remote-tracking branch 'origin/main' into main
2021-08-19 00:12:54 +02:00
Dan Halbert
af2f8df52a
Merge pull request #5174 from tannewt/fix_rpi_i2c_check
...
Fix RP2040 I2C instance check
2021-08-18 18:12:47 -04:00
Jonny Bergdahl
41f34d1a27
Translated using Weblate (Swedish)
...
Currently translated at 100.0% (1015 of 1015 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2021-08-18 23:35:03 +02:00
Kattni Rembor
ae923db06d
Add SPEAKER_ENABLE pin to MacroPad.
2021-08-18 17:30:42 -04:00
microDev
0569c202ef
Merge pull request #5172 from dhalbert/tinyusb-update-2021-08-18
...
update tinyusb
2021-08-18 22:44:33 +05:30
Jeff Epler
cabe96e188
canio: Run background tasks while waiting for message reception
...
Closes : #5004
2021-08-18 11:39:40 -05:00
Scott Shawcroft
51ef3f9ff2
Merge pull request #5168 from weblate/weblate-circuitpython-main
...
Translations update from Weblate
2021-08-18 09:02:16 -07:00
Scott Shawcroft
0390f812be
Fix RP2040 I2C instance check
2021-08-18 08:55:52 -07:00
Scott Shawcroft
e0ce5ff045
Fix some builds by disabling exfat
2021-08-18 08:22:29 -07:00
Jeff Epler
2b64318a57
Update all implementations of common_hal_busio_spi_read to honor write_value
...
(nrf, rp2040, and cxd56)
.. as well as a misleading comment that said that read always output
zeros.
Closes : #3447
2021-08-18 10:20:40 -05:00
gamblor21
d02a4b9f71
Removed ulab to make space in blackpill with flash board
2021-08-18 10:16:44 -05:00
Dan Halbert
3c4c663d36
update tinyusb
2021-08-18 10:46:22 -04:00
Scott Shawcroft
1d7e24484c
Fix unicode test
2021-08-17 18:18:46 -07:00
Scott Shawcroft
11f1c42bb5
Turn on unicode for FATFS
...
This also tweaks the repr for unicode strings to only escape a few
utf-8 code points. This makes emoji show in os.listdir() for
example.
Also, enable exfat support on full builds.
Fixes #5146
2021-08-17 17:41:59 -07:00
gamblor21
e5dc722176
Fix for int type and pin validation
2021-08-17 19:16:26 -05:00
gamblor21
168ed355b1
Made check function generic
2021-08-17 17:55:26 -05:00
Hosted Weblate
5b86c2401c
Update translation files
...
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/
2021-08-17 23:14:37 +02:00
Dan Halbert
5b0009cbc4
Merge pull request #5151 from dhalbert/usb_hid-changes
...
Support multiple reports per device in usb_hid
2021-08-17 17:14:28 -04:00
Scott Shawcroft
2d8346d23b
Merge pull request #5163 from dhalbert/fix-MICROPY_HW-definitions
...
correct some status LED pin defns per #5161
2021-08-17 12:41:00 -07:00
Scott Shawcroft
a5143d284b
Merge pull request #5161 from ZodiusInfuser/patch_micropy
...
Removed unnecessary defines from Pimoroni board files
2021-08-17 12:40:12 -07:00
Dan Halbert
1bcf66ff8d
Check buffer existence in tud callbacks (addresses #5020 )
2021-08-17 15:34:48 -04:00
Kattni
18437cb283
Merge pull request #5165 from jepler/mp3-playing
...
MP3Decoder: Fix playback stopping issue
2021-08-17 13:05:25 -04:00
Dan Halbert
a0c340f727
Update ports/esp32s2/boards/microdev_micro_s2/mpconfigboard.h
...
Co-authored-by: microDev <70126934+microDev1@users.noreply.github.com>
2021-08-17 11:26:43 -04:00