Skip to content

Commit 68fb911

Browse files
committed
fix(cmake): ignore svd_file
Signed-off-by: Frederic Pillon <[email protected]>
1 parent ca48d69 commit 68fb911

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

cmake/scripts/update_boarddb.py

+4-6
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ def boardstxt_filter(key):
2020
# a string ("Nucleo F207ZG")
2121
# and a dict (.build.variant_h=..., .upload.maximum_size=...)
2222

23+
if key[-1] == "svd_file":
24+
return True
25+
2326
if key[0] == "menu":
2427
# menu.xserial=U(S)ART support
2528
return True
@@ -107,12 +110,7 @@ def regenerate_template(config, infile, outfile):
107110
del boardstxt_cfg["menu"] # blacklist what we don't need
108111

109112
# these are optional features to be picked out by the user
110-
BOARD_FEATURES = [
111-
"enable_virtio",
112-
"enable_usb",
113-
"usb_speed",
114-
"xSerial",
115-
]
113+
BOARD_FEATURES = ["enable_virtio", "enable_usb", "usb_speed", "xSerial"]
116114

117115
allboards = dict()
118116

0 commit comments

Comments
 (0)