Skip to content

Commit

Permalink
blackpill-f4: Switch to traceswoasync
Browse files Browse the repository at this point in the history
  • Loading branch information
ALTracer committed Aug 1, 2024
1 parent 14459b2 commit 784759e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/platforms/common/blackpill-f4/Makefile.inc
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ VPATH += \
SRC += \
blackpill-f4.c \
traceswodecode.c \
traceswo.c \
traceswoasync.c \
serialno.c \
timing.c \
timing_stm32.c
Expand Down
2 changes: 1 addition & 1 deletion src/platforms/common/blackpill-f4/blackpill-f4.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/platforms/common/blackpill-f4/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 784759e

Please sign in to comment.