Skip to content

Commit

Permalink
fix(cmake): ignore svd_file
Browse files Browse the repository at this point in the history
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
  • Loading branch information
fpistm committed Jun 27, 2024
1 parent 10cd6e2 commit edcd17d
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions cmake/scripts/update_boarddb.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ def boardstxt_filter(key):
# a string ("Nucleo F207ZG")
# and a dict (.build.variant_h=..., .upload.maximum_size=...)

if key[-1] == "svd_file":
return True

if key[0] == "menu":
# menu.xserial=U(S)ART support
return True
Expand Down Expand Up @@ -107,12 +110,7 @@ def regenerate_template(config, infile, outfile):
del boardstxt_cfg["menu"] # blacklist what we don't need

# these are optional features to be picked out by the user
BOARD_FEATURES = [
"enable_virtio",
"enable_usb",
"usb_speed",
"xSerial",
]
BOARD_FEATURES = ["enable_virtio", "enable_usb", "usb_speed", "xSerial"]

allboards = dict()

Expand Down

0 comments on commit edcd17d

Please sign in to comment.