Skip to content

Commit

Permalink
stlinkv3/build: Correct processing of default trace_option value
Browse files Browse the repository at this point in the history
  • Loading branch information
sidprice committed Aug 31, 2024
1 parent f127699 commit 183c677
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/platforms/stlinkv3/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ probe_stlinkv3_link_args = [
]

trace_protocol = get_option('trace_protocol')
if trace_protocol == '3'
trace_protocol = '2'
endif
if trace_protocol == '2'
probe_stlinkv3_dependencies = fixme_platform_stm32f7_traceswoasync
probe_stlinkv3_args += ['-DTRACESWO_PROTOCOL=2']
Expand Down

0 comments on commit 183c677

Please sign in to comment.