Christian Walther
d79a9e0e69
Fix linker error when ONEWIREIO = 0
...
This addendum to #5139 allows actually turning off onewireio. (Not
currently used by any board.)
2021-08-20 18:11:04 +02:00
microDev
a98363348a
Merge pull request #5185 from weblate/weblate-circuitpython-main
...
Translations update from Weblate
2021-08-20 18:34:45 +05:30
Jim Mussared
b51e7e9d01
stm32: Disable computed goto on constrained boards.
...
Saves ~1kiB. Add comment to this effect to mpconfig.h.
Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
2021-08-20 20:18:52 +10:00
Damien George
61d5a8b9ce
stm32/stm32_it: Support TIM17 IRQs on WB MCUs.
...
Signed-off-by: Damien George <damien@micropython.org>
2021-08-20 17:04:39 +10:00
microDev
25437dcb33
Merge branch 'main' into atexit
2021-08-20 09:45:54 +05:30
Hosted Weblate
8b1742d340
Merge remote-tracking branch 'origin/main' into main
2021-08-20 06:01:24 +02:00
microDev
60c0271e72
Merge pull request #5173 from jepler/issue3447
...
Update all implementations of spi read to honor write_value
2021-08-20 09:31:20 +05:30
Hosted Weblate
87b47cfe9a
Merge remote-tracking branch 'origin/main' into main
2021-08-20 05:55:50 +02:00
microDev
7a0f8ae87f
Merge pull request #5175 from jepler/canio-timeout
...
canio: Run background tasks while waiting for message reception
2021-08-20 09:25:46 +05:30
Hosted Weblate
5724e47b4e
Merge remote-tracking branch 'origin/main' into main
2021-08-20 05:55:09 +02:00
microDev
dd5b711dc7
Merge pull request #5166 from jepler/issue5154
...
Don't double-list modules that MP_REGISTER_MODULE
2021-08-20 09:25:03 +05:30
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 692d36d779192f32371f7f9daa845b566f26968d. 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