Commit Graph

26194 Commits

Author SHA1 Message Date
microDev
6d2f4f59f8
refactor traceback handling 2021-11-10 20:23:33 +05:30
microDev
c6d7835fdd
Merge pull request #5560 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2021-11-10 19:28:05 +05:30
Wellington Terumi Uemura
fea781207b
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (1020 of 1020 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2021-11-10 10:53:31 +01:00
Hosted Weblate
c0b703d944
Merge remote-tracking branch 'origin/main' 2021-11-10 04:21:43 +01:00
Dan Halbert
4a1ce646f5
Merge pull request #5561 from jepler/enable-error-missing-prototypes
Enable -Wmissing-prototypes for atmel-samd
2021-11-09 22:21:36 -05:00
Jeff Epler
63fbf98186
Enable -Wmissing-prototypes for atmel-samd 2021-11-09 20:05:00 -06:00
Hosted Weblate
a9ba611ae2
Merge remote-tracking branch 'origin/main' 2021-11-09 22:29:45 +01:00
Dan Halbert
e2d20501e1
Merge pull request #5557 from jepler/fix-safe-mode
Fix safe mode
2021-11-09 16:29:41 -05:00
Hosted Weblate
2ce13c8c7b
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-11-09 18:54:04 +01:00
Hosted Weblate
dc6bf3890b
Merge remote-tracking branch 'origin/main' 2021-11-09 18:54:02 +01:00
Jonny Bergdahl
77cb2a15d0
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-11-09 18:54:02 +01:00
Wellington Terumi Uemura
cba6a684bc
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-11-09 18:54:01 +01:00
Scott Shawcroft
05b9ba82aa
Merge pull request #5558 from jepler/dither3
Implement dithering
2021-11-09 09:53:52 -08:00
Jeff Epler
20cbd5e635 Disable bitmapio on some boards where it no longer fits 2021-11-08 18:58:33 -06:00
Jeff Epler
22b7ffc6ed
Merge pull request #5559 from weblate/weblate-circuitpython-main
Translations update from Weblate
2021-11-08 18:13:44 -06:00
Jeff Epler
ff9b10c7b6 fix doc build problems 2021-11-08 16:46:44 -06:00
Jeff Epler
cbfa41f238 Merge remote-tracking branch 'origin/main' into dither3 2021-11-08 16:46:36 -06:00
Hosted Weblate
e119c88600
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-11-08 19:50:11 +01:00
Hosted Weblate
df7a39c7d2
Merge remote-tracking branch 'origin/main' 2021-11-08 19:50:09 +01:00
Reza Almanda
13d05aa229
Translated using Weblate (Indonesian)
Currently translated at 44.3% (448 of 1011 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/id/
2021-11-08 19:50:09 +01:00
Scott Shawcroft
bb71f8c9b3
Merge pull request #5544 from jepler/alphablend
bitmaptools: add alphablend
2021-11-08 10:50:03 -08:00
Scott Shawcroft
e5c7ff738b
Merge pull request #5553 from EmergReanimator/stm
Improved accuracy of common_hal_mcu_delay_us of STM port.
2021-11-08 09:57:44 -08:00
Jeff Epler
6351de6ad1 espressif: Allow -DENABLE_JTAG=0 to force JTAG off
With the Kaluga devkit, the camera interferes with the JTAG function.
However, having DEBUG turned on e.g., to get extended debug information
on the UART debug connection remains useful.

Now, by arranging to add to CFLAGS += -DDEBUG -DENABLE_JTAG=0, this
configuration is easy to achieve.
2021-11-08 10:38:05 -06:00
Jeff Epler
b453d18579 ColorConverter: fix a docstring 2021-11-08 10:36:39 -06:00
Jeff Epler
eaf8bc0abe bitmaptools: add dither
This can convert a BGR565_SWAPPED bitmap to B&W in about 82ms on
esp32-s2.
2021-11-08 10:35:44 -06:00
Jeff Epler
2bcfb15283 Add main.c to codeformat 2021-11-08 08:21:43 -06:00
Jeff Epler
c607efe557 main.c: Fix safe mode
Back in #5536 I modified how boot_out.txt got written. However, I broke
USB enumeration in the safe-mode case.  This fixes it so that a
safe-mode board still connects on USB with all defaults. (tested on a
macropad)
2021-11-08 08:20:09 -06:00
Jeff Epler
5572876d29
Merge pull request #5547 from weblate/weblate-circuitpython-main
Translations update from Weblate
2021-11-07 15:26:14 -06:00
Wellington Terumi Uemura
f1ea57e032
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (1011 of 1011 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2021-11-07 17:53:21 +01:00
EmergReanimator
94866fc1e3
Merge branch 'adafruit:main' into stm 2021-11-07 14:19:54 +01:00
EmergReanimator
a0074c36d8 Improved accuracy of common_hal_mcu_delay_us of STM port.
SysTick Current Value Register must be cleared before enabling.
2021-11-07 14:19:01 +01:00
Jeff Epler
6790f95953 Fix disabling of FRAMEBUFFERIO on atmel-samd
.. this needs to imply the disabling of RGBMATRIX too
2021-11-05 15:19:01 -05:00
Jeff Epler
4f62b540a2 Disable bitmaptools on thunderpack_v11 2021-11-05 15:18:41 -05:00
Hosted Weblate
0e086678e1
Merge remote-tracking branch 'origin/main' 2021-11-05 19:40:04 +01:00
Dan Halbert
49207fba2c
Merge pull request #5549 from jepler/samd-watchdog-rounding
atmel-samd: Fix converting watchdog seconds to cycles
2021-11-05 14:39:59 -04:00
Hosted Weblate
2681fa3975
Merge remote-tracking branch 'origin/main' 2021-11-05 19:37:43 +01:00
Jonny Bergdahl
a555475e65
Translated using Weblate (Swedish)
Currently translated at 100.0% (1011 of 1011 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2021-11-05 19:37:42 +01:00
Dan Halbert
11e37b7512
Merge pull request #5550 from ladyada/main
add KB2040 and fix Trinkey QT2040 pid
2021-11-05 14:37:33 -04:00
lady ada
02573676e7 add KB2040 and fix Trinkey QT2040 pid 2021-11-05 12:43:44 -04:00
Jeff Epler
43b593725b atmel-samd: Fix converting watchdog seconds to cycles
It's intended that the actual timeout always be at least the requested
timeout.  However, due to multiplying by the wrong factor to get from
seconds to cycles, a timeout request of e.g., 8.1s (which is less than
8.192s) would give an actual timeout of 8, not 16 as it should.
2021-11-05 11:40:08 -05:00
Jeff Epler
dfafab675f Enable L8 mode for alphablend 2021-11-05 11:26:07 -05:00
Jeff Epler
8e8c44afea Merge remote-tracking branch 'origin/main' into alphablend 2021-11-05 11:24:51 -05:00
Jeff Epler
d532ad388b disable framebufferio so bitmaptools can fit 2021-11-05 11:24:03 -05:00
Hosted Weblate
4ed1249927
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-11-05 16:24:32 +01:00
Scott Shawcroft
c27b3a0e4f
Merge pull request #5490 from jepler/gifio
Implement gifio.GifWriter
2021-11-05 08:24:24 -07:00
Jeff Epler
2ec2761ce0 bitmaptools: add alphablend
This blends two "565"-format bitmaps, including byteswapped ones. All
the bitmaps have to have the same memory format.

The routine takes about 63ms on a Kaluga when operating on 320x240 bitmaps.
Of course, displaying the bitmap also takes time.

There's untested code for the L8 (8-bit greyscale) case. This can be
enabled once gifio is merged.
2021-11-05 08:16:48 -05:00
Jeff Epler
102af55e0a
Merge pull request #5542 from weblate/weblate-circuitpython-main
Translations update from Weblate
2021-11-05 08:15:28 -05:00
Hosted Weblate
93f6071e64
Merge remote-tracking branch 'origin/main' 2021-11-05 05:07:54 +01:00
hexthat
f7ba0d23de
Translated using Weblate (Chinese (Pinyin))
Currently translated at 100.0% (1010 of 1010 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/zh_Latn/
2021-11-05 05:07:54 +01:00
Jonny Bergdahl
9db5d57e50
Translated using Weblate (Swedish)
Currently translated at 100.0% (1010 of 1010 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2021-11-05 05:07:53 +01:00