From 9af85d544eb15dd4055ebd0a3e04cb8f19d8d1ba Mon Sep 17 00:00:00 2001 From: Oskar Weigl Date: Sat, 21 Apr 2018 15:53:08 -0700 Subject: [PATCH] change ODRV_FACTORY to OTP_CONFIRM --- Firmware/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Firmware/Makefile b/Firmware/Makefile index d587105a..fb2a9115 100644 --- a/Firmware/Makefile +++ b/Firmware/Makefile @@ -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: