merge s2 and s3, update cmake for espressif, add tinyusb_src as component

This commit is contained in:
hathach
2023-03-30 00:31:26 +07:00
parent 99315bcca3
commit 96718b7ca0
45 changed files with 114 additions and 651 deletions

View File

@@ -37,10 +37,7 @@ all_examples.sort()
# Build all boards if not specified
all_boards = []
for entry in os.scandir("hw/bsp/esp32s2/boards"):
if entry.is_dir():
all_boards.append(entry.name)
for entry in os.scandir("hw/bsp/esp32s3/boards"):
for entry in os.scandir("hw/bsp/espressif/boards"):
if entry.is_dir():
all_boards.append(entry.name)
filter_with_input(all_boards)

View File

@@ -52,7 +52,7 @@ if __name__ == '__main__':
# If family are not specified in arguments, build all
all_families = []
for entry in os.scandir("hw/bsp"):
if entry.is_dir() and os.path.isdir(entry.path + "/boards") and entry.name not in ("esp32s2", "esp32s3"):
if entry.is_dir() and os.path.isdir(entry.path + "/boards") and entry.name != 'espressif'
all_families.append(entry.name)
filter_with_input(all_families)
all_families.sort()