summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2021-04-19 13:01:50 +0700
committerGitHub <[email protected]>2021-04-19 13:01:50 +0700
commit01801c881b464927e4c7e4f67fe0b9cd41bf0e5f (patch)
treedb6a276757962e08eba290abe7113d6616d47ca6 /tools
parentf2874f2431daa0966984310a10d17ae8693944d2 (diff)
parent803b755554a69221f6d05a4b245f24045dfcd644 (diff)
Merge pull request #783 from alisitsyn/esp-based_on_334e95f
WIP: Add new Espressif target esp32s3 for tinyUSB
Diffstat (limited to 'tools')
-rw-r--r--tools/build_esp32sx.py (renamed from tools/build_esp32s2.py)3
-rw-r--r--tools/build_family.py2
2 files changed, 4 insertions, 1 deletions
diff --git a/tools/build_esp32s2.py b/tools/build_esp32sx.py
index 0ef05023c..91953f080 100644
--- a/tools/build_esp32s2.py
+++ b/tools/build_esp32sx.py
@@ -38,6 +38,9 @@ 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"):
+ if entry.is_dir():
+ all_boards.append(entry.name)
filter_with_input(all_boards)
all_boards.sort()
diff --git a/tools/build_family.py b/tools/build_family.py
index 65d0e8fc2..c46781904 100644
--- a/tools/build_family.py
+++ b/tools/build_family.py
@@ -38,7 +38,7 @@ all_examples.sort()
# 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 != "esp32s2":
+ if entry.is_dir() and os.path.isdir(entry.path + "/boards") and entry.name != "esp32s2" and entry.name != "esp32s3":
all_families.append(entry.name)
filter_with_input(all_families)