Skip to content

Commit

Permalink
chore(cmake): handle openocd config
Browse files Browse the repository at this point in the history
Signed-off-by: Frederic Pillon <[email protected]>
  • Loading branch information
fpistm committed Oct 3, 2024
1 parent 272f3fc commit cc8ca1c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cmake/scripts/update_boarddb.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def get_fpconf(config):


def boardstxt_filter(key):
# Remove menu entry labels
# Remove menu entry labels and oopenocd config if any
# In our data model, they conflict with the actual configuration
# they are associated to
# i.e. Nucleo_144.menu.pnum.NUCLEO_F207ZG would be both
Expand All @@ -22,7 +22,8 @@ def boardstxt_filter(key):

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

if len(key) >= 5 and key[-2] == "scripts" and key[-3] == "openocd":
return True
if key[0] == "menu":
# menu.xserial=U(S)ART support
return True
Expand Down

0 comments on commit cc8ca1c

Please sign in to comment.