28481 Commits

Author SHA1 Message Date
Dan Ellis
9b5e00fcc5 py/formatfloat: Format all whole-number floats exactly.
Formerly, py/formatfloat would print whole numbers inaccurately with
nonzero digits beyond the decimal place.  This resulted from its strategy
of successive scaling of the argument by 0.1 which cannot be exactly
represented in floating point.  The change in this commit avoids scaling
until the value is smaller than 1, so all whole numbers print with zero
fractional part.

Fixes issue #4212.

Signed-off-by: Dan Ellis dan.ellis@gmail.com
2022-08-09 13:43:47 -04:00
Scott Shawcroft
d95cfc3abc
Merge pull request #6719 from dhalbert/huzzah32-web-workflow
enable web workflow on Feather HUZZAH32
2022-08-09 10:08:39 -07:00
Jeff Epler
62bb0d0b04
Merge pull request #6720 from takayoshiotake/board-octave-rp2040
Add custom board: Octave RP2040
2022-08-09 10:46:32 -05:00
takayoshiotake
5ce3778d75 Add custom board: Octave RP2040 2022-08-09 22:19:38 +09:00
Dan Halbert
cee1a971c5
Merge pull request #6718 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2022-08-09 07:31:35 -04:00
Dan Halbert
10275001ac enable web workflow on Feather HUZZAH32 2022-08-09 07:26:18 -04:00
Maxime Leroy
7877f4d08a
Translated using Weblate (French)
Currently translated at 99.6% (997 of 1001 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/fr/
2022-08-09 06:22:16 +02:00
Dan Halbert
5775eb4e28
Merge pull request #6715 from tannewt/usb_connect_title_bar
Request a title bar update on USB cdc connect
2022-08-08 22:16:52 -04:00
Scott Shawcroft
401c269758
Request a title bar update on USB cdc connect
This ensures that the USB serial connection gets a copy of the
latest title bar.

Fixes #6703
2022-08-08 14:29:45 -07:00
Scott Shawcroft
f1826b054a
Merge pull request #6701 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2022-08-08 09:23:44 -07:00
Maxime Leroy
f00eac7e6e
Translated using Weblate (French)
Currently translated at 99.5% (996 of 1001 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/fr/
2022-08-08 06:20:52 +02:00
Hosted Weblate
82a0af5ca4
Merge remote-tracking branch 'origin/main' 2022-08-08 02:14:17 +02:00
Scott Shawcroft
0ed84486f6
Merge pull request #6709 from ladyada/main
add default display to odroid go
2022-08-07 17:14:03 -07:00
lady ada
2cd9222e5e add includes 2022-08-07 14:32:29 -04:00
lady ada
029b6b6fbe add default display 2022-08-07 14:12:40 -04:00
Jonny Bergdahl
9571bab8f8
Translated using Weblate (Swedish)
Currently translated at 100.0% (1001 of 1001 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2022-08-07 17:16:49 +02:00
Wellington Terumi Uemura
843ccb71c0
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (1001 of 1001 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2022-08-07 17:16:49 +02:00
Hosted Weblate
5e58fc1167
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/
2022-08-06 00:59:15 +02:00
Hosted Weblate
e9d10dfa38
Merge remote-tracking branch 'origin/main' 2022-08-06 00:59:12 +02:00
Scott Shawcroft
01f252d125
Merge pull request #6698 from tannewt/title_execution_status
Turn on title bar everywhere and enhance it
2022-08-05 15:59:07 -07:00
Scott Shawcroft
207311b02a
Merge branch 'main' into title_execution_status 2022-08-05 13:42:58 -07:00
Hosted Weblate
db9a9a1571
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/
2022-08-05 21:06:53 +02:00
Dan Halbert
8c10e09ba0
Merge pull request #6667 from jepler/esp-reserve-heap-for-idf
Add ability to reserve psram
2022-08-05 15:06:44 -04:00
Dan Halbert
7ab8a66cda
Merge pull request #6695 from tannewt/always_circuitpy
Get CIRCUITPY FATFS directly.
2022-08-05 11:51:35 -04:00
Dan Halbert
b92c3bbfb1
Merge pull request #6697 from tannewt/temp_redirect
Switch to temporary redirect for cp.local
2022-08-05 11:48:57 -04:00
Dan Halbert
9ab4843bd8
Merge pull request #6700 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2022-08-05 11:48:43 -04:00
River Wang
1e741f53fa
Translated using Weblate (Chinese (Pinyin))
Currently translated at 93.4% (932 of 997 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/zh_Latn/
2022-08-05 16:18:53 +02:00
Jonny Bergdahl
d61f9eee7f
Translated using Weblate (Swedish)
Currently translated at 100.0% (997 of 997 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2022-08-05 16:18:53 +02:00
Wellington Terumi Uemura
7f600422b0
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (997 of 997 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2022-08-05 16:18:53 +02:00
Mark
faa34c1a0f
Merge pull request #6696 from gamblor21/fix-6576-spi_device
Check if CS parameter is DigitalInOut type
2022-08-04 22:24:49 -05:00
gamblor21
9b9f8de0ba Changed error handling to use new routine 2022-08-04 19:34:12 -05:00
Scott Shawcroft
167108a91f
Fix builds with displayio but not terminalio 2022-08-04 16:34:25 -07:00
Scott Shawcroft
5e015001c0
Add supervisor.runtime.autoreload
This replaces supervisor.enable_autoreload() and
supervisor.disable_autoreload(). It also allows user code to get
the current autoreload state.

Replaces #5352 and part of #5414
2022-08-04 16:34:25 -07:00
Scott Shawcroft
e7d72b1ebe
Use libgcc from Arch on SAMD21 (it's smaller.)
Fixes #4705
2022-08-04 16:33:41 -07:00
Scott Shawcroft
eb7ddf52e6
Fix BLE workflow and add boot_out.txt UID
Fixes #6621
2022-08-04 16:33:10 -07:00
Scott Shawcroft
83cbbc9946
Add BLE status to title bar 2022-08-04 16:33:10 -07:00
Scott Shawcroft
3a2bcbc5c7
Enable title bar on all builds
* Tweak scroll area position so last line is complete and top is
  under the title bar.
* Pick Blinka size based on the font to minimize unused space in
  title bar. Related to #2791
* Update the title bar after terminal is started. Fixes #6078

Fixes #6668
2022-08-04 16:33:10 -07:00
Scott Shawcroft
577d53dda4
Add execution status into title bar 2022-08-04 16:33:09 -07:00
Scott Shawcroft
185d3e19ec
Switch to temporary redirect for cp.local
This prevents browsers from caching it. Thanks to MakerMelissa for
the suggestion.
2022-08-04 16:25:50 -07:00
gamblor21
0ca29fa213 Check if CS parameter is DigitalInOut type 2022-08-04 18:12:27 -05:00
Scott Shawcroft
125b276af0
Get CIRCUITPY FATFS directly.
Otherwise, you may actually get a non-root filesystem.

Fixes #6575
2022-08-04 16:06:27 -07:00
Scott Shawcroft
e0cb8ef17e
Merge pull request #6694 from dhalbert/esp32-no-psram
ESP32 no psram support; other ESP32 cleanup
2022-08-04 11:49:39 -07:00
Scott Shawcroft
3707b54e3b
Merge pull request #6672 from bill88t/main
Add Waveshare ESP32-S2-Pico
2022-08-04 11:09:59 -07:00
Dan Halbert
202fac59f8 ESP32 fixes for no PSRAM; some cleanup 2022-08-04 13:44:52 -04:00
Dan Halbert
d4e8c19b49 merge from main 2022-08-04 12:43:23 -04:00
Jeff Epler
82be75adb5 Add ability to reserve psram
.. the primary user of which will be the camera, since the framebuffers
must be allocated via esp-idf allocation function and never from the
gc heap.

A board can have a default value, and the value can also be set in the
/.env file using the key CIRCUITPY_RESERVED_PSRAM with the value being
the reserved size in bytes.

Co-authored-by: Dan Halbert <halbert@adafruit.com>
2022-08-03 16:19:40 -05:00
bill88t
68bb6b9988 ran precommit 2022-08-03 09:14:26 +03:00
Bill Sideris
efa3e40f90
Add the one obtained from esp 2022-08-03 08:48:28 +03:00
Scott Shawcroft
d659a3b457
Merge pull request #6690 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2022-08-02 22:41:45 -07:00
Dan Halbert
d3d5e36548 update adafruit/esp-idf for ESP32_ECO3_CACHE_LOCK_FIX fix 2022-08-02 22:37:06 -04:00