diff --git a/src/platforms/common/blackpill-f4/Makefile.inc b/src/platforms/common/blackpill-f4/Makefile.inc index c3717a5bfbf..044079a5374 100644 --- a/src/platforms/common/blackpill-f4/Makefile.inc +++ b/src/platforms/common/blackpill-f4/Makefile.inc @@ -58,7 +58,7 @@ VPATH += \ SRC += \ blackpill-f4.c \ traceswodecode.c \ - traceswo.c \ + traceswoasync.c \ serialno.c \ timing.c \ timing_stm32.c diff --git a/src/platforms/common/blackpill-f4/blackpill-f4.h b/src/platforms/common/blackpill-f4/blackpill-f4.h index 76649974309..6fbb68b172c 100644 --- a/src/platforms/common/blackpill-f4/blackpill-f4.h +++ b/src/platforms/common/blackpill-f4/blackpill-f4.h @@ -34,7 +34,7 @@ #define PLATFORM_HAS_TRACESWO #define NUM_TRACE_PACKETS 256U /* 16K buffer */ -#define TRACESWO_PROTOCOL 1U /* 1 = RZ/Manchester, 2 = NRZ/async/uart */ +#define TRACESWO_PROTOCOL 2U /* 1 = RZ/Manchester, 2 = NRZ/async/uart */ #if ENABLE_DEBUG == 1 #define PLATFORM_HAS_DEBUG diff --git a/src/platforms/common/blackpill-f4/meson.build b/src/platforms/common/blackpill-f4/meson.build index 387cd8e5142..399ae8ea584 100644 --- a/src/platforms/common/blackpill-f4/meson.build +++ b/src/platforms/common/blackpill-f4/meson.build @@ -79,7 +79,7 @@ probe_host = declare_dependency( sources: probe_blackpill_sources, compile_args: probe_blackpill_args, link_args: probe_blackpill_common_link_args + probe_blackpill_link_args, - dependencies: [platform_common, platform_stm32f4, fixme_platform_stm32_traceswo], + dependencies: [platform_common, platform_stm32f4, fixme_platform_stm32_traceswoasync], ) probe_bootloader = declare_dependency(