Commit Graph

18139 Commits

Author SHA1 Message Date
Scott Shawcroft 563a8934b7
Merge pull request #3603 from cwalther/boardspi
Fix lost board.SPI and board.I2C
2020-10-27 13:53:05 -07:00
microDev 80029f6929
rotaryio implementation for esp32s2 2020-10-28 00:12:13 +05:30
Hosted Weblate e00ae204db
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-10-27 17:48:01 +01:00
Hosted Weblate 2cb9d2368c
Merge branch 'origin/main' into Weblate. 2020-10-27 17:47:57 +01:00
Jelle Jager f2e79ce89d
Translated using Weblate (Dutch)
Currently translated at 100.0% (836 of 836 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/nl/
2020-10-27 17:47:57 +01:00
_fonzlate ba0a3769e3
Translated using Weblate (Dutch)
Currently translated at 100.0% (836 of 836 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/nl/
2020-10-27 17:47:57 +01:00
Jeff Epler 5110fec312
Merge pull request #3608 from adafruit/6.0.x
Update main with latest 6.0.x
2020-10-27 11:47:44 -05:00
Jeff Epler 3a501a0495 esp32s2: canio: respond to review comments
* explain the introduction of the temporary variable in get_t_config
 * get rid of unneeded __attribute__
 * get rid of unneeded members of canio_can_obj_t
 * get rid of unneeded header inclusion
2020-10-26 19:18:37 -05:00
Jeff Epler 2ba6659967 esp32s2: Makefile: restore --no-stub 2020-10-26 19:07:37 -05:00
Scott Shawcroft d86c6a74a4
Add to CI build 2020-10-26 17:06:04 -07:00
Scott Shawcroft 95cb5961d2
Fix ESP32-S2 SPI when DMA is sometimes used 2020-10-26 16:59:59 -07:00
Scott Shawcroft 0d1649880f
Add grayscale EInk support 2020-10-26 16:59:59 -07:00
Scott Shawcroft fc591c8d84
Add EInk Portal 2020-10-26 16:59:59 -07:00
Gaetan cfaa02ef19 Fix error 2020-10-26 23:36:54 +01:00
Gaetan 5deb045a81 Ready to PR
* ../../.github/workflows/build.yml
	+ boards/holyiot_nrf52840/board.c
	+ boards/holyiot_nrf52840/mpconfigboard.h
	+ boards/holyiot_nrf52840/mpconfigboard.mk
	+ boards/holyiot_nrf52840/pins.c
2020-10-26 23:32:57 +01:00
Mark fa35c3fa7c
Merge pull request #3609 from tannewt/6.0.x
Use old translation date to avoid merge conflict
2020-10-26 16:49:38 -05:00
Christian Walther 99a3750a2c Fix lost board.SPI and board.I2C after explicitly deiniting them.
After calling board.SPI().deinit(), calling board.SPI() again would return the unusable deinited object and there was no way of getting it back into an initialized state until the end of the session.
2020-10-26 22:44:38 +01:00
Christian Walther f4f80e07ca Fix lost board.SPI and board.I2C after being used by display.
Fixes #3581.

Pins were marked as never_reset by common_hal_displayio_fourwire_construct() and common_hal_sharpdisplay_framebuffer_construct(), but these marks were never removed, so at the end of a session after displayio.release_displays(), {spi|i2c}_singleton would be set to NULL but the pins would not be reset. In the next session, board.SPI() and board.I2C() were unable to reconstruct the object because the pins were still in use.

For symmetry with creation of the singleton, add deinitialization before setting it to NULL in reset_board_busses(). This makes the pins resettable, so that reset_port(), moved behind it, then resets them.
2020-10-26 22:44:38 +01:00
Christian Walther 1117edae63 Fix erroneous claim of board.I2C() by deinited display.
At the end of a session that called displayio.release_displays() (and did not initialize a new display), a board.I2C() bus that was previously used by a display would wrongly be considered still in use. While I can’t think of any unrecoverable problem this would cause in the next session, it violates the assumption that a soft reboot resets everything not needed by displays, potentially leading to confusion.

By itself, this change does not fix the problem yet - rather, it introduces the same issue as in #3581 for SPI. This needs to be solved in the same way for I2C and SPI.
2020-10-26 22:44:38 +01:00
Scott Shawcroft 81ab6a05d0
Use old translation date to avoid merge conflict 2020-10-26 13:25:00 -07:00
Scott Shawcroft 1e0f12d504
Merge pull request #3602 from jepler/update-ulab-2
ulab: Incorporate bugfixes (update to tag 0.54.5, was 0.54.0)
2020-10-26 13:18:10 -07:00
Jeff Epler caca0609bd
Merge pull request #3607 from hierophect/esp32-readme-clarity
ESP32-S2: Fix readme link, improve instruction clarity
2020-10-26 12:43:51 -05:00
Jeff Epler c9f7df3bab canio: Give implementation-specific limits for CAN.Listen 2020-10-26 10:06:49 -05:00
Lucian Copeland 32f2a8d54c Fix readme link 2020-10-26 11:03:54 -04:00
Jeff Epler bdc1343791 make translate 2020-10-26 09:55:32 -05:00
Jeff Epler 396d92f867 esp32s2: Add canio
This works in loopback mode, though the hardware filtering only permits a
single address or mask filter.
2020-10-26 09:54:58 -05:00
Jeff Epler b5b9392a3a
Merge pull request #3606 from weblate/weblate-circuitpython-main
Translations update from Weblate
2020-10-26 08:37:42 -05:00
Hosted Weblate a891321f4f
Merge branch 'origin/main' into Weblate. 2020-10-26 03:36:03 +01:00
Jonny Bergdahl 998661246c
Translated using Weblate (Swedish)
Currently translated at 100.0% (836 of 836 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2020-10-26 03:36:02 +01:00
Jeff Epler 3f529855d1
Merge pull request #3605 from Senuros/main
Improving German translation
2020-10-25 21:35:54 -05:00
Senuros c43011f149 Improving German translation 2020-10-25 22:08:10 +01:00
Jeff Epler 85aa851714 make translate 2020-10-25 15:21:13 -05:00
Jeff Epler 543316a8fb ulab: Update again
.. pull in various doc build fixes that prevented the previous commit from building.  This is still "0.54.5", the tag was updated in micropython-ulab (since no functional difference was introduced, only doc and CI differences, I imagine)
2020-10-25 13:26:55 -05:00
Jeff Epler 4cad5478e6 ulab: Incorporate bugfixes (update to tag 0.54.5)
In particular, this closes #3954.
2020-10-24 13:16:10 -05:00
Jeff Epler b4eb27557d workflows: Upload stubs to s3 2020-10-24 07:28:27 -05:00
Scott Shawcroft 9df61899a2
Merge pull request #3599 from 0-Arngerdur-1/main
Fix typos and fix translate
2020-10-23 16:50:11 -07:00
0-Arngerdur-1 2ebd06f8ee Fix typos and fix translate 2020-10-23 15:14:45 -05:00
Scott Shawcroft c676385200
Merge pull request #3593 from tinomtzlpz/main
Update es.po
2020-10-23 12:11:54 -07:00
microDev ef97ed6ab6
Update touchio implementation 2020-10-23 13:17:49 +05:30
Jeff Epler 2581d099ca
Merge pull request #3592 from weblate/weblate-circuitpython-main
Translations update from Weblate
2020-10-22 21:25:14 -05:00
Hosted Weblate 987ee3bf22
Merge branch 'origin/main' into Weblate. 2020-10-23 00:15:59 +02:00
Alvaro Figueroa efd8f1ab88
Translated using Weblate (Spanish)
Currently translated at 100.0% (836 of 836 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/es/
2020-10-23 00:15:59 +02:00
Scott Shawcroft 64c6d6d7e9
Merge pull request #3498 from jepler/sharpdisplay-reuse-supervisor-heap
Sharpdisplay: reuse supervisor heap
2020-10-22 15:15:48 -07:00
Tino Martínez 73aae6bbcd
Update es.po
Fixed typos UARL -> UART
2020-10-22 16:09:17 -05:00
Scott Shawcroft a899433dab
Merge pull request #3590 from jerryneedell/jerryn_cpb_spi
fix CPB SPI pin definitions
2020-10-22 13:49:25 -07:00
hexthat f4f6b082b4
Translated using Weblate (Chinese (Pinyin))
Currently translated at 100.0% (836 of 836 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/zh_Latn/
2020-10-22 22:48:53 +02:00
Antonin ENFRUN 04cf88deae
Translated using Weblate (French)
Currently translated at 100.0% (836 of 836 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/fr/
2020-10-22 22:48:52 +02:00
Scott Shawcroft c8808f41a5
Merge pull request #3580 from astrobokonon/esp32s2-FixSTAMODE
ESP32S2: Reset sta_mode and ap_mode flags
2020-10-22 13:48:45 -07:00
Jeff Epler b520498c73 sharpdisplay: Re-use supervisor allocations if possible
This is enabled by #3482

I was unable to determine why previously I had added sizeof(void*)
to the GC heap allocation, so I removed that code as a mistake.
2020-10-22 12:36:12 -05:00
microDev f431f859e7
Initial support for native touchio 2020-10-22 21:32:44 +05:30