Skip to content

Commit

Permalink
stlink: Fixed a mistake in the Makefile.inc resulting in build issues
Browse files Browse the repository at this point in the history
  • Loading branch information
dragonmux committed Sep 27, 2024
1 parent 20fe1f8 commit 2c15a44
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions src/platforms/stlink/Makefile.inc
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@ else
SWO_ENCODING = 3
endif

# Include the base implementation and decoder
SRC += \
swo.c \
swo_itm_decode.c

# Include the files for either: Manchester-only (1), UART-only (2) or both modes (3)
ifeq ($(SWO_ENCODING), 1)
SRC += swo_manchester.c
Expand Down Expand Up @@ -67,13 +72,12 @@ endif

VPATH += platforms/common/stm32

SRC += \
platform.c \
serialno.c \
timing.c \
timing_stm32.c \
traceswodecode.c \
stlink_common.c \
SRC += \
platform.c \
serialno.c \
timing.c \
timing_stm32.c \
stlink_common.c

ifeq ($(ST_BOOTLOADER), 1)
all: blackmagic.bin
Expand Down

0 comments on commit 2c15a44

Please sign in to comment.