Commit Graph

1551 Commits

Author SHA1 Message Date
Scott Shawcroft
ebf0901558
Merge pull request #5079 from dhalbert/debug-audio
Fix various RP2040 and SAMD audio issues
2021-08-11 11:19:53 -07:00
gamblor21
e18ceea9ba Check for duplicate pins in rows and columns 2021-08-10 18:18:21 -05:00
Hosted Weblate
10884e0a0d
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-10 04:41:03 +02:00
Hosted Weblate
34eb2a5ac0
Merge remote-tracking branch 'origin/main' into main 2021-08-10 04:41:01 +02:00
Jonny Bergdahl
f384367086
Translated using Weblate (Swedish)
Currently translated at 100.0% (1013 of 1013 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2021-08-10 04:41:01 +02:00
Wellington Terumi Uemura
46ad22143a
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (1013 of 1013 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2021-08-10 04:41:00 +02:00
microDev
8da98eb1f4
Merge pull request #5115 from microDev1/getpass
Add getpass module
2021-08-10 08:10:52 +05:30
microDev
93c9d59960
Merge branch 'main' into getpass 2021-08-10 01:00:10 +05:30
Hosted Weblate
9fab48dad2
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-09 21:17:26 +02:00
Hosted Weblate
4a06adc120
Merge remote-tracking branch 'origin/main' into main 2021-08-09 21:17:23 +02:00
microDev
3495cc1ff6
Merge pull request #5110 from jepler/format-exception
Implement `traceback.format_exception`
2021-08-10 00:47:18 +05:30
Hosted Weblate
185d0f2a24
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-09 21:04:49 +02:00
Kattni
c87d90ec4b
Merge pull request #5090 from WarriorOfWire/draw_protocol
Draw protocol
2021-08-09 15:04:36 -04:00
Dan Halbert
2cd80d1074 wip, with debugging printf's 2021-08-09 09:47:13 -04:00
Jeff Epler
9a932a5a48 traceback: Implement format_exception 2021-08-09 08:27:28 -05:00
Jeff Epler
bfea6947e5 Improve mp_printf with support for compressed strings
* The new nonstandard '%S' format takes a pointer to compressed_string_t
   and prints it

 * The new mp_cprintf and mp_vcprintf take a format string that is a
   compressed_string_t
2021-08-09 08:27:28 -05:00
microDev
51f8603783
add getpass module 2021-08-09 17:50:28 +05:30
Kenny
a1fff320fb add location property to vectorshape and all composed shapes 2021-08-08 00:14:53 -07:00
Wellington Terumi Uemura
5ed585d3f4
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (1013 of 1013 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2021-08-08 07:33:11 +02:00
Hosted Weblate
4abf9f3cf1
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-07 06:00:29 +02:00
Hosted Weblate
4ff76ae875
Merge remote-tracking branch 'origin/main' into main 2021-08-07 06:00:27 +02:00
Jonny Bergdahl
59bebfdb17
Translated using Weblate (Swedish)
Currently translated at 100.0% (1013 of 1013 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2021-08-07 06:00:27 +02:00
microDev
063e3946d6
Merge pull request #5094 from jepler/quirc
Add qrio: Decode QR codes with quirc lib
2021-08-07 09:30:20 +05:30
Hosted Weblate
c21c754a50
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-06 21:10:25 +02:00
Scott Shawcroft
be2342f32f
Merge pull request #5072 from microDev1/traceback
Add traceback module
2021-08-06 12:10:17 -07:00
Jeff Epler
bd903f2f03 Add qrio: Decode QR codes with quirc lib 2021-08-04 09:16:00 -05:00
microDev
fb0f2583db
update traceback module 2021-08-04 12:22:21 +05:30
microDev
a3998d0626
add atexit module 2021-07-30 09:32:28 +05:30
Hosted Weblate
cd14b7682a
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-07-28 20:58:21 +02:00
Dan Halbert
e9369d50e1
Merge pull request #5067 from tannewt/pulseout_switch
Switch to pin, frequency and duty_cycle PulseOut
2021-07-28 14:58:06 -04:00
microDev
f371c0a609
add traceback module 2021-07-28 18:06:23 +05:30
Noel Gaetan
6713a254cb
Translated using Weblate (French)
Currently translated at 94.3% (955 of 1012 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/fr/
2021-07-27 16:33:15 +02:00
Scott Shawcroft
daf90aae83
Merge remote-tracking branch 'adafruit/main' into pulseout_switch 2021-07-26 18:48:59 -07:00
Scott Shawcroft
412eb87080
Switch to pin, frequency and duty_cycle PulseOut
Passing in a PWMOut still works but is deprecated. It will be
removed in CircuitPython 8.0.0

This also switches STM32 timer indices and channel indices to
0-based in our pin data rather than `- 1` everywhere. The latter is
more bug prone.

Most of the way for #3264

Tested on Metro M0, Metro M4, Feather S2, Feather nRF52840, Feather
STM32F4 and Arduino RP2040.
2021-07-26 18:35:49 -07:00
Jonny Bergdahl
df9be614ea
Translated using Weblate (Swedish)
Currently translated at 100.0% (1012 of 1012 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2021-07-24 17:35:48 +02:00
Wellington Terumi Uemura
0808ce3224
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (1012 of 1012 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2021-07-24 17:35:47 +02:00
Hosted Weblate
c402c1efb0
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-07-23 14:45:52 +02:00
Hosted Weblate
b01764e33c
Merge remote-tracking branch 'origin/main' into main 2021-07-23 14:45:50 +02:00
Wellington Terumi Uemura
8aed927fea
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (1012 of 1012 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2021-07-23 14:45:50 +02:00
microDev
c9ac8e77e8
Merge pull request #5042 from NathanY3G/add-support-for-jmp-pin
Added support for specifying the JMP pin (RP2 PIO)
2021-07-23 18:15:43 +05:30
Nathan Young
3b7cf7d3bb Updated translation for jmp_pin exception 2021-07-23 13:40:34 +02:00
Hosted Weblate
da44a6b091
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-07-23 01:51:45 +02:00
Hosted Weblate
d9dcbc476c
Merge remote-tracking branch 'origin/main' into main 2021-07-23 01:51:42 +02:00
Scott Shawcroft
9c8c4a301d
Merge pull request #5028 from jepler/ulab-fix-docs
ulab: move documentation to the right location
2021-07-22 16:51:32 -07:00
Jonny Bergdahl
f0bd922196
Translated using Weblate (Swedish)
Currently translated at 100.0% (1008 of 1008 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2021-07-22 20:33:44 +02:00
Wellington Terumi Uemura
8eb82d299b
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (1008 of 1008 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2021-07-22 20:33:43 +02:00
Jeff Epler
8cf6fd7fec make translate 2021-07-22 13:29:35 -05:00
Jeff Epler
02b094b638 make translate 2021-07-21 19:38:58 -05:00
Hosted Weblate
cca9ce74c4
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-07-21 05:05:05 +02:00
Scott Shawcroft
fece0fb432
Fix crash when UART construct fails
After the script stops with the exception thrown the final gc_sweep
will call any finalizers and they usually call deinit. deinit on
invalid objects can wreak havoc by changing random memory or
(hopefully) crashing. This fixes ensures the object is deinited
until initialization succeeds and the object is valid.

Do the same fix for I2C and SPI too.

Fixes #4700 and fixes #5005
2021-07-20 17:15:19 -07:00
Hosted Weblate
fe12847afc
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-07-14 19:30:06 +02:00
Lucian Copeland
e3bc800bbc
Merge pull request #4999 from hierophect/esp-timer-leak
ESP32S2: Fix PWM timer leak and variable frequency conflicts
2021-07-14 13:29:56 -04:00
Lucian Copeland
bd39641f7e Fix PWM timer leak and varfreq conflicts 2021-07-13 18:05:47 -04:00
Hosted Weblate
0da3a5de3d
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-07-13 01:38:04 +02:00
Scott Shawcroft
9fdecacec7
Merge pull request #4903 from jepler/split-type-objects
Split type objects
2021-07-12 16:37:55 -07:00
Jeff Epler
a19a48f4b6 make translate 2021-07-07 09:08:04 -05:00
hexthat
d660d229ab
Translated using Weblate (Chinese (Pinyin))
Currently translated at 100.0% (1007 of 1007 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/zh_Latn/
2021-07-06 18:32:14 +02:00
Hosted Weblate
22f336ef16
Merge remote-tracking branch 'origin/main' into main 2021-07-01 16:40:15 +02:00
Dan Halbert
37c52110c5
Merge pull request #4943 from jepler/double-wide-colon
remove 'double-wide' characters not in the font
2021-07-01 10:40:08 -04:00
Dan Halbert
4d953dcbdd
Fix missing quote in locale/zh_Latn_pinyin.po
Co-authored-by: microDev <70126934+microDev1@users.noreply.github.com>
2021-06-30 22:54:03 -04:00
Hosted Weblate
0bd181c4d0
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-06-30 19:19:33 +02:00
Hosted Weblate
f3cde244e8
Merge remote-tracking branch 'origin/main' into main 2021-06-30 19:19:30 +02:00
Wellington Terumi Uemura
be206b7ba0
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (1008 of 1008 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2021-06-30 19:19:30 +02:00
Jeff Epler
d83a21b984 ColorConverter: Add "BGR" color modes.
The BGR565_SWAPPED mode is needed for OV2640 cameras.
2021-06-30 10:29:31 -05:00
Jeff Epler
e5d2b25b10 remove 'double-wide' characters not in the font
I noticed the build printed things like
```
Font missing 3 characters
```

.. this is why.

We can't make it an error, because Japanese has hundreds of characters
not in the font.
2021-06-28 19:49:59 -05:00
Jonny Bergdahl
39c862f1f6
Translated using Weblate (Swedish)
Currently translated at 100.0% (1008 of 1008 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2021-06-27 14:33:28 +02:00
Alvaro Figueroa
74be2d994e
Translated using Weblate (Spanish)
Currently translated at 100.0% (1008 of 1008 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/es/
2021-06-27 14:33:27 +02:00
Hosted Weblate
11325bd338
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-06-25 20:15:49 +02:00
Hosted Weblate
9730abdc53
Merge remote-tracking branch 'origin/main' into main 2021-06-25 20:15:47 +02:00
hexthat
1987bead31
Translated using Weblate (Chinese (Pinyin))
Currently translated at 100.0% (1007 of 1007 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/zh_Latn/
2021-06-25 20:15:46 +02:00
Scott Shawcroft
5a4a80336f
Merge pull request #4195 from askpatrickw/update-idf
Update esp-idf to v4.3
2021-06-25 11:15:40 -07:00
Hosted Weblate
4e9bbee02f
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-06-25 20:01:02 +02:00
Hosted Weblate
d1319a951b
Merge remote-tracking branch 'origin/main' into main 2021-06-25 20:00:59 +02:00
Wellington Terumi Uemura
322f1269e0
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (1006 of 1006 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2021-06-25 20:00:59 +02:00
Scott Shawcroft
d67fb852a1
Merge pull request #3454 from cwalther/setnextcode
Add supervisor.set_next_code_file()
2021-06-25 11:00:53 -07:00
Hosted Weblate
768a683ea9
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-06-25 01:11:40 +02:00
Hosted Weblate
f4d0f62f5b
Merge remote-tracking branch 'origin/main' into main 2021-06-25 01:11:38 +02:00
Wellington Terumi Uemura
682a789b0c
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (1005 of 1005 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2021-06-25 01:11:38 +02:00
Alvaro Figueroa
1c2b49cfba
Translated using Weblate (Spanish)
Currently translated at 100.0% (1005 of 1005 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/es/
2021-06-25 01:11:37 +02:00
Dan Halbert
769805c9bd
Merge pull request #4918 from tannewt/ble_workflow2
Enable a BLE workflow
2021-06-24 19:11:31 -04:00
Scott Shawcroft
dc76306cfa
Enable a BLE workflow
nRF CircuitPython boards will now provide the file transfer
service defined here: https://github.com/adafruit/Adafruit_CircuitPython_BLE_File_Transfer

USB capable boards will only advertise if previously bonded to a
device or if the reset button is pressed during the fast blue
flashes on start up. When pressed, the board will restart again but
the blue period will not flash.

Boards without USB will always advertise.

When previously bonded, the advertisement is private so that no
other peers can connect. If advertising publicly, the tx power is
lowered to reduce the likelihood of bonding from a distance.

This PR also fixes issues with loading identities of bonded peers
so that our address can now be resolved and we can resolve others'
addresses when scanning.
2021-06-24 12:59:14 -07:00
microDev
e0eecd2f76 update idf to v4.3
- update idf submodule to release/v4.3
- finish todo tasks held due to idf@v4.2
- update SPI & I2C to make them v4.3 compatible
2021-06-24 23:14:08 +05:30
Hosted Weblate
6d18186114
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-06-24 19:25:32 +02:00
Hosted Weblate
926366264e
Merge remote-tracking branch 'origin/main' into main 2021-06-24 19:25:29 +02:00
Scott Shawcroft
b81573d439
Merge pull request #4891 from dhalbert/keypad-scanning-events
keypad: support for vector and matrix key scanning
2021-06-24 10:25:21 -07:00
Hosted Weblate
fae68f0ae3
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-06-24 14:16:06 +02:00
Hosted Weblate
d90d39bda3
Merge remote-tracking branch 'origin/main' into main 2021-06-24 14:16:03 +02:00
Jonny Bergdahl
cfe73f14fb
Translated using Weblate (Swedish)
Currently translated at 100.0% (998 of 998 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2021-06-24 14:16:03 +02:00
Dan Halbert
836db4e4a1
Merge pull request #4816 from hierophect/rp2040-alarms
RP2040: add Alarm module
2021-06-24 08:15:57 -04:00
Hosted Weblate
b9b8757ca2
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-06-23 19:15:29 +02:00
Hosted Weblate
c0b28c4510
Merge remote-tracking branch 'origin/main' into main 2021-06-23 19:15:26 +02:00
hexthat
9f65ccc61f
Translated using Weblate (Chinese (Pinyin))
Currently translated at 100.0% (996 of 996 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/zh_Latn/
2021-06-23 19:15:26 +02:00
Scott Shawcroft
a7e353b80e
Merge pull request #4897 from jepler/merge-1.16
Merge 1.16
2021-06-23 10:15:10 -07:00
Wellington Terumi Uemura
d372e9561c
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (996 of 996 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2021-06-22 00:27:16 +02:00
Dan Halbert
51c547a5b9 add generic arg validation routines; add interval args to keypad 2021-06-21 12:13:39 -04:00
Jonny Bergdahl
d283034ad2
Translated using Weblate (Swedish)
Currently translated at 100.0% (996 of 996 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2021-06-21 15:39:51 +02:00
Dan Halbert
ed41acd879 merge from upstream to fix translations 2021-06-21 08:26:44 -04:00
Dan Halbert
154e91ab85 add EventQueue.store_next() to allow reusing event objects 2021-06-21 08:18:06 -04:00
Lucian Copeland
1f3d69d87c Clean up sleep memory, mark as not-implemented 2021-06-20 17:57:51 -04:00
Lucian Copeland
cf9741bd3a Merge remote-tracking branch 'upstream/main' into setnextcode 2021-06-20 15:25:37 -04:00