change ODRV_FACTORY to OTP_CONFIRM

This commit is contained in:
Oskar Weigl
2018-04-21 15:53:08 -07:00
parent 52be9da107
commit 9af85d544e
+2 -2
View File
@@ -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: