Commit Graph

28393 Commits

Author SHA1 Message Date
Dan Halbert
8b2f061563
Merge pull request #6666 from tannewt/fix_web_paste
Lots of web workflow, C3 and title bar fixes
2022-07-29 17:10:46 -04:00
Scott Shawcroft
312e298890
Fix other ESP builds and arduino_nano_33_iot 2022-07-29 11:02:35 -07:00
Scott Shawcroft
3612ce2ea7
Merge pull request #6665 from dhalbert/fix-macos-mpy-cross-name
fix name for macOS mpy-cross universal build
2022-07-29 10:14:08 -07:00
Jeff Epler
2e3961019d
Merge pull request #6639 from jepler/repl-ctrl-l
readline: make ctrl-l clear screen & redraw line
2022-07-29 11:42:58 -05:00
Scott Shawcroft
96e870dc77
Merge pull request #6662 from andywarburton/main
Added css support to web workflow
2022-07-29 09:42:13 -07:00
Jeff Epler
975e3e2a08
Merge remote-tracking branch 'origin/main' into repl-ctrl-l 2022-07-28 20:14:17 -05: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
Dan Halbert
cfa7de7592 fix name for macOS mpy-cross universal build 2022-07-28 18:14:32 -04: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
Scott Shawcroft
35797ff3f0
Remove trailing spaces 2022-07-28 12:52:41 -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
Andy Warburton
bef27e7a14
Merge branch 'adafruit:main' into main 2022-07-28 16:57:30 +01:00
Andy Warburton
ac53e7e439 further refinements 2022-07-28 16:57:02 +01:00
Scott Shawcroft
babd4ee618
Tweaks based on review comments 2022-07-28 08:43:36 -07:00
Scott Shawcroft
8b6e4cc4e8
Delete trailing spaces 2022-07-28 08:18:52 -07:00
Scott Shawcroft
df14f95398
Delete trailing spaces 2022-07-28 08:16:51 -07:00
Scott Shawcroft
1332bb6534
Add newline 2022-07-28 08:16:16 -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
Andy Warburton
ccd6063284 Update welcome.html
Made html more semantic.
2022-07-28 16:08:05 +01: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
Andy Warburton
2a0e4f7ee2 added css support to web workflow
Added a bare minimum css implementation to web workflow to improve readability
2022-07-28 12:03:22 +01: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
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