File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -305,14 +305,14 @@ PY_EXTRA_SRC_C += $(addprefix bricks/_common/,\
305305 )
306306
307307# --- CUSTOM ODOMETRY ENGINE ROUTING ---
308- # Precise routing for Spike Prime
309308ifeq ($(strip $(PBIO_PLATFORM ) ) ,prime_hub)
310- SRC_C += ../../ pybricks/experimental/odometry_cortexm4.c
309+ PY_EXTRA_SRC_C += pybricks/experimental/odometry_cortexm4.c
311310else ifeq ($(strip $(PBIO_PLATFORM)),ev3dev)
312- SRC_C += ../../ pybricks/experimental/odometry_arm9.c
311+ PY_EXTRA_SRC_C += pybricks/experimental/odometry_arm9.c
313312else
314- SRC_C += ../../ pybricks/experimental/odometry_arm9.c
313+ PY_EXTRA_SRC_C += pybricks/experimental/odometry_arm9.c
315314endif
315+
316316# Not all MCUs support thumb2 instructions.
317317ifeq ($(PB_MCU_FAMILY ) ,native)
318318SRC_S +=
@@ -764,4 +764,4 @@ deploy-openocd: $(BUILD)/firmware-base.bin
764764 $(ECHO ) " Writing $< to the board via ST-LINK using OpenOCD"
765765 $(Q )$(OPENOCD ) -f $(OPENOCD_CONFIG ) -c " stm_flash $< $( TEXT0_ADDR) "
766766
767- include $(TOP ) /py/mkrules.mk
767+ include $(TOP ) /py/mkrules.mk
You can’t perform that action at this time.
0 commit comments