Commit Graph

18567 Commits

Author SHA1 Message Date
microDev
0e444f0de8
Implement sleep on code.py exit 2020-10-27 16:17:29 -07:00
microDev
930cf14dce
Add check for invalid io, function to disable all alarms 2020-10-27 16:17:26 -07:00
microDev
e35938971a
Add description of alarm modules 2020-10-27 16:16:55 -07:00
microDev
59df1a11ad
Add alarm_touch module 2020-10-27 16:16:52 -07:00
microDev
da449723df
Fix build error 2020-10-27 16:16:15 -07:00
microDev
4d8ffdca8d
restructure alarm modules 2020-10-27 16:15:09 -07:00
microDev
e5ff55b15c
Renamed alarm modules 2020-10-27 16:13:25 -07:00
microDev
21ba61afbb
Add function to disable alarm 2020-10-27 16:13:25 -07:00
microDev
05a3f203db
Add function to get time elapsed during sleep 2020-10-27 16:13:25 -07:00
microDev
e310b871c8
Get io wake working 2020-10-27 16:13:25 -07:00
microDev
3a30887b44
Update soft reboot message 2020-10-27 16:13:24 -07:00
microDev
90b9ec6f2c
Initial Sleep Support 2020-10-27 16:13:22 -07:00
Noel Gaetan
d0426b3438
Update pins.c
fix mistake
2020-10-27 23:54:46 +01:00
Hosted Weblate
34a0fec18e
Merge branch 'origin/main' into Weblate. 2020-10-27 22:11:46 +01:00
Scott Shawcroft
557a58b244
Merge pull request #3591 from microDev1/TouchIO-S2
ESP32S2: Support for native TouchIO
2020-10-27 14:11:39 -07:00
Hosted Weblate
32f6f64a28
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 22:01:17 +01:00
Hosted Weblate
e1be1e4f80
Merge branch 'origin/main' into Weblate. 2020-10-27 22:01:15 +01:00
Wellington Terumi Uemura
54c26a772b
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (839 of 839 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2020-10-27 22:01:14 +01:00
Adolfo Jayme Barrientos
91e85e8037
Translated using Weblate (Spanish)
Currently translated at 99.6% (836 of 839 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/es/
2020-10-27 22:01:14 +01:00
Scott Shawcroft
73162bda85
Merge pull request #3584 from jepler/can-esp32s2
esp32s2: implement canio
2020-10-27 14:01:07 -07:00
Scott Shawcroft
54c0e98a37
Fix openbook build 2020-10-27 13:58:23 -07:00
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
gamblor21
2374b0d013 Fixed whitespace issues 2020-10-27 09:13:14 -05:00
gamblor21
9ec224539b Clean up 2020-10-27 08:43:51 -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
gamblor21
8a379830a8 Added doc and translations 2020-10-26 16:54:24 -05: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