summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2024-11-13 20:02:01 +0700
committerGitHub <[email protected]>2024-11-13 20:02:01 +0700
commit6f11f99f989660384611d846fc6de7ccdf008b0e (patch)
tree0c48fb75cb750721b505736633c5ba52ccff5e44 /tools
parenta8903d3152cbaa93d4d9d7e347dd09529d4ca887 (diff)
parent401a704804da3a039c98870783d895dc2a1646f7 (diff)
Merge pull request #2875 from hathach/hil-dwc2
Diffstat (limited to 'tools')
-rwxr-xr-xtools/build.py1
-rwxr-xr-xtools/build_utils.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/tools/build.py b/tools/build.py
index 91d4ebd30..48666adc4 100755
--- a/tools/build.py
+++ b/tools/build.py
@@ -68,6 +68,7 @@ def get_examples(family):
if family == 'espressif':
all_examples.append('device/board_test')
all_examples.append('device/video_capture')
+ all_examples.append('host/device_info')
all_examples.sort()
return all_examples
diff --git a/tools/build_utils.py b/tools/build_utils.py
index b4a1dc096..2998f940d 100755
--- a/tools/build_utils.py
+++ b/tools/build_utils.py
@@ -40,7 +40,7 @@ def skip_example(example, board):
for line in mk_contents.splitlines():
match = re.search(r'set\(IDF_TARGET\s+"([^"]+)"\)', line)
if match:
- mcu = match.group(1)
+ mcu = match.group(1).upper()
break
else:
for token in mk_contents.split():