Commit Graph

1411 Commits

Author SHA1 Message Date
Jeff Epler c029d6a165
Merge remote-tracking branch 'origin/8.2.x' into merge-82x 2023-08-22 08:49:16 -05:00
Jeff Epler 2fc413db24
Use the ".. jinja" tag to render support_matrix template
.. and remove the substring check for the file.

this fixes the problem with sphinx 7.2.2 that the "docname" can
be None (see https://github.com/sphinx-doc/sphinx/issues/11620)
2023-08-21 21:34:14 -05:00
Jeff Epler a94301122a
Make natmods work again.
And put back our magic number, because our bytecode format differs
from upstream

drop btree & framebuf natmods, they had additional problems I didn't
want to fix right now.
2023-08-19 16:59:13 -05:00
Dan Halbert 4a579f7242 fix doc build; reorganize placement of library docs 2023-08-14 12:34:00 -04:00
Dan Halbert 2171e67c1b merge latest adafruit/main 2023-08-13 19:43:54 -04:00
Jeff Epler dbafba889d
include SRC_PATTERNS for ci_set_matrix
Originally, all Makefile variables were implicitly included in
settings[]. When I revised ci_set_matrix, only explicltly named
variables are included.

Depending on the set of changed files, ci_set_matrix needs the
SRC_PATTERNS variable, so include it explicitly.

Typical error, seen in the history of building this PR:
```
Traceback (most recent call last):
  File "/home/runner/work/circuitpython/circuitpython/tools/ci_set_matrix.py", line 309, in <module>
    main()
  File "/home/runner/work/circuitpython/circuitpython/tools/ci_set_matrix.py", line 305, in main
    set_boards(run_all)
  File "/home/runner/work/circuitpython/circuitpython/tools/ci_set_matrix.py", line 215, in set_boards
    if module in settings["SRC_PATTERNS"]:
                 ~~~~~~~~^^^^^^^^^^^^^^^^
KeyError: 'SRC_PATTERNS'
Error: Process completed with exit code 1.
```
2023-08-03 08:57:42 -05:00
Jeff Epler 5e8c38c8f9
Add index.html as a redirect to README.html
closes #8246
2023-08-02 09:34:33 -05:00
Jeff Epler 1325e5e2b9
Add index.html as a redirect to README.html
closes #8246
2023-08-02 09:26:10 -05:00
Dan Halbert 0d4bc8c163 initial v1.19.1 merge; not compiled yet 2023-08-01 13:50:05 -04:00
Jeff Epler 2e040b0d13
make starting with an unexpected prefix an exception 2023-07-31 10:41:10 -05:00
Jeff Epler f3c4a981c3
be explicit about the prefix we expect to remove from frozen_path 2023-07-31 10:22:54 -05:00
Jeff Epler 9a18524c30
simplify circuitpy_mpconfig with enable-if-any, -all
and make corresponding simplifications in shared-bindings-matrix,
but directly using the final defines from CFLAGS instead of the
status quo.

The net changes are to disable audiocore & audiomixer on some espressif
devices that have no audio output at all. Other than that, the
shared-bindings-matrix seems to be identical.
2023-07-25 19:56:08 -05:00
anecdata 54b23feb06 Update docs/workflows.md
Co-authored-by: Scott Shawcroft <scott@tannewt.org>
2023-07-23 12:10:02 -04:00
anecdata 6d45f4504c web workflow: uses an mdns port service slot 2023-07-23 12:10:02 -04:00
Jeff Epler f41e314f48
document builtins.pow3 availability
this makes it show up in the support matrix
2023-07-20 11:16:49 -05:00
Jeff Epler f15eceb24c
Document more classes that can be separately enabled 2023-07-20 11:16:49 -05:00
Jeff Epler aca93d0ebb
MODULES_NOT_IN_BINDINGS can skip listing things in ADDITIONAL_MODULES 2023-07-20 11:16:49 -05:00
Jeff Epler 9593ec44b1
add os.getenv to the support matrix 2023-07-20 11:16:48 -05:00
Jeff Epler d7ff56b00e
sort a block of items 2023-07-20 11:16:48 -05:00
Jeff Epler 8ea0835ff6
Allow any files to be rendered as jinja templates
by including a comment ".. jinja" anywhere in the file. By convention,
this should be at the top.

os.getenv will use this so it can render a 'supported boards' list.
2023-07-20 11:16:48 -05:00
anecdata 73af1b8a30
Update docs/workflows.md
Co-authored-by: Scott Shawcroft <scott@tannewt.org>
2023-07-13 12:41:07 -05:00
anecdata bd2072123a
web workflow: uses an mdns port service slot 2023-07-12 23:24:33 -05:00
Neradoc bb2af51d25 document CIRCUITPY_PYSTACK_SIZE 2023-05-09 14:30:25 +02: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
Isaac Benitez 37116e6583 Fix documentation format error 2023-04-07 12:09:51 -07:00
Isaac Benitez e38b5491f4 Add device name env variable for web workflow 2023-04-07 11:45:13 -07:00
jposada202020 f56c221a50 removing need to use print format option. 2023-03-20 17:23:49 -04:00
Dan Halbert 6a9d69d743 add port-specific modules to support matrix 2023-03-14 16:06:30 -04:00
jposada202020 e54775a8cb adding information regarding the version for libraries 2023-01-31 18:58:27 -05:00
Jeff Epler 2bf5d2bc07
Merge remote-tracking branch 'origin/main' into dotenv-becomes-toml 2022-12-10 15:39:50 -06:00
Jeff Epler f2032dbf0f
remove mention of _environ 2022-12-09 14:11:37 -06:00
Jeff Epler 529ec23ecb
sadly, no emoji in the docs :( hopefully this works 2022-12-08 20:07:48 -06:00
Dan Halbert fa96bcce84 remove micropython asyncio doc; update libraries page and links 2022-12-08 20:23:02 -05:00
Jeff Epler 3459fe322b
Withdraw the _environ module
This existed solely for testing, so expose it a different way during
the unix coverage build

Also turn off os.getenv support on samd21.
2022-12-08 15:33:10 -06:00
Jeff Epler ef2bfdb5db
dotenv becomes settings.toml 2022-12-08 12:44:20 -06:00
Jeff Epler 3bd7075c55
we removed MpyError 2022-10-22 11:28:23 -05:00
Jeff Epler 07dda44b20
remove hashlib, zlib from micropython modules index
.. these have been converted to shared-bindings style
and have their own documentation now that better matches our
implementation.

Closes: #7034
2022-10-17 09:57:44 -05:00
Jeff Epler 25164030e2
Don't recompute 'all_ports_all_boards'
This looks modestly expensive, and it's trivial to cache it.
2022-10-14 11:33:02 -05:00
Jeff Epler cab4063057
Make it easier to locally test ci_set_matrix
Now you can e.g., `tools/ci_set_matrix.py ports/raspberrypi/mpconfigport.h`
and see what outputs would be set.
2022-10-14 11:33:02 -05:00
Dan Halbert 833f55922c
Remove multiterminal
This module has not been built in years, since the (removed) esp8266 port.
Delete the code, as it is not likely to be useful in its current form.

Closes: #7015
2022-10-06 14:02:47 -05:00
Dan Halbert ed87579a65 add missing native modules to support matrix 2022-10-04 19:22:18 -04:00
Melissa LeBlanc-Williams 8e0c6930dd Fix trailing whitespace 2022-09-01 13:32:49 -07:00
Melissa LeBlanc-Williams 8be2d650c7 Add info and link for Web Workflow /code/ page 2022-09-01 12:26:33 -07:00
Neradoc 8f0223573f remove alias to pewpew13 2022-08-30 10:52:54 +02:00
Dan Halbert af07a74422
Merge pull request #6826 from MicroDev1/main
Update formatting of `LICENSE` and clean-up
2022-08-29 12:31:49 -04:00
Rohan Shah ceada2655a
Remove article for general functionality 2022-08-28 10:59:23 -04:00
Rohan Shah d476de1a04
Fix typos and grammar in design_guide 2022-08-28 10:44:18 -04:00
microDev 62548db6fb
update formatting of LICENSE and clean-up 2022-08-27 14:47:10 +05:30
Melissa LeBlanc-Williams 1ae4d881fd Allow Move/Rename to be called from localhost 2022-08-24 14:50:42 -07:00
Scott Shawcroft 85b0be83bf
Add file and directory renaming
Internally this is done with a MOVE HTTP verb. It is modeled after
WebDAV MOVE but not exact to keep the Destination header shorter
and have more consistent response codes.

Fixes #6647
2022-08-16 13:51:40 -07:00