Skip to content

Commit 76149eb

Browse files
committed
Remove board_chip logic
Not sure why I moved it, the computed value is never required
1 parent 894bb3c commit 76149eb

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

docs/shared_bindings_matrix.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -119,13 +119,6 @@ def support_matrix_by_board():
119119

120120
boards = dict()
121121
for port in SUPPORTED_PORTS:
122-
# each port appears to use its own define for the chipset
123-
if port in ["atmel-samd"]:
124-
chip_keyword = "CHIP_FAMILY"
125-
elif port in ["nrf"]:
126-
chip_keyword = "MCU_VARIANT"
127-
elif port in ["stm"]:
128-
chip_keyword = "MCU_SERIES"
129122

130123
port_dir = "ports/{}/boards".format(port)
131124
for entry in os.scandir(port_dir):
@@ -135,8 +128,6 @@ def support_matrix_by_board():
135128

136129
settings = get_settings_from_makefile(f'ports/{port}', entry.name)
137130

138-
board_chip = lookup_setting(settings, chip_keyword, 'Unknown Chip')
139-
140131
with open(os.path.join(entry.path, "mpconfigboard.h")) as get_name:
141132
board_contents = get_name.read()
142133
board_name_re = re.search("(?<=MICROPY_HW_BOARD_NAME)\s+(.+)",

0 commit comments

Comments
 (0)