diff options
| author | Jeff Epler <jepler@gmail.com> | 2020-05-25 09:59:13 -0500 |
|---|---|---|
| committer | Jeff Epler <jepler@gmail.com> | 2020-05-25 09:59:13 -0500 |
| commit | 76149ebf570a108f4b09c3624129fd1b2c7e26ad (patch) | |
| tree | 68a7ad2ec2a4cf1464abd0f849270dc73acb06d8 /docs/shared_bindings_matrix.py | |
| parent | 894bb3c003a5f34adc54c4ce7d8a1d95e41c87c5 (diff) | |
Remove board_chip logic
Not sure why I moved it, the computed value is never required
Diffstat (limited to 'docs/shared_bindings_matrix.py')
| -rw-r--r-- | docs/shared_bindings_matrix.py | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/docs/shared_bindings_matrix.py b/docs/shared_bindings_matrix.py index 10423d87d..7768296a1 100644 --- a/docs/shared_bindings_matrix.py +++ b/docs/shared_bindings_matrix.py @@ -119,13 +119,6 @@ def support_matrix_by_board(): boards = dict() for port in SUPPORTED_PORTS: - # each port appears to use its own define for the chipset - if port in ["atmel-samd"]: - chip_keyword = "CHIP_FAMILY" - elif port in ["nrf"]: - chip_keyword = "MCU_VARIANT" - elif port in ["stm"]: - chip_keyword = "MCU_SERIES" port_dir = "ports/{}/boards".format(port) for entry in os.scandir(port_dir): @@ -135,8 +128,6 @@ def support_matrix_by_board(): settings = get_settings_from_makefile(f'ports/{port}', entry.name) - board_chip = lookup_setting(settings, chip_keyword, 'Unknown Chip') - with open(os.path.join(entry.path, "mpconfigboard.h")) as get_name: board_contents = get_name.read() board_name_re = re.search("(?<=MICROPY_HW_BOARD_NAME)\s+(.+)", |
