Commit Graph

30771 Commits

Author SHA1 Message Date
Scott Shawcroft
b59f0e17be
Fix RP2040 idle
Don't idle from main if we scheduled an interrupt for 0 ticks in
the future.

Have RP2040 detect wakes that happen between setting the timer and
the idle call.

Fixes #7361
2023-04-21 16:04:23 -07:00
Scott Shawcroft
d078bc3ae1
Merge pull request #7882 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2023-04-21 09:13:28 -07:00
Hosted Weblate
74f42afc50
Merge remote-tracking branch 'origin/main' 2023-04-20 20:55:40 +02:00
Dan Halbert
5014ddb43c
Merge pull request #7854 from CDarius/m5stack_core2
Add M5Stack Core2
2023-04-20 14:55:33 -04:00
Hosted Weblate
d6b66b1854
Merge remote-tracking branch 'origin/main' 2023-04-20 20:52:30 +02:00
Dan Halbert
81c5a37e2d
Merge pull request #7867 from RetiredWizard/DispIOSizeValid
displayio arg validation tweaking
2023-04-20 14:52:24 -04:00
Hosted Weblate
8cc44f2b90
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/
2023-04-20 20:50:34 +02:00
Dan Halbert
7d02bff6b8
Merge pull request #7880 from tannewt/feather_dvi
Add PicoDVI support
2023-04-20 14:50:10 -04:00
Dan Halbert
df7f348e9c
Merge pull request #7881 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2023-04-20 10:57:58 -04:00
Hosted Weblate
6f71e81c86
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/
2023-04-20 16:23:03 +02:00
Dan Halbert
4b41a49200
Merge pull request #7866 from rich123/allow-64-char-wifi-passwords
Allow 64 char WiFi passwords in wifi.radio.connect
2023-04-20 10:22:44 -04:00
Dan Halbert
df41bd9ead change hex radio password validation; add password length doc 2023-04-20 09:47:25 -04:00
Scott Shawcroft
f38d59be2c
Fix windows CI 2023-04-19 16:02:01 -07:00
Scott Shawcroft
13bb801211
Fix docs and windows 2023-04-19 15:42:02 -07:00
Scott Shawcroft
66edcf5d03
Add PicoDVI support
PicoDVI in CP support 640x480 and 800x480 on Feather DVI, Pico and
Pico W. 1 and 2 bit grayscale are full resolution. 8 and 16 bit
color are half resolution.

Memory layout is modified to give the top most 4k of ram to the
second core. Its MPU is used to prevent flash access after startup.

The port saved word is moved to a watchdog scratch register so that
it doesn't get overwritten by other things in RAM.

Right align status bar and scroll area. This normally gives a few
pixels of padding on the left hand side and improves the odds it is
readable in a case. Fixes #7562

Fixes c stack checking. The length was correct but the top was being
set to the current stack pointer instead of the correct top.
Fixes #7643

This makes Bitmap subscr raise IndexError instead of ValueError
when the index arguments are wrong.
2023-04-19 15:14:02 -07:00
Scott Shawcroft
09c2c5ef0e
Merge pull request #7876 from thess/CORS-update
Simplify CORS checks and don't restrict host names.
2023-04-19 11:07:34 -07:00
Dan Halbert
e105bf1690
Merge pull request #7879 from milindmovasha/espressif_analogbufio_fix
Bug fixes for analogbufio espressif implementation
2023-04-19 13:17:59 -04:00
Milind
fd1e9cf8f1
1. Changed attenuation from ADC_ATTEN_DB_0 to ADC_ATTEN_DB_11
2. Scaling the 12-bit values received from DMA engine to 16-bit value
2023-04-19 21:46:08 +05:30
CDarius
14ecc44fbc Merge branch 'main' into m5stack_core2 2023-04-19 08:22:10 +00:00
CDarius
e5a5a348fd Fixed wrong GPIO number for touch screen interrupt 2023-04-19 08:17:10 +00:00
Ted Hess
8980ebfa16 Simplify CORS checks and don't restrict host names.
Minor socket cleanup.
2023-04-18 22:09:48 -04:00
silabs-BelaV
4e25a4f6b3
Silabs' new Pull Request for submoduling the ports/silabs/tools/slc_cli_linux/ (#7874)
Doing a squash merge to avoid having the `slc_cli_linux` .zip files in the history. They were added in one commit and removed and replaced with a submodule in another.

* Initial commit for xg24

* Fix SLC issue

* Fix SLC extract fail

* Change board's name

* Correct spelling of code

Build immediately after slc generate

* Remove VID and PID

* Change creator and creation id

* Apply new creator_id and creation_id

* Update makefile, error message, mcu_processor function

* Update mpconfigboard.mk

* Update Board extensions, PORT_DEPS

* Update makefile

* Add exclude_patterns

* Show java, jinja2 version

* Show path for debugging CI

* Add requirements-dev for slc

* Add PATH slc_cli

* Update background function

* Add jinja2 PATH

* Show PATH

* Update jinja2 path

* Update jinja2 path

* Update jinja2 path

* Update jinja2 path

* Change slc folder

* Change markupsafe folder

* Add symbolic link for slc

* Update makefile

* Update makefile

* Update MX25R3235F.toml from submodule nvm.toml

* alphabetize the list

* Remove slc_cli_linux folder

* Update slc_cli submodule

---------

Co-authored-by: Chat Nguyen <cvnguyen@silabs.com>
Co-authored-by: silabs-ChatNguyen <chat.nguyen@silabs.com>
Co-authored-by: silabs-ChatNguyen <126220343+silabs-ChatNguyen@users.noreply.github.com>
2023-04-18 12:42:16 -04:00
Scott Shawcroft
ebfde5c3fa
Merge pull request #7865 from CanyonCasa/reset
Reset stuck low detection
2023-04-18 08:42:23 -07:00
MicroDev
4b2578cd96
Merge pull request #7870 from CanyonCasa/onewire_doc
Fixed outdated reference link
2023-04-18 19:58:45 +05:30
MicroDev
5820748127
Merge pull request #7873 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2023-04-18 19:57:06 +05:30
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
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
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
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 1fe7d2956c.
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