Commit Graph

20161 Commits

Author SHA1 Message Date
Hugo Dahl
36f3897fe3 Make error messages platform agnostic
Remove mentions of 'MicroPython' in error messages as they could lead to confusion in lesser-experienced users
2021-04-10 18:36:53 -05:00
Hosted Weblate
2a6386fb59 Merge remote-tracking branch 'origin/main' into main 2021-04-10 17:25:19 +02:00
Jeff Epler
0365755ebd
Merge pull request #4579 from tannewt/interrupt_serial
Don't block serial output in interrupt
2021-04-10 10:25:08 -05:00
Scott Shawcroft
eacb7dbe58
Don't block serial output in interrupt
The interrupt may have a higher priority than the serial output's
(USB) interrupt and may never make room. This makes prints from
interrupts (like the BLE event calls) best effort for what can be
queued up. The rest of the output will be dropped.
2021-04-09 12:56:03 -07:00
Jose David M
991413a469
Translated using Weblate (Spanish)
Currently translated at 100.0% (969 of 969 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/es/
2021-04-09 21:26:57 +02:00
Scott Shawcroft
ebfe36c9aa
Merge pull request #4576 from felixerdy/main
Add senseBox MCU
2021-04-09 10:27:37 -07:00
Dan Halbert
11b9a5e605
Merge pull request #4577 from dglaude/patch-1
Respect product name: space between QT and Py
2021-04-09 13:10:19 -04:00
Dan Halbert
1b60c9d033
Merge pull request #4580 from jepler/incrementalencoder-refactor
IncrementalEncoder: factor out the quadrature state machine
2021-04-09 13:10:02 -04:00
Dan Halbert
35d618b656
Merge pull request #4584 from adafruit/revert-3291-robots.txt
Revert "add robots.txt to specify doc versions to appear in search engines"
2021-04-09 13:09:16 -04:00
Lucian Copeland
371862cf5c
Merge pull request #4582 from kevinlutzer/kl/add-flash-for-black-pill
Add Flash Specified in STM32F4 Black Pill Schematic to Board Config
2021-04-09 13:02:32 -04:00
Dan Halbert
61e33a5619 fix nrf ISR; make direction consistent across ports; save code size 2021-04-09 11:07:47 -04:00
Jeff Epler
280aefffb7 IncrementalEncoder: Re-add missing update of quarter_count
This lost line caused incremental encoders to stay stuck at 0 forever.

I seem to have lost it while trying to create tidy commits :frown:
2021-04-09 08:47:40 -05:00
Dan Halbert
ddca91020e
Revert "add robots.txt to specify doc versions to appear in search engines" 2021-04-09 09:28:20 -04:00
felixerdy
ca6dda4d2b reorder alias 2021-04-09 08:35:13 +02:00
Kevin Lutzer
4fb3139273 switch orders the flash memory is listed 2021-04-08 21:56:25 -06:00
Kevin Lutzer
c672b33770 add W25Q64JVxQ as a supported flash for stm32f411 black pill 2021-04-08 21:53:38 -06:00
Dan Halbert
8a86f9dff6
Merge pull request #4581 from adafruit/qt-py-rp2040-d3
D3 pin should be GPIO26
2021-04-08 22:40:04 -04:00
Dan Halbert
fdc5bb41f4
D3 pin should be GPIO26 2021-04-08 19:11:27 -04:00
Dan Halbert
72055ff02b
Merge pull request #4578 from tannewt/packetbuffer_lengths
Improve PacketBuffer lengths and remove packet_size
2021-04-08 18:55:24 -04:00
Jeff Epler
d69ca4a8ae nrf: switch to shared softencoder implementation 2021-04-08 16:36:10 -05:00
Jeff Epler
3aec1032f7 atmel-samd: switch to shared softencoder implementation 2021-04-08 16:32:36 -05:00
Jeff Epler
3ce0b512f8 rasberrypi: IncrementalEncoder: factor out state machine 2021-04-08 16:25:47 -05:00
Scott Shawcroft
5ec195b5ef
Remove PacketBuffer.packet_size
Fixes #2853
2021-04-08 13:29:26 -07:00
Scott Shawcroft
e3b3f97fa6
Improve PacketBuffer packet lengths for remote service 2021-04-08 13:25:11 -07:00
Dan Halbert
19235d9c31
Merge pull request #4572 from jepler/re-compilecode-overflow
extmod/re1.5: Check and report byte overflow errors in _compilecode.
2021-04-08 16:01:51 -04:00
David Glaude
5d6bef569d
Respect product name: space between QT and Py
https://www.adafruit.com/product/4900 say "Adafruit QT Py RP2040"

This is also matching other "QT Py" product.
2021-04-08 21:50:16 +02:00
felixerdy
e5cffa94e8 add aliases for TX and RX 2021-04-08 21:19:27 +02:00
Scott Shawcroft
0539b88a6b
Merge pull request #4561 from bd34n/bdmicro_vina_d51_update
boards/bdmicro_vina_d51: A few updates for flexibility and expansion.
2021-04-07 10:33:58 -07:00
Scott Shawcroft
af4b6e3598
Merge pull request #4573 from weblate/weblate-circuitpython-main
Translations update from Weblate
2021-04-07 10:26:42 -07:00
Brian Dean
8544249fc0 boards/bdmicro_vina_d51: Replace old rev with new rev and rename.
This update to the PR retains the earlier board rev (with a rename) so
that backward binary compatibility is not lost for the earlier board
revision. The primary name 'vina-d51' is retained for the latest
revision to make it easy for customers to select the proper UF2
download - because the name matches the commercial name.

Details:

Replace bdmicro_vina_d51 with bdmicro_vina_d51_pcb7 (revision 7 of
PCB) with boardfiles unmodified. Add _pcb7 to the workflow build.

Replace bdmicro_vina_d51 boardfile content with latest PCB updates
(revision 10 ov PCB). Add minimal comments in the board files to make
it clear which PCB revision is implemented. Update the USB PID to
reflect an updated board revision.
2021-04-07 09:11:30 -04:00
Wellington Terumi Uemura
203e3c8fee
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (969 of 969 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2021-04-07 14:23:42 +02:00
Reza Almanda
088c51cc80
Translated using Weblate (Indonesian)
Currently translated at 46.8% (454 of 969 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/id/
2021-04-07 14:23:41 +02:00
Limor "Ladyada" Fried
e6aaf9924f
Merge pull request #4570 from jepler/mimxrt-busdevice
mimxrt10xx: enable adafruit_bus_device in core
2021-04-06 20:15:23 -04:00
Jeff Epler
2fb5eb3b11 extmod/re1.5: Check and report byte overflow errors in _compilecode.
The generated regex code is limited in the range of jumps and counts, and
this commit checks all cases which can overflow given the right kind of
input regex, and returns an error in such a case.

This change assumes that the results that overflow an int8_t do not
overflow a platform int.

Closes: #7078

Signed-off-by: Jeff Epler <jepler@gmail.com>

# Conflicts:
#	extmod/re1.5/compilecode.c
2021-04-06 19:11:40 -05:00
Dan Halbert
82479b6a2c
Merge pull request #4503 from hierophect/sleep-api-update
Sleep API changes and fix for main.c silent issue
2021-04-06 16:53:25 -04:00
Scott Shawcroft
6097afdaa5
Merge pull request #4559 from jepler/rp2-rotary-encoder-fixes
raspberrypi: Several rotary encoder fixes
2021-04-06 10:00:26 -07:00
Scott Shawcroft
e532e6a529
Merge pull request #4565 from weblate/weblate-circuitpython-main
Translations update from Weblate
2021-04-06 10:00:12 -07:00
Artyom Skrobov
c3e40d50ab [qstr] Separate hash and len from string data
This allows the compiler to merge strings: e.g. "update",
"difference_update" and "symmetric_difference_update"
will all point to the same memory.

Shaves ~1KB off the image size, and potentially allows
bigger savings if qstr attrs are initialized in qstr_init(),
and not stored in the image.
2021-04-06 12:58:42 -04:00
Hosted Weblate
2a5fe57e43 Merge remote-tracking branch 'origin/main' into main 2021-04-06 16:42:21 +02:00
Limor "Ladyada" Fried
e0386a8598
Merge pull request #4566 from adafruit/tannewt-patch-1
Remove colocate doc reference
2021-04-06 10:42:18 -04:00
Hosted Weblate
d133eeedc2 Merge remote-tracking branch 'origin/main' into main 2021-04-06 16:41:27 +02:00
Jonny Bergdahl
30c02df4a5
Translated using Weblate (Swedish)
Currently translated at 100.0% (969 of 969 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2021-04-06 16:41:27 +02:00
Limor "Ladyada" Fried
354be8cbcc
Merge pull request #4569 from lesamouraipourpre/displayio-doc-fixes
Minor documentation fixes in displayio
2021-04-06 10:41:22 -04:00
Jeff Epler
1a2ce27b73 raspberrypi: Drop support for auto-reversing swapped encoder 2021-04-06 09:22:59 -05:00
Jeff Epler
1a163dd70d mimxrt10xx: enable adafruit_bus_device in core 2021-04-06 09:19:41 -05:00
James Carr
8958c1e227 Minor documentation fixes in displayio 2021-04-06 10:47:46 +01:00
Scott Shawcroft
71eabe814c
Update StateMachine.c 2021-04-05 16:17:08 -07:00
Hosted Weblate
1c98b823b6
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-04-06 00:35:50 +02:00
Hosted Weblate
27361e1187 Merge remote-tracking branch 'origin/main' into main 2021-04-06 00:35:48 +02:00
Jonny Bergdahl
322174a492
Translated using Weblate (Swedish)
Currently translated at 100.0% (967 of 967 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2021-04-06 00:35:48 +02:00