Commit Graph

28377 Commits

Author SHA1 Message Date
Scott Shawcroft
312e298890
Fix other ESP builds and arduino_nano_33_iot 2022-07-29 11:02:35 -07:00
Scott Shawcroft
d6344812e8
Lots of web workflow, C3 and title bar fixes
* Fixes #6221 - C3 hang on `import wifi`. Enabling the WiFi PHY was
  disabling USB. Now boards that use it set CONFIG_ESP_PHY_ENABLE_USB
  explicitly.
* Fixes #6655 - Allows pasting into the web serial page. Fixes reading
  more than 0xf bytes at a time.
* Fixes #6653 - Fixes web socket encoding of payloads >125 bytes. Can
  happen when printing a long string.
* Fixes C3 responsiveness when waiting for key to enter REPL. (It
  now correctly stops sleeping.)
* Disables title bar updates when in raw REPL. Related to #6548.
* Adds version to title bar.
2022-07-28 16:06:56 -07:00
Scott Shawcroft
c4c15206e7
Merge pull request #6608 from tannewt/web_workflow_port
Allow for dynamic reconfigure including port
2022-07-28 12:59:31 -07:00
Dan Halbert
282f8c49a6
Merge pull request #6660 from tannewt/fix_c3_serial_tx
Improve USB to Serial/JTAG TX
2022-07-28 14:42:56 -04:00
Scott Shawcroft
cb5fa3eaa6
Merge pull request #6664 from dglaude/patch-1
Add board.LED (alias of board.LED_R part of RGB)
2022-07-28 11:26:31 -07:00
Scott Shawcroft
c29fa9012d
Merge pull request #6645 from prplz/seeed_xiao_esp32c3
Add board: seeed_xiao_esp32c3
2022-07-28 11:22:43 -07:00
Scott Shawcroft
0c24190204
Merge pull request #6659 from dhalbert/mpy-cross-mac-macos-11
update mpy-cross macOS build to macos 11; make macos mpy-cross name consistent
2022-07-28 11:20:51 -07:00
Scott Shawcroft
b11eb12da5
Fix modified time. Use snprintf for uint64_t printing. 2022-07-28 11:00:26 -07:00
Scott Shawcroft
babd4ee618
Tweaks based on review comments 2022-07-28 08:43:36 -07:00
Scott Shawcroft
ec73ab8410
Merge pull request #6663 from tannewt/shrink_s3_4mb
Shrink Feather S3 4mb build with -Os
2022-07-28 08:14:16 -07:00
David Glaude
2baf3455bd
Add board.LED (alias of board.LED_R part of RGB)
Totally untested change (will try with the artifact), but I think every board should have a board.LED if possible to be able to use the learn guide basic instruction.
2022-07-28 16:46:56 +02:00
Scott Shawcroft
ddeb833a3a
Shrink Feather S3 4mb build with -Os 2022-07-28 07:43:39 -07:00
Michael Himing
555bf7cc12 Add board: seeed_xiao_esp32c3 2022-07-28 22:48:03 +10:00
Dan Halbert
8b4a5816bd don't specify -sdk in Makefile.m1 for mpy-cross 2022-07-27 22:51:14 -04:00
Dan Halbert
db6c9836b0 don't need to select macOS sdk any more 2022-07-27 22:28:00 -04:00
Scott Shawcroft
88102d104c
Merge pull request #6658 from andywarburton/main
Update requirements-dev.txt
2022-07-27 12:18:35 -07:00
Scott Shawcroft
bea955222a
Improve USB to Serial/JTAG TX
It had a tight 5ms timeout before that caused some characters to
drop. Now the wait is longer and reset after a successful transmit.
This follows what MicroPython does.

Fixes #6220
2022-07-27 12:15:13 -07:00
Dan Halbert
0a6f9112b1 update mpy-cross macOS build to macos 11; make macos mpy-cross names consistent 2022-07-27 14:50:57 -04:00
Scott Shawcroft
ce60beeb25
Merge pull request #6651 from tannewt/refine_select_task
Improve web workflow responsiveness
2022-07-27 11:24:51 -07:00
Scott Shawcroft
6463755577
Merge pull request #6648 from pypewpew/stage-png
Add PNG image support to the Stage library
2022-07-27 11:02:48 -07:00
Scott Shawcroft
e9e2d8550c
Merge pull request #6657 from nitz/adafruit-magtag-2.9-add-boot0
Adds `BOOT0` (`GPIO0`) as a named pin for MagTag.
2022-07-27 11:01:26 -07:00
Scott Shawcroft
2704ad7aaa
Merge pull request #6652 from Arudinne/main
Added support for 8MB flash for Challenger 840
2022-07-27 10:55:30 -07:00
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
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
562cbb11b9
Merge pull request #6643 from jepler/remove-autoapi-workaround
Remove workaround for autoapi bug
2022-07-26 08:26:07 -07: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