Commit Graph

24788 Commits

Author SHA1 Message Date
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
Ryan A. Pavlik a77e269121
cp_sapling_m0_revb: board.UART not board.uart
This is the only board that didn't match the all-uppercase convention for these UART (and more generally, these bus) entries.
2021-08-16 17:07:17 -05:00
Scott Shawcroft abe8638f41
Merge pull request #5160 from ZodiusInfuser/patch_tiny2040
Removed default UART, SPI and I2C from Tiny2040 config
2021-08-16 14:54:52 -07:00
Scott Shawcroft c2cc5839f3
Merge pull request #5156 from skerr92/add-ODT-PixelWing-esp
Add odt pixel wing esp
2021-08-16 12:27:02 -07:00
Scott Shawcroft 58b3b48939
Merge pull request #5157 from DavePutz/issue_5155
Make MICROPY_CPYTHON_COMPAT settable
2021-08-16 12:15:35 -07:00
microDev bdf8bc58ed
allow exception raise inside atexit callback 2021-08-16 22:35:04 +05:30
microDev 1c4a6c3667
atexit module refinements
- add test for atexit module
- add callback to gc collection
- fix callback memory allocation
- execute callback on both code and repl exit
2021-08-16 21:37:32 +05:30
ZodiusInfuser 2255ab1486 Removed unnecessary Micropy and Ignore defines 2021-08-16 16:40:12 +01:00
ZodiusInfuser 5fb507c3ff Removed default UART SPI and I2C from Tiny2040 config 2021-08-16 16:31:31 +01:00
foamyguy 6bd8a1d669 ensure bitmap type in argument 2021-08-16 09:10:29 -05:00
Jeff Epler ccc371ed53 Don't double-list modules that MP_REGISTER_MODULE
Closes: #5154
2021-08-16 08:50:57 -05:00
root 6c0e983658 Make MICROPY_CPYTHON_COMPAT settable 2021-08-15 20:49:24 -05:00
Jeff Epler 0553561975
Merge pull request #5078 from rpavlik/patch-1
Update ter-u12n.bdf
2021-08-15 19:57:35 -05:00
foamyguy 029150ac3b validate initial point is in-bounds 2021-08-15 19:46:20 -05:00
foamyguy 6f783060c2 ignore points outside of bitmap 2021-08-15 19:11:15 -05:00