diff options
| author | hathach <[email protected]> | 2023-03-30 00:31:26 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2023-03-30 00:31:26 +0700 |
| commit | 96718b7ca08d1d74cf1ecfb3816b57df50bf1616 (patch) | |
| tree | 8c2372cb5976211acbbb408158a5504233ee8f3a /tools | |
| parent | 99315bcca35e1ffb9d14705a0cd533f962bc79eb (diff) | |
merge s2 and s3, update cmake for espressif, add tinyusb_src as component
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/build_esp32sx.py | 5 | ||||
| -rw-r--r-- | tools/build_family.py | 2 |
2 files changed, 2 insertions, 5 deletions
diff --git a/tools/build_esp32sx.py b/tools/build_esp32sx.py index 2947a0a6b..00783bf58 100644 --- a/tools/build_esp32sx.py +++ b/tools/build_esp32sx.py @@ -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) diff --git a/tools/build_family.py b/tools/build_family.py index 532938d42..ae0bb282d 100644 --- a/tools/build_family.py +++ b/tools/build_family.py @@ -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() |
