Skip to content

Commit d976e4f

Browse files
committed
teensy/Makefile: Use common gchelper_m3.s code from lib/utils.
1 parent 5368210 commit d976e4f

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

ports/teensy/Makefile

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -98,10 +98,6 @@ STM_SRC_C = $(addprefix ports/stm32/,\
9898
pin_named_pins.c \
9999
)
100100

101-
STM_SRC_S = $(addprefix ports/stm32/,\
102-
gchelper.s \
103-
)
104-
105101
LIB_SRC_C = $(addprefix lib/,\
106102
libc/string0.c \
107103
mp-readline/readline.c \
@@ -120,8 +116,9 @@ SRC_TEENSY = $(addprefix core/,\
120116
yield.c \
121117
)
122118

123-
OBJ = $(PY_O) $(addprefix $(BUILD)/, $(SRC_C:.c=.o) $(STM_SRC_C:.c=.o) $(STM_SRC_S:.s=.o) $(SRC_TEENSY:.c=.o))
119+
OBJ = $(PY_O) $(addprefix $(BUILD)/, $(SRC_C:.c=.o) $(STM_SRC_C:.c=.o) $(SRC_TEENSY:.c=.o))
124120
OBJ += $(addprefix $(BUILD)/, $(LIB_SRC_C:.c=.o))
121+
OBJ += $(BUILD)/lib/utils/gchelper_m3.o
125122
OBJ += $(BUILD)/pins_gen.o
126123

127124
all: hex

0 commit comments

Comments
 (0)