This is an automated email from Gerrit.

"Ondřej Hošek <ondra.ho...@gmail.com>" just uploaded a new patch set to Gerrit, 
which you can find at https://review.openocd.org/c/openocd/+/8464

-- gerrit

commit 2da48b4e5fb65b538290bb3a4bb148c930cd5a64
Author: Ondřej Hošek <ondra.ho...@gmail.com>
Date:   Sun Aug 25 13:54:15 2024 +0200

    doc: fix stm32l4x option_write usage
    
    stm32l4x option_write works like stm32h7x option_write, i.e. expects the
    value to write after reg_offset and optionally reg_mask after the value.
    
    Change-Id: I57fb4fb1dbf7f43fe063b48f4db2dd5f2ef0ade0
    Signed-off-by: Ondřej Hošek <ondra.ho...@gmail.com>

diff --git a/doc/openocd.texi b/doc/openocd.texi
index 794762fa2d..6e0cbb20ea 100644
--- a/doc/openocd.texi
+++ b/doc/openocd.texi
@@ -8075,7 +8075,7 @@ The above example will read out the FLASH_OPTR register 
which contains the RDP
 option byte, Watchdog configuration, BOR level etc.
 @end deffn
 
-@deffn {Command} {stm32l4x option_write} num reg_offset reg_mask
+@deffn {Command} {stm32l4x option_write} num reg_offset value [reg_mask]
 Write an option byte register of the stm32l4x device.
 The @var{num} parameter is a value shown by @command{flash banks}, 
@var{reg_offset}
 is the register offset of the Option byte to write, and @var{reg_mask} is the 
mask

-- 

Reply via email to