Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitcc8ca1c

Browse files
committed
chore(cmake): handle openocd config
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
1 parent272f3fc commitcc8ca1c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

‎cmake/scripts/update_boarddb.py‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def get_fpconf(config):
1313

1414

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

2323
ifkey[-1]=="svd_file":
2424
returnTrue
25-
25+
iflen(key)>=5andkey[-2]=="scripts"andkey[-3]=="openocd":
26+
returnTrue
2627
ifkey[0]=="menu":
2728
# menu.xserial=U(S)ART support
2829
returnTrue

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp