Skip to content

Commit

Permalink
native: replace swo_manchester with swo_manchester_dma in Meson build…
Browse files Browse the repository at this point in the history
… system
  • Loading branch information
ssimek committed Oct 16, 2024
1 parent 0d5613a commit 64d177d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/platforms/common/stm32/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ platform_stm32_swo = declare_dependency(sources: files(
'swo_itm_decode.c',
))
platform_stm32_swo_manchester = declare_dependency(sources: files('swo_manchester.c'))
platform_stm32_swo_manchester_dma = declare_dependency(sources: files('swo_manchester_dma.c'))
platform_stm32_swo_uart = declare_dependency(sources: files('swo_uart.c'))

# RTT support handling
Expand Down
2 changes: 1 addition & 1 deletion src/platforms/native/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ trace_protocol = get_option('trace_protocol')
probe_native_args += [f'-DSWO_ENCODING=@trace_protocol@']
probe_native_dependencies = [platform_stm32_swo]
if trace_protocol in ['1', '3']
probe_native_dependencies += platform_stm32_swo_manchester
probe_native_dependencies += platform_stm32_swo_manchester_dma
endif
if trace_protocol in ['2', '3']
probe_native_dependencies += platform_stm32_swo_uart
Expand Down

0 comments on commit 64d177d

Please sign in to comment.