Commit Graph

24802 Commits

Author SHA1 Message Date
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
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
Jeff Epler d67acb8a64 MP3Decoder: Fix playback stopping issue
Closes: #5164
2021-08-17 10:03:47 -05:00
Dan Halbert 064e086570 correct some status LED pin defns per #5161 2021-08-17 09:33:34 -04:00
microDev 6c763762d4
restore sys.atexit() to prevent merge conflict 2021-08-17 10:13:01 +05:30
Mark 162954a1ad
Merge pull request #5162 from rpavlik/patch-1
cp_sapling_m0_revb: board.UART not board.uart
2021-08-16 22:33:48 -05:00
Dan Halbert 38f42818e9 fix gc; update KEYBOARD report descriptor
The default KEYBOARD report descriptor had a signed/unsigned error,
and also could have allowed more keycodes. So I changed it, using the
very vanilla descriptor from a very plain extremely common commercial
keyboard, modifying it only have 5 LED's instead of 3, and added a
report ID.
2021-08-16 18:59:41 -04:00