Dan Halbert
348392f8cc
Merge pull request #3775 from tannewt/nina_certs
...
Use nina-fw root certs
2020-12-02 16:13:19 -05:00
Hosted Weblate
c7749a569d
Merge branch 'origin/main' into Weblate.
2020-12-02 22:12:36 +01:00
Dan Halbert
9b3186b625
Merge pull request #3776 from tannewt/backup_socket_timeout
...
Two minor socket changes
2020-12-02 16:12:29 -05:00
Hosted Weblate
51fd678ee0
Merge branch 'origin/main' into Weblate.
2020-12-02 22:10:31 +01:00
Dan Halbert
31acfedf93
Merge pull request #3780 from tannewt/block_while_erasing
...
Block all tasks (not interrupts) during flash erase
2020-12-02 16:10:25 -05:00
Hosted Weblate
7655102ef2
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-12-02 21:51:54 +01:00
Hosted Weblate
8f6baa212f
Merge branch 'origin/main' into Weblate.
2020-12-02 21:51:52 +01:00
Scott Shawcroft
d7ba641ff6
Merge pull request #3767 from dhalbert/sleep
...
Initial alarm and sleep PR: time alarms with light and deep sleep; PinAlarms not yet implemented
2020-12-02 12:51:43 -08:00
vkuthan
9e6b2b1da8
Translated using Weblate (Czech)
...
Currently translated at 3.2% (28 of 864 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/cs/
2020-12-02 21:29:04 +01:00
Maciej Stankiewicz
1c00deb8be
Translated using Weblate (Polish)
...
Currently translated at 71.8% (621 of 864 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pl/
2020-12-02 21:29:04 +01:00
gamblor21
cb863e4c5c
Added to partial builds where frozen removed
2020-12-01 22:19:48 -06:00
Scott Shawcroft
73e22f9eeb
Block all tasks (not interrupts) during flash erase
...
Otherwise we risk running code from flash while an erase is in
progress, crashing and corrupting the file system.
Related to #3744
2020-12-01 18:15:06 -08:00
Dan Halbert
72fa7d88b8
fix doc errors
2020-12-01 20:13:46 -05:00
gamblor21
fe1c2fa6f0
Removed bus device from simmel build
2020-12-01 19:11:17 -06:00
Dan Halbert
8b7c23c1ee
address review comments
2020-12-01 20:01:14 -05:00
gamblor21
d3bbb99e07
Fixing stubs
2020-12-01 17:49:15 -06:00
Mark
237385798c
Merge branch 'main' into bus_device
2020-12-01 15:47:16 -06:00
Maciej Stankiewicz
2b9ca4d48a
Translated using Weblate (Polish)
...
Currently translated at 70.9% (613 of 864 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pl/
2020-12-01 20:56:03 +01:00
Szymon Jakubiak
44e0d98c62
Translated using Weblate (Polish)
...
Currently translated at 70.9% (613 of 864 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pl/
2020-12-01 20:56:03 +01:00
Maciej Stankiewicz
f6cba4c974
Translated using Weblate (Polish)
...
Currently translated at 70.7% (611 of 864 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pl/
2020-12-01 20:53:22 +01:00
Szymon Jakubiak
a95285ad36
Translated using Weblate (Polish)
...
Currently translated at 70.7% (611 of 864 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pl/
2020-12-01 20:53:21 +01:00
Scott Shawcroft
9a9e972242
Ignore certificates readme in doc build
2020-12-01 11:01:26 -08:00
Scott Shawcroft
927624468d
Two minor socket changes
...
* Remove BrokenPipeError and prefer to return the number of bytes
received. (May be zero.)
* Add two minute backup timeout to reduce the chance we hang on
recv accidentally.
2020-11-30 18:39:50 -08:00
Scott Shawcroft
4ac4faaaf6
Use nina-fw root certs
...
That way we have one set we use for all of Adafruit's connected
devices.
2020-11-30 17:02:26 -08:00
Scott Shawcroft
5b3c930e38
Merge pull request #3738 from microDev1/fix-touch
...
ESP32S2: Fix multiple touchpad don't work simultaneously
2020-11-30 16:03:16 -08:00
Scott Shawcroft
a975ef4971
Merge pull request #3695 from cwalther/movable
...
Add movable supervisor allocations
2020-11-30 16:00:55 -08:00
Scott Shawcroft
299b6efd84
Merge pull request #3774 from weblate/weblate-circuitpython-main
...
Translations update from Weblate
2020-11-30 15:40:46 -08:00
Christian Walther
d6f8a43f6c
Eliminate goto.
2020-11-30 23:33:38 +01:00
Hosted Weblate
1395ce9a7b
Merge branch 'origin/main' into Weblate.
2020-11-30 22:48:05 +01:00
Scott Shawcroft
98cf7f67d4
Merge pull request #3773 from dhalbert/no-samd21-complex-arithmetic
...
Disable complex arithmetic on SAMD21 builds to make space
2020-11-30 13:47:56 -08:00
vkuthan
205d135e1a
Translated using Weblate (Czech)
...
Currently translated at 1.8% (16 of 864 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/cs/
2020-11-30 19:06:37 +01:00
Jonny Bergdahl
f65449027a
Translated using Weblate (Swedish)
...
Currently translated at 100.0% (864 of 864 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2020-11-30 19:06:37 +01:00
Wellington Terumi Uemura
5e5045ddf1
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 100.0% (864 of 864 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2020-11-30 19:06:36 +01:00
Dan Halbert
0f0bbd85c8
Merge pull request #3770 from dhalbert/esp-uart-pins
...
ESP UART pins misnamed on some boards
2020-11-30 12:17:15 -05:00
Dan Halbert
dbfabddf58
rename ESP TX and RX pins; remove support
2020-11-30 11:11:04 -05:00
Dan Halbert
9768951a2a
Disable complex arithmetic on SAMD21 builds to make space
2020-11-29 15:34:38 -05:00
Christian Walther
11ed6f86f0
Optimize out allocation moving code on boards that don't need it.
...
When no features are enabled that use movable allocations, supervisor_move_memory() is not needed.
2020-11-29 16:27:36 +01:00
Christian Walther
9ecaa16ece
Unify redundant low/high_address computation to save a bit of code size.
2020-11-29 16:04:31 +01:00
Christian Walther
bde1c4166d
Revert "Prevent exceptions from accumulating in REPL"
...
This reverts commit 0cd951fb73
.
It is not a correct solution because it prevents printing the same exception twice.
2020-11-28 23:10:17 +01:00
Dan Halbert
848eb28132
esp-uart-pins
2020-11-28 14:52:56 -05:00
Christian Walther
993a581f5e
Make CIRCUITPY_SUPERVISOR_ALLOC_COUNT dependent on enabled features.
...
Avoids wasted memory and makes it easier to keep track of who needs how much for future additions.
2020-11-28 17:54:34 +01:00
Christian Walther
7ca36d45a4
Fix align32_size().
...
It not only caused crashes with requests larger than 64K (can happen with RGBMatrix), but also generated a lot longer code than necessary.
2020-11-28 17:54:34 +01:00
Christian Walther
a4b84cf0e1
Use movable allocation system for RGBMatrix allocations.
...
Hybrid allocation is now part of the infrastructure. Moving memory contents would not be necessary because displayio can recreate them, but does not hurt.
2020-11-28 17:54:34 +01:00
Christian Walther
ac91220361
Use movable allocation system for Sharp display framebuffer.
...
Hybrid allocation is now part of the infrastructure. Moving memory contents would not be necessary because displayio can recreate them, but does not hurt.
2020-11-28 17:54:34 +01:00
Christian Walther
2ba9805f84
Use movable allocation system for terminal tilegrid.
...
Moving memory is now done by the infrastructure and neither necessary nor correct here anymore.
2020-11-28 17:54:34 +01:00
Christian Walther
c7404a3ff8
Add movable allocation system.
...
This allows calls to `allocate_memory()` while the VM is running, it will then allocate from the GC heap (unless there is a suitable hole among the supervisor allocations), and when the VM exits and the GC heap is freed, the allocation will be moved to the bottom of the former GC heap and transformed into a proper supervisor allocation. Existing movable allocations will also be moved to defragment the supervisor heap and ensure that the next VM run gets as much memory as possible for the GC heap.
By itself this breaks terminalio because it violates the assumption that supervisor_display_move_memory() still has access to an undisturbed heap to copy the tilegrid from. It will work in many cases, but if you're unlucky you will get garbled terminal contents after exiting from the vm run that created the display. This will be fixed in the following commit, which is separate to simplify review.
2020-11-28 17:50:23 +01:00
Dan Halbert
28d9e9186e
Disable complex arithmetic on SAMD21 builds to make space
2020-11-28 10:12:46 -05:00
Dan Halbert
2830cc9433
make translate
2020-11-27 23:57:59 -05:00
Dan Halbert
65e2fe4654
fix stub problems; touch up doc
2020-11-27 23:27:15 -05:00
Dan Halbert
f96475cbbf
update Requests; rolled back by accident
2020-11-27 16:24:36 -05:00