Commit Graph

19279 Commits

Author SHA1 Message Date
Dan Halbert
1b7f3d11e7 wip 2021-02-08 10:57:41 -05:00
Jeff Epler
5423e4966c rp2pio: Transfer up to 32 bytes before checking background tasks
@Jerryneedell noticed that this problem affected strips short enough
to not use the DMA peripheral, thanks for the hot tip!

Instead of checking for background tasks after every byte transfer,
try up to 32 transfers before attending to background tasks.

This fixes the problem I was seeing on my 5-pixel circuit.

Closes #4135.
2021-02-08 08:35:07 -06:00
hexthat
92d76f6d2f
Translated using Weblate (Chinese (Pinyin))
Currently translated at 100.0% (955 of 955 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/zh_Latn/
2021-02-07 22:50:20 +01:00
Philip Jander
5bf08c503b adds: maximum retries on SPI busy 2021-02-07 17:06:46 +01:00
Philip Jander
ae91b12aea chore: whitespace fixed 2021-02-07 16:59:11 +01:00
Philip Jander
127cc6204a adds: idle loop to wait for SPI not busy (mimxrt10xx) 2021-02-07 16:59:11 +01:00
Neradoc
6be2466d6f ESP32S2: Socket.recv_into only took len-1 bytes 2021-02-07 08:57:19 +01:00
gamblor21
ea4a12005a Fix write_then_readinto 2021-02-06 10:33:38 -06:00
Jason Nichols
ae262cde55 Fix maximum PIO instructions 2021-02-06 10:54:25 -05:00
Dan Halbert
a10ce39ae6
Merge pull request #4141 from tannewt/update_picosdk
Update to the very latest SDK w/GP15 restore
2021-02-05 23:37:11 -05:00
Scott Shawcroft
22dc7d5359
Update to the very latest SDK w/GP15 restore
Also adds unique id support

Fixes #4039 and hopefully #4107
2021-02-05 18:44:06 -08:00
Scott Shawcroft
e12d38c147
Merge pull request #4134 from weblate/weblate-circuitpython-main
Translations update from Weblate
2021-02-05 18:17:02 -08:00
foamyguy
5c3371bd1a fix bitmap_font path in display resource gen 2021-02-05 18:05:37 -06:00
Lucian Copeland
582bc59d39 Connect accepted sockets 2021-02-05 17:32:15 -05:00
Hosted Weblate
6e1c6cfc42 Merge remote-tracking branch 'origin/main' into main 2021-02-05 21:13:01 +01:00
Scott Shawcroft
c6a7b00030
Merge pull request #4137 from ferret-guy/smps-mode-pin-rpi-pico
Add SMPS mode pin to Raspi Pico pins.c
2021-02-05 12:12:55 -08:00
Hosted Weblate
d0c5c7bd10 Merge remote-tracking branch 'origin/main' into main 2021-02-05 21:08:41 +01:00
Scott Shawcroft
e7438c481e
Merge pull request #4125 from xorbit/main
Add A3 pin to Raspberry Pi Pico
2021-02-05 12:08:35 -08:00
Hosted Weblate
5136220d51 Merge remote-tracking branch 'origin/main' into main 2021-02-05 20:47:55 +01:00
Jonny Bergdahl
ccdf3c0b79
Translated using Weblate (Swedish)
Currently translated at 100.0% (955 of 955 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2021-02-05 20:47:55 +01:00
Scott Shawcroft
a310d4336b
Merge pull request #4128 from hierophect/esp32s2-i2s-claimpin
ESP32S2: Add I2S pin claiming
2021-02-05 11:47:49 -08:00
Lucian Copeland
857bb8a534 Translations 2021-02-05 13:24:55 -05:00
Lucian Copeland
8214d67e5f Fix LWIP connect error report 2021-02-05 13:14:49 -05:00
Mark Omo
1292c35d59
Add SMPS mode pin to Raspi Pico pins.c
Add SMPS mode pin to Raspi Pico pins.c; see section "4.3. Using the ADC" of the Pico datasheet for discussion. 

Driving this pin high forces the onboard regulator into a lower noise PWM mode.
2021-02-05 11:09:40 -07:00
Patrick Van Oosterwijck
a158dde628 Add alternate name VOLTAGE_MONITOR for A3 2021-02-05 10:55:03 -07:00
Lucian Copeland
4d26ffb447 Make timeout core types consistent 2021-02-05 12:32:41 -05:00
Wellington Terumi Uemura
0383402cd7
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (955 of 955 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2021-02-05 16:41:57 +01:00
Jeff Epler
433cbc6be1
Translated using Weblate (German)
Currently translated at 79.4% (759 of 955 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/de/
2021-02-05 16:41:57 +01:00
Dennis Schweer
804563a4aa
Translated using Weblate (German)
Currently translated at 79.4% (759 of 955 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/de/
2021-02-05 16:41:56 +01:00
Dan Halbert
5bb722b927
Merge pull request #4122 from hathach/fix-3986
Fix 3986 background reset remove existing usb callback
2021-02-05 09:13:28 -05:00
Dan Halbert
0a55cfbde8
Merge pull request #4126 from FiriaCTO/webusb
WebUSB serial support (compile-time option, currently defaulted to OFF)
2021-02-05 09:11:43 -05:00
Enrique Casado
70e15d61b2 ports/atmel-samd/boards/dynalora_usb/board.c 2021-02-05 13:24:59 +01:00
Enrique Casado
53f0bb3601 Merge remote-tracking branch 'origin/master' into main 2021-02-05 11:43:43 +01:00
m4tk
54bd79a51a LCD_MISO is not connected on board 2021-02-05 07:52:01 +01:00
Dan Halbert
25d456a5b8 shrink a couple of builds 2021-02-04 22:15:32 -05:00
Dan Halbert
0802b22ed6 usb descriptors all set; rework of enabling for USB devices 2021-02-04 19:23:40 -05:00
Scott Shawcroft
f6e881e820
Merge pull request #4123 from jepler/raspberrypi-reset-bootloader
raspberrypi: implement reset, reset_to_bootloader
2021-02-04 15:33:26 -08:00
Kevin Banks
1352938504 Changed URL 2021-02-04 16:35:42 -06:00
Kevin Banks
b6ce29bc1f Merge branch 'webusb' of https://github.com/FiriaCTO/circuitpython into webusb 2021-02-04 16:31:52 -06:00
Kevin Banks
c4a795b1e7 Changed URL 2021-02-04 16:31:18 -06:00
FiriaCTO
e72069e241
Fix typo in comment
descriptors should be plural

Co-authored-by: Dan Halbert <halbert@halwitz.org>
2021-02-04 16:18:36 -06:00
Lucian Copeland
210d0f8798 Add I2S pin claiming 2021-02-04 16:30:05 -05:00
Kevin Banks
7a17c75256 File ending 2021-02-04 14:15:29 -06:00
Kevin Banks
3a952e96ea Fixing whitespace 2021-02-04 12:42:23 -06:00
Jeff Epler
6e153d9948 raspberrypi: implement reset, reset_to_bootloader
This makes all the following work:
 * normal microcontroller.reset()
 * reset into safe mode or UF2 bootloader via microcontroller.on_next_reset()
 * reset into UF2 bootloader via the "1200 baud trick"

The implementation of reset_cpu is from micropython.
2021-02-04 12:07:50 -06:00
Patrick Van Oosterwijck
d357a05870 Add A3 pin to Raspberry Pi Pico
We want to be able to use this to measure VSYS.
2021-02-04 10:44:37 -07:00
m4tk
ff7b296b04 Add display init code for Lilygo TTGO T8 ESP32-S2 2021-02-04 16:46:15 +01:00
Kevin Banks
cf9a00dcba A little more content into WEBUSB_README 2021-02-04 09:44:36 -06:00
Kevin Banks
87fe58fea5 Added WEBUSB_README to the table of contents (required by CI) 2021-02-04 08:56:51 -06:00
Kevin Banks
3bf8ef4c14 Making WEBUSB_README.md standalone for now 2021-02-04 08:09:35 -06:00