mirror of
https://github.com/odriverobotics/ODrive.git
synced 2026-09-20 22:55:00 +08:00
change ODRV_FACTORY to OTP_CONFIRM
This commit is contained in:
+2
-2
@@ -46,7 +46,7 @@ erase_config:
|
||||
# FLASH_CR = (1 << FLASH_CR_PG); // unlock flash memory
|
||||
# [write OTP]
|
||||
write_otp:
|
||||
ifeq ($(ODRV_FACTORY),TRUE)
|
||||
ifeq ($(OTP_CONFIRM),TRUE)
|
||||
# Data:
|
||||
openocd -f interface/stlink-v2.cfg -f target/stm32f4x.cfg \
|
||||
-c init \
|
||||
@@ -72,7 +72,7 @@ else
|
||||
@echo " 1. open the Makefile and look at the write_otp target"
|
||||
@echo " 2. understand the structure of the OTP"
|
||||
@echo " 3. edit the bytes that are written to match your board version"
|
||||
@echo "Run this command again, this time with ODRV_FACTORY=TRUE"
|
||||
@echo "Run this command again, this time with OTP_CONFIRM=TRUE"
|
||||
endif
|
||||
|
||||
clean:
|
||||
|
||||
Reference in New Issue
Block a user