mirror of
https://github.com/odriverobotics/ODrive.git
synced 2026-09-24 09:43:38 +08:00
relax tup environment check
When tup sees a change in environment variables, it needs to rebuild everything because it doesn't know if a process accessed the changed environment variable. However these changes are frequent when changing between VSCode and terminal. By disabling this check we trade a tiny bit of correctness for convenience.
This commit is contained in:
committed by
Oskar Weigl
parent
8bf6793a86
commit
e203420a80
+1
-1
@@ -7,7 +7,7 @@ FIRMWARE = $(BUILD_DIR)/ODriveFirmware.elf
|
||||
FIRMWARE_HEX = $(BUILD_DIR)/ODriveFirmware.hex
|
||||
|
||||
all:
|
||||
@tup --quiet
|
||||
@tup --quiet --no-environ-check
|
||||
|
||||
flash: all
|
||||
openocd -f interface/stlink-v2.cfg -f target/stm32f4x.cfg -c init -c reset\ halt -c flash\ write_image\ erase\ $(FIRMWARE) -c reset\ run -c exit
|
||||
|
||||
Reference in New Issue
Block a user