Commit Graph

28414 Commits

Author SHA1 Message Date
Andy Warburton
addd52e7c6 Update requirements-dev.txt
added pre-commit as it wasn't installed resulting in error when following learn guide: https://learn.adafruit.com/building-circuitpython/build-circuitpython
2022-07-27 18:28:01 +01:00
Radomir Dopieralski
6d10fe5703 Bump Stage to 1.3.4 2022-07-27 15:56:35 +02:00
Chris Dailey
2a9d3c5ed2
Adds BOOT0 (GPIO 0) as a named pin for MagTag. 2022-07-27 08:38:52 -04:00
Radomir Dopieralski
38db1d5f60 Remove GIF support to make room for PNG 2022-07-27 10:35:32 +02:00
Arudinne
a55aebc718 Added support for 8MB flash for Challenger 840 2022-07-26 20:34:01 -05:00
Scott Shawcroft
bb734c75d7
Improve build matrix computation
If a changed file is in frozen, supervisor, shared-bindings,
shared-module or common-hal, then compute board settings to
determine if it is impacted.

This should reduce the boards built for changes that are in those
directories.
2022-07-26 15:33:13 -07:00
Scott Shawcroft
931757f4a9
Improve web workflow responsiveness
1. Run the socket select task at the same priority as CP. This is
  needed because it queues up the background work. Without it, CP
  needed to sleep to let the lower priority task go.
2. Close the active socket on disconnect. This prevents looping
  over a disconnected but not closed socket.

Fixes #6610. Fixes #6613
2022-07-26 15:29:49 -07:00
Radomir Dopieralski
0f926f1723 Merge branch 'stage-png' of github.com:pewpew-game/circuitpython into stage-png 2022-07-27 00:09:03 +02:00
Radomir Dopieralski
d510e60511 Disable bitmaptools and busdevice on pewpew_m4 to fit ja translation 2022-07-27 00:08:02 +02:00
Radomir Dopieralski
1a7cca6639 Add PNG image support to the Stage library
That requires zlib to be enabled.
2022-07-26 22:12:22 +02:00
Scott Shawcroft
f9cc4ec61b
Fix print chunk 2022-07-26 11:51:10 -07:00
Scott Shawcroft
bc926b041e
Merge pull request #6629 from Neradoc/board-extensions-in-boards-dir
Build extensions in mpconfigport and mpconfigboard
2022-07-26 11:37:37 -07:00
Jeff Epler
920c68e9d5
Update shared/readline/readline.c
Co-authored-by: Scott Shawcroft <scott@tannewt.org>
2022-07-26 11:39:18 -05:00
Neradoc
6e5c818311 fix extensions for atmel and 2 boards, matching main 2022-07-26 18:15:59 +02:00
Neradoc
87e8994c4a no default extension for ESP, fix duplicate line in rp2 2022-07-26 18:15:59 +02:00
Neradoc
f472996e80 move get_board_mapping to shared_binding_matrix because it just uses a list from there
uppercase some of the configuration lists and dicts
properly split the extensions into a list
2022-07-26 18:15:59 +02:00
Neradoc
eabe8b971a list extensions instead of macros names ("bin,uf2" not BIN_UF2)
the modules_support_matrix usees a dictionnary per board instead of a list
optionally include the frozen modules URLs in it
2022-07-26 18:15:59 +02:00
Neradoc
d021d9ae4a Move build extensions to board directories
- define CIRCUITPY_BUILD_EXTENSIONS to predefined values
- set CIRCUITPY_BUILD_EXTENSIONS in port and board config
- reuse the support matrix "get_settings_from_makefile" to get it
- move the existing port and board specific values
- remove the C3 specific board values because it's not the default
- update build_release_files.py to use get_settings_from_makefile
2022-07-26 18:15:50 +02:00
Scott Shawcroft
1a7082ff1d
Add newline for pre-commit 2022-07-26 08:37:33 -07:00
Scott Shawcroft
562cbb11b9
Merge pull request #6643 from jepler/remove-autoapi-workaround
Remove workaround for autoapi bug
2022-07-26 08:26:07 -07:00
Jeff Epler
4c4a7072b0
readline: make ctrl-l clear screen & redraw line
.. similar to how standard Python does it. The specific escape sequence
is chosen for compatibility with the built-in `terminalio.Terminal`.

Closes: #6635
2022-07-25 19:45:21 -05:00
foamyguy
0ef6871a93 save with ctrl-s 2022-07-25 19:30:44 -05:00
foamyguy
d0782b60cb Merge branch 'main' into webflow_edit_page
# Conflicts:
#	supervisor/shared/web_workflow/web_workflow.c
2022-07-25 19:20:05 -05:00
foamyguy
a33985a73f change to basic <textarea> version 2022-07-25 19:15:43 -05:00
Scott Shawcroft
f4927dd2d6
Use mp_printf instead of snprintf 2022-07-25 16:58:54 -07:00
Scott Shawcroft
66d5fa9a55
Save space on Feather S3 4mb with -Os 2022-07-25 16:19:52 -07:00
Scott Shawcroft
6d6234443d
Merge remote-tracking branch 'adafruit/main' into web_workflow_port 2022-07-25 15:57:58 -07:00
Scott Shawcroft
39a06395fa
Merge pull request #6638 from Neradoc/nera-web-workflow
Refine web workflow access control and http responses
2022-07-25 15:48:15 -07:00
Scott Shawcroft
acdfda7d0e
Merge pull request #6624 from bwshockley/bwshockley-figpi
Add raspberrypi port - figpi
2022-07-25 15:23:52 -07:00
Scott Shawcroft
c90167a9db
Merge pull request #6630 from ViktorWiz/w5500-evb-pico
Add WIZNet W5500-EVB-Pico
2022-07-25 15:16:32 -07:00
Scott Shawcroft
47f718aa92
Merge pull request #6615 from askpatrickw/beetle-esp32-c3
Beetle esp32 c3
2022-07-25 15:00:05 -07:00
Jeff Epler
4ccbcfaaf6
Remove workaround for autoapi bug
https://github.com/readthedocs/sphinx-autoapi/issues/328 has been fixed
and released in version 1.9.0 on pypi.  This version should
automatically be picked up, as we use unversioned dependencies on the
package.
2022-07-25 14:08:28 -05:00
Dan Halbert
d8dfd4f63a
Merge pull request #6640 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2022-07-24 22:43:22 -04:00
Wellington Terumi Uemura
22e774fbb2
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (996 of 996 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2022-07-25 00:22:34 +02:00
Dan Halbert
492b208073
Merge pull request #6627 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2022-07-24 09:43:53 -04:00
Neradoc
09915ab0b9 compare all static ok hosts with port, add 127.0.0.1 and localhost to it
use strncmp rather than memcmp, one of the strings coul be smaller than the other
2022-07-24 15:15:10 +02:00
Neradoc
6575598ae6 HTTP headers and methods are not case sensitive
had the issue where Firefox would send "authorization" in lower case
2022-07-24 14:28:01 +02:00
Neradoc
9a6c3884a7 do options unauthenticated first, fix testing localhost 2022-07-24 14:28:01 +02:00
Neradoc
40cb0aac7c CORS preflight: allow OPTIONS without authentication
check for 127.0.0.1 without a port specified
2022-07-24 14:28:01 +02:00
Hosted Weblate
8b22b5a761
Merge remote-tracking branch 'origin/main' 2022-07-24 03:51:19 +02:00
Dan Halbert
b303d00bdf
Merge pull request #6637 from jepler/issue-6636
It's OK for an init program to be zero bytes long
2022-07-23 21:51:09 -04:00
Jeff Epler
955bcee1b3
It's OK for an init program to be zero bytes long
Closes #6636
2022-07-23 20:01:31 -05:00
ViktorWiz
ae6c0e347c Add WIZNet W5500-EVB-Pico 2022-07-22 17:31:58 +09:00
Jonny Bergdahl
01f6051bc4
Translated using Weblate (Swedish)
Currently translated at 100.0% (996 of 996 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2022-07-21 22:15:09 +02:00
Benjamin Shockley
dc686545c2
Update pins.c
Minor whitespace change.
2022-07-20 15:40:43 -05:00
Benjamin Shockley
e9eeaf2096
Update mpconfigboard.h
Moved UART to pins 24/25.
2022-07-20 12:35:40 -05:00
Benjamin Shockley
d01b65dd32
Create pins.c 2022-07-20 12:35:08 -05:00
Benjamin Shockley
3861a97f38
Create pico-sdk-configboard.h 2022-07-20 12:18:22 -05:00
Benjamin Shockley
3647cfa424
Create mpconfigboard.mk 2022-07-20 12:17:39 -05:00
Benjamin Shockley
d2865764ca
Create mpconfigboard.h
Added file.
2022-07-20 12:12:31 -05:00