diff --git a/include/debug/mem_safe.h b/include/debug/mem_safe.h index 72ce25894de..88ccabf18c2 100644 --- a/include/debug/mem_safe.h +++ b/include/debug/mem_safe.h @@ -120,7 +120,7 @@ extern int _mem_safe_write_to_text_section(void *dest, char *buf, * num_bytes. The read/write permissions are specified via @a perm and can * take the values either SYS_MEM_SAFE_READ or SYS_MEM_SAFE_WRITE. * - * The table size is specified via the CONFIG_MEM_SAFE_NUM_REGIONS kconfig + * The table size is specified via the CONFIG_MEM_SAFE_NUM_EXTRA_REGIONS kconfig * option. * * If the implementation of safe memory access chosen does not need this API, diff --git a/subsys/debug/Kconfig b/subsys/debug/Kconfig index f1d519a0a87..3ca9d9239f5 100644 --- a/subsys/debug/Kconfig +++ b/subsys/debug/Kconfig @@ -33,7 +33,7 @@ config MEM_SAFE_CHECK_BOUNDARIES Other regions can be added as needed by using the sys_mem_safe_region_add() API. The number of regions that can be added - is controlled via the MEM_SAFE_NUM_REGIONS kconfig option. + is controlled via the MEM_SAFE_NUM_EXTRA_REGIONS kconfig option. This implementation requires initialization and thus consumes some boot time.