33347 Commits

Author SHA1 Message Date
Jeff Epler
7186235fa2
Translated using Weblate (French)
Currently translated at 97.9% (979 of 1000 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/fr/
2023-04-18 15:22:14 +02:00
Dan Halbert
3871501b5f
Merge pull request #7872 from dhalbert/apt-get-update
Add 'sudo apt-get update' before any 'sudo apt-get install'
2023-04-17 21:19:29 -04:00
Dan Halbert
d1df7e9cff Add 'sudo apt-get update' before any 'sudo apt-get install' 2023-04-17 19:51:02 -04:00
Debian
304134c6a4 Fixed outdated reference link 2023-04-17 12:54:59 -06:00
CanyonCasa
61f868a14e
Update shared-module/onewireio/OneWire.c
Co-authored-by: Scott Shawcroft <scott@tannewt.org>
2023-04-17 12:02:45 -06:00
Bernhard Bablok
2a49567ec6 added Adafruit_CircuitPython_Register to frozen libs 2023-04-17 19:03:42 +02:00
Scott Shawcroft
3cd6dff1d2
Merge pull request #7869 from thess/static-web-pages
Some improvements to Web Workflow static web pages
2023-04-17 09:22:25 -07:00
RetiredWizard
a4cb73a567
Add MAX(0,xxx-1) to prevent potential display wrap 2023-04-16 18:42:00 -04:00
Ted Hess
27a97dec16 Static web pages:
- Move loading .js scripts from <head> to <body> for faster rendering
   - Enable back-button support for file system/editor navigation
   - Close WebSocket when navigating away from /cp/serial
   - Use better looking Blinka icon.
2023-04-16 15:53:07 -04:00
Dan Halbert
4d7e54310c
Merge pull request #7868 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2023-04-16 10:35:46 -04:00
Andi Chandler
bf548efd85
Translated using Weblate (English (United Kingdom))
Currently translated at 100.0% (1000 of 1000 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/en_GB/
2023-04-16 15:51:48 +02:00
RetiredWizard
a8c78d8d2e displayio arg validation tweaking 2023-04-15 23:44:30 -04:00
Richard Ellis
ec78a23a56 Code changes to allow 64 character hex WiFi passwords to be used with
wifi.radio.connect.

Fixes adafruit/circuitpython#7677.
2023-04-15 22:54:57 -04:00
Debian
8927e41180 Reset stuck low detection 2023-04-15 17:05:12 -06:00
Dan Halbert
15f1bcaa90
Merge pull request #7864 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2023-04-15 08:45:50 -04:00
Andi Chandler
5828a9852f
Translated using Weblate (English (United Kingdom))
Currently translated at 86.4% (864 of 1000 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/en_GB/
2023-04-15 13:47:58 +02:00
Jonas Scharpf
b525f1c9ec tools/mpremote: Add ctrl-x as additonal mpremote disconnect shortcut.
The mpremote REPL can now be closed with either ctrl+] or ctrl+x, which
gives users a choice, useful if the ']' key is difficult to access.

Fixes issue #11197.

Signed-off-by: Jonas Scharpf <jonas@brainelectronics.de>
2023-04-15 00:07:40 +10:00
CDarius
d765efd71c Moved EXTEN and DCDC2 on register 0x12 2023-04-14 13:08:52 +00:00
CDarius
681eb66824 Fixed DCDC2 output voltage register 2023-04-14 13:02:51 +00:00
CDarius
32ffdcdc7c Fix I2S pins 2023-04-14 08:02:56 +00:00
CDarius
ed86f710c2 Refactored AXP192 code and moved under ports/espressif 2023-04-13 13:45:56 +00:00
CDarius
a9a58f29be Merge branch 'main' into m5stack_core2 2023-04-13 09:43:48 +00:00
iabdalkader
0acc73344a mimxrt: Fix the build for boards without ROM API. 2023-04-12 17:01:25 +02:00
Jeff Epler
0aea45516b
Merge pull request #7855 from flom84/gcc-13-mpy-cross-build-fix
GCC 13 mpy-cross build fix
2023-04-12 07:19:52 -06:00
flom84
3ca0131ddd Fix mpy-cross compile error with GCC13.
- GCC13 reports the following error when compiling mpy-cross:

main.c:313:6: error: conflicting types for ‘mp_import_stat’ due to enum/integer mismatch; have ‘uint(const char *)’ {aka ‘unsigned int(const char *)’} [-Werror=enum-int-mismatch]
  313 | uint mp_import_stat(const char *path) {
      |      ^~~~~~~~~~~~~~
In file included from ../py/compile.h:29,
                 from main.c:11:
../py/lexer.h:205:18: note: previous declaration of ‘mp_import_stat’ with type ‘mp_import_stat_t(const char *)’
  205 | mp_import_stat_t mp_import_stat(const char *path);
      |                  ^~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make: *** [../py/mkrules.mk:62: build/main.o] Error 1
2023-04-11 19:38:27 +02:00
Scott Shawcroft
dbfe1e73cf
Merge pull request #7846 from isacben/device-name-for-web-workflow
Add device name environment variable for web workflow
2023-04-11 10:20:46 -07:00
flom84
33ddf50d38 Revert "Enable uart over FTDI by default."
This reverts commit 1fe7d2956c73dba39333d2b3248e9cf7f89d5eb2.
2023-04-11 19:11:01 +02:00
flom_84
1245b4303c
Merge branch 'adafruit:main' into main 2023-04-11 18:44:44 +02:00
CDario
88644613b5 Add M5Stack Core2 2023-04-11 12:29:43 +00:00
iabdalkader
bde222ce84 mimxrt/modmachine: Implement machine.bootloader().
If a board defines a custom bootloader entry function it will be called
first, if not and the ROM API supports RUN bootloader API, then
`machine.bootloader()` will jump to the ROM serial downloader in USB mode.
2023-04-11 17:40:18 +10:00
iabdalkader
8b72721b29 mimxrt/mpconfigport: Allow configuring different network interfaces.
This commit allows boards to disable Ethernet and keep the networking stack
enabled, to use an alternate networking interface, such as WiFi.

Note that the `network` and `socket` modules are now enabled by default for
a board.
2023-04-11 17:20:29 +10:00
iabdalkader
944b4c2058 mimxrt/boards/MIMXRT1064_EVK: Fix board config to use internal flash.
This commit is necessary to make MicroPython work on this eval kit out of
the box, as the eval kit ships with the HyperFlash physically disconnected
from the bus (refer to the schematics or the user guide) and the QSPI
connected instead, but the fuses/board/pins are configured to boot from
internal flash (on FlexSPI2).

Note that enabling the HyperFlash is not trivial, as it requires soldering
and desoldering of many small footprint resistors and changing fuses.
2023-04-11 17:04:21 +10:00
iabdalkader
ed5e3598f1 mimxrt/Makefile: Fix internal flash configuration and build. 2023-04-11 17:03:28 +10:00
Alex Riesen
a22136a732 py/makeqstrdefs.py: Fix handling GreenHills C/C++ preprocessor output.
The GreenHills preprocessor produces #line directives without a file name,
which the regular expression used to distiguish between
"# <number> file..." (GCC and similar) and "#line <number> file..."
(Microsoft C and similar) does not match, aborting processing.

Besides, the regular expression was unnecessarily wide, matching lines
containing a "#", followed by any  number of 'l','i','n', and 'e'
characters.

Signed-off-by: Alex Riesen <alexander.riesen@cetitec.com>
2023-04-11 16:41:10 +10:00
Isaac Benitez
532283d1a5 Replace malloc() with static varible 2023-04-10 20:58:21 -07:00
Scott Shawcroft
06aa426e76
Merge pull request #7849 from stonehippo/micromod-samd51-update
Update pins to include UART1 RTS and CTS
2023-04-10 10:30:24 -07:00
Scott Shawcroft
87e512c600
Merge pull request #7844 from bill88t/YD_ESP32_S3
Add YD_ESP32_S3
2023-04-10 10:27:58 -07:00
flom_84
da96882932
Merge branch 'adafruit:main' into main 2023-04-10 12:02:02 +02:00
MicroDev
9ff384aa49
Merge pull request #7852 from applecuckoo/patch-1
doc: urandom is supported on nRF boards
2023-04-10 11:12:15 +05:30
applecuckoo
ef78dee4a5
Fix up Contributor Covenant homepage link
There was a reference to a Markdown variable that has been deleted from this version, used the original Contributor Covenant as a reference.
2023-04-10 15:33:38 +12:00
applecuckoo
add8f06b75
urandom is supported on nRF boards 2023-04-10 15:27:15 +12:00
Dan Halbert
2b3d2c7d00
Merge pull request #7850 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2023-04-09 22:19:08 -04:00
hexthat
60502679d9
Translated using Weblate (Chinese (Pinyin))
Currently translated at 100.0% (1000 of 1000 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/zh_Latn/
2023-04-09 19:51:31 +02:00
Bill Sideris
20f84767dd
Merge branch 'adafruit:main' into YD_ESP32_S3 2023-04-09 01:32:21 +03:00
George White
c37af65ee1
Update pins to include UART1 RTS and CTS
Previous pins definition stated that the UART1 RTS and CTS were not connected. They are connected and can currently be used via A1 and PWM0 respectively. To make things a little clearer, enabling the RTS1/CTS1.
2023-04-08 16:29:50 -04:00
Bernhard Bablok
2b3601451f Merge branch 'main' into badger_2040_w 2023-04-08 13:06:37 +02:00
Dan Halbert
e4c6d76483
Merge pull request #7845 from tannewt/fix_ticks_tasks
Fix ticks
2023-04-07 17:02:46 -04:00
Isaac Benitez
37116e6583 Fix documentation format error 2023-04-07 12:09:51 -07:00
Scott Shawcroft
bc30475d09
Fix frequencyio 2023-04-07 12:02:54 -07:00
Isaac Benitez
e38b5491f4 Add device name env variable for web workflow 2023-04-07 11:45:13 -07:00