Commit Graph

16916 Commits

Author SHA1 Message Date
Jeff Epler 9c4f644641 framebufferio: add dirty row tracking 2020-08-12 07:32:18 -05:00
Jeff Epler 5e4ed93415 framebufferio: Add getters for remaining displayio_display_core_construct arguments
.. and introduce a convenience macro that helps many of them be required
(if their values match defaults or are inapplicable)
2020-08-12 07:32:18 -05:00
Jeff Epler 1ee2062c1b framebufferio: Check early if framebuffer is big enough 2020-08-12 07:32:18 -05:00
Jeff Epler a33e48c065 framebufferio: add "first pixel offset" and "row stride" 2020-08-12 07:32:18 -05:00
Jeff Epler 8021f3b4cb framebufferio: handle sharp memory displays
A bit of cheating; we need to add a protocol getter for
reverse_bytes_in_word
2020-08-12 07:32:18 -05:00
Jeff Epler a84cc19499 framebufferio: Handle 1 (tested), 2, and 4 bpp displays 2020-08-12 07:32:18 -05:00
Jeff Epler 6d19a09888 framebufferio: Set type to none when releasing
This avoids the message "Too many displays in use" when they are released
directly, rather than via release_displays().
2020-08-12 07:32:18 -05:00
Jeff Epler 5a7b2a2038 framebufferio: Don't call swapbuffers unnecessarily 2020-08-12 07:32:18 -05:00
Jeff Epler ffc488e748 framebufferio: Fix crash calling unimplemented get_brightness
If set_brightness was implemented but get_brightness wasn't, this
would hard fault
2020-08-12 07:32:18 -05:00
Jeff Epler 32fc8b0676 nrf: reset_pin_number: reset pin clears never-reset, mirroring samd 2020-08-12 07:32:18 -05:00
Jeff Epler 760a171903 nrf: Make port build with -Werror=undef
.. build-tested on particle_xenon
2020-08-12 07:32:18 -05:00
Scott Shawcroft bbac68e77c
Merge pull request #3232 from hierophect/esp32-neopixel
ESP32-S2: Add Neopixel support
2020-08-11 11:04:39 -07:00
Lucian Copeland 4613b58a31 Add skip for rgb matrix exception handling 2020-08-10 18:00:50 -04:00
Scott Shawcroft bccfb8b4cd
Merge pull request #3243 from dunkmann00/support-utf8-repl-take-one
Better support for utf-8 repl
2020-08-10 14:16:05 -07:00
Scott Shawcroft 4fd474dd08
Merge pull request #3256 from sommersoft/spt_mtrx_anchors
Add Internal Links To Boards In The Support Matrix
2020-08-10 14:14:57 -07:00
Jeff Epler 807f049dc3
Merge pull request #3244 from xiongyihui/main
add an option to turn off QSPI when sleep
2020-08-10 16:06:57 -05:00
hierophect 78f90db72f
Merge pull request #3191 from jepler/stm32-sdioio
stm32: Implement sdioio, enable for feather stm32f405 express
2020-08-10 15:59:36 -04:00
Jeff Epler 1cf3762392 Merge remote-tracking branch 'origin/main' into stm32-sdioio 2020-08-10 12:54:12 -05:00
Lucian Copeland d47bd5529c Fix neopixel macro issue, set default neopixel color 2020-08-10 13:16:20 -04:00
Jeff Epler ce911c5f50
Merge pull request #3255 from ciscorn/fix-rtd
Fix Read the Docs bulid failing
2020-08-10 11:59:39 -05:00
George Waters 398be76bf6
Count utf8 chars, not every byte for line 2020-08-09 14:07:13 -04:00
George Waters 93829e57b2
Try too make new utf-8 code smaller again 2020-08-09 13:14:02 -04:00
George Waters 41ccbbd4e9
Fix failed unix build 2020-08-09 13:14:02 -04:00
George Waters 71ce480dbb
Refactor utf-8 code, reduce impact on code size 2020-08-09 13:14:02 -04:00
George Waters 1d410bb68b
Fix repl support for unicode
Currently when a utf8 character that is bigger than 1 byte is typed in
the repl, it isn't handled how it should be. If you try to move the
cursor in any direction the text gets messed up. This fixes that.
2020-08-09 13:14:01 -04:00
Jeff Epler fee3c0afbd
Merge pull request #3257 from weblate/weblate-circuitpython-main
Translations update from Weblate
2020-08-09 10:47:20 -05:00
Wellington Terumi Uemura 71698c5d46
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (773 of 773 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2020-08-09 13:32:50 +02:00
sommersoft ce9bc1258a support_matrix.rst: pre-process space chars in internal link names; would cause a no-id situation when names like 'ndGarage[n°] Bit6: FeatherSnow-v2' were parsed. 2020-08-08 11:37:49 -05:00
sommersoft c374368053 support_matrix.rst: add internal links to boards in the table 2020-08-07 22:52:34 -05:00
Taku Fukada ad04b8cfd3 Revert the ulab update 2020-08-08 11:33:12 +09:00
Jeff Epler 707eed0a73
Merge pull request #3254 from weblate/weblate-circuitpython-main
Translations update from Weblate
2020-08-07 14:29:42 -05:00
Taku Fukada 272d300fc8 Fix Read the Docs bulid failing 2020-08-08 01:33:24 +09:00
Hosted Weblate 5eef3c47eb 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/
2020-08-07 17:11:47 +02:00
Alvaro Figueroa 49969e08c3 Translated using Weblate (Spanish)
Currently translated at 100.0% (786 of 786 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/es/
2020-08-07 17:11:47 +02:00
Jeff Epler 354edd9431
Merge pull request #3252 from ciscorn/pyi
Some improvements to the core module docs
2020-08-07 10:11:40 -05:00
Jeff Epler 8f6950eb3c
Merge pull request #3246 from sommersoft/doc_title_tag
RTD: Set Version/Release For Sphinx
2020-08-07 10:08:17 -05:00
Jeff Epler d8cc4795be
Merge pull request #3236 from jepler/firmware-size-gemma-trinket
Firmware size savings
2020-08-07 10:06:39 -05:00
Yihui Xiong af1291ec28 dynamically enable or disable QSPI by default 2020-08-07 16:23:42 +08:00
Taku Fukada 56c898da80 Modify some Python stubs 2020-08-07 01:01:28 +09:00
Taku Fukada 887eb3b6d9 Apply a Sphinx transform to make the core module docs look better 2020-08-07 00:01:31 +09:00
Yihui Xiong d8257380d7 add qspi_disable() 2020-08-06 09:56:05 +08:00
Jeff Epler 16170d44ab
Merge pull request #3248 from weblate/weblate-circuitpython-main
Translations update from Weblate
2020-08-05 20:53:54 -05:00
Jonny Bergdahl c69dd3c32b
Translated using Weblate (Swedish)
Currently translated at 100.0% (786 of 786 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2020-08-05 22:32:49 +02:00
Lucian Copeland 78d049d0f1 Fix pwm reset spew, protect against null reference in led status 2020-08-05 14:05:53 -04:00
Yihui Xiong 7854625c4e avoid using the RGB LEDs to save energy 2020-08-05 16:08:13 +08:00
Yihui Xiong dbe47a6a2a adjust 2020-08-05 16:07:18 +08:00
sommersoft 3a95480178 conf.py: also include 'rc' versions for sphinx versioning 2020-08-04 21:05:03 -05:00
sommersoft d8d36a4fb0 conf.py: set the version for sphinx, based on the current git tag 2020-08-04 20:55:20 -05:00
Jeff Epler 93b373d617 "pop from empty %q"
Saves 12 bytes code on trinket m0
2020-08-04 18:42:09 -05:00
Lucian Copeland 14b3b51c58 Rework build flags, prevent idf errors 2020-08-04 18:40:24 -04:00