]> git.gag.com Git - fw/openocd/blobdiff - tcl/target/stm32f2x.cfg
flash: stm32f2/f4/f7: Add One-Time-Porgrammable (OTP) support
[fw/openocd] / tcl / target / stm32f2x.cfg
index 80f9274d577eac87039a3b1bdf34b0518ae7583f..1e8b94ace0301c9631e7b4d857f08e35377e8b1e 100644 (file)
@@ -62,6 +62,7 @@ $_TARGETNAME configure -work-area-phys 0x20000000 -work-area-size $_WORKAREASIZE
 
 set _FLASHNAME $_CHIPNAME.flash
 flash bank $_FLASHNAME stm32f2x 0 0 0 0 $_TARGETNAME
+flash bank $_CHIPNAME.otp stm32f2x 0x1fff7800 0 0 0 $_TARGETNAME
 
 reset_config srst_nogate