Remove board_chip logic
Not sure why I moved it, the computed value is never required
This commit is contained in:
parent
894bb3c003
commit
76149ebf57
@ -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+(.+)",
|
||||
|
Loading…
x
Reference in New Issue
Block a user