diff options
| author | TG-Techie <39284876+TG-Techie@users.noreply.github.com> | 2020-03-06 13:57:31 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-06 13:57:31 -0500 |
| commit | 7198056bc31ebae22337af119c07c7dca03e85d5 (patch) | |
| tree | 421b1c044250320ae15500f8578f6fec529937fa /docs | |
| parent | 6d4ffc69fdfe19366b15861694f97cbf77452937 (diff) | |
| parent | ba0c14f9ddf01f6cf98d278cbc4769a476342db0 (diff) | |
Merge pull request #2 from adafruit/5.0.x
5.0.x
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/index.rst | 1 | ||||
| -rw-r--r-- | docs/shared_bindings_matrix.py | 8 | ||||
| -rw-r--r-- | docs/supported_ports.rst | 1 |
3 files changed, 5 insertions, 5 deletions
diff --git a/docs/index.rst b/docs/index.rst index a85772fdc..6dadddfc1 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -43,6 +43,7 @@ Full Table of Contents ../README ../CONTRIBUTING + ../BUILDING ../CODE_OF_CONDUCT ../license.rst diff --git a/docs/shared_bindings_matrix.py b/docs/shared_bindings_matrix.py index ba0ec0e4f..e327d6ec6 100644 --- a/docs/shared_bindings_matrix.py +++ b/docs/shared_bindings_matrix.py @@ -26,7 +26,7 @@ import os import re -SUPPORTED_PORTS = ["atmel-samd", "nrf"] +SUPPORTED_PORTS = ["atmel-samd", "nrf", "mimxrt10xx"] def parse_port_config(contents, chip_keyword=None): @@ -185,7 +185,7 @@ def get_excluded_boards(base): board_is_excluded = True # check if module is specifically disabled for this board - re_pattern = "CIRCUITPY_{}\s=\s(\w)".format(module.upper()) + re_pattern = r"CIRCUITPY_{}\s=\s(\w)".format(module.upper()) find_module = re.search(re_pattern, contents) if not find_module: if base[module]["default_value"].isdigit(): @@ -204,9 +204,7 @@ def get_excluded_boards(base): ]): check_dependent_modules[module] = base[module]["default_value"] else: - if (find_module.group(1) == "0" and - find_module.group(1) != base[module]["default_value"]): - board_is_excluded = True + board_is_excluded = find_module.group(1) == "0" if board_is_excluded: if board_chip in base[module]["excluded"]: diff --git a/docs/supported_ports.rst b/docs/supported_ports.rst index 13f1e6507..9416a9c4f 100644 --- a/docs/supported_ports.rst +++ b/docs/supported_ports.rst @@ -8,6 +8,7 @@ and ESP8266. :maxdepth: 2 ../ports/atmel-samd/README + ../ports/mimxrt10xx/README ../ports/nrf/README ../ports/stm32f4/README ../ports/cxd56/README |
