stm32 - Fix two wrong comments in memory map

Comments only. No functional changes. See STM32G474 Reference Manual
(RM0440 Rev 4), section 3.4.1, Table 11, "Option byte organization."

arch/arm/src/stm32/hardware/stm32g47xxx_memorymap.h:

    * STM32_OPTION_BASE: The comment incorrectly said the range was
      0x1fff7800-0x1fff780f for a total of 16 Option Bytes. Corrected
      this to 0x1fff7800-0x1fff782f, as the device has 48 Option Bytes
      for this option block.

    * STM32_OPTION_BASE2: The comment incorrectly said the range was
      0x1ffff800-0x1ffff80f for a total of 16 Option Bytes. Corrected
      this to 0x1ffff800-0x1ffff82f, as the device has 48 Option Bytes
      for this option block.
This commit is contained in:
Nathan Hartman 2020-08-28 13:59:51 -04:00 committed by David Sidrane
parent 8934f2ed79
commit cb27b77d6c

View file

@ -53,12 +53,12 @@
#define STM32_SYSMEM_BASE 0x1fff0000 /* 0x1fff0000-0x1fff6fff: 28Kb System memory */
#define STM32_OTP_AREA_BASE 0x1fff7000 /* 0x1fff7000-0x1fff73ff: 1Kb OTP area */
/* 0x1fff7400-0x1fff77ff: Reserved */
#define STM32_OPTION_BASE 0x1fff7800 /* 0x1fff7800-0x1fff780f: 16 Option bytes */
/* 0x1fff7810-0x1fff7fff: Reserved */
#define STM32_OPTION_BASE 0x1fff7800 /* 0x1fff7800-0x1fff782f: 48 Option bytes */
/* 0x1fff7830-0x1fff7fff: Reserved */
#define STM32_SYSMEM_BASE2 0x1fff8000 /* 0x1fff8000-0x1fffefff: 28Kb System memory */
/* 0x1ffff000-0x1ffff7ff: Reserved */
#define STM32_OPTION_BASE2 0x1ffff800 /* 0x1ffff800-0x1ffff80f: 16 Option bytes */
/* 0x1fff7810-0x1fff7fff: Reserved */
#define STM32_OPTION_BASE2 0x1ffff800 /* 0x1ffff800-0x1ffff82f: 48 Option bytes */
/* 0x1fff7830-0x1fff7fff: Reserved */
/* System Memory Addresses **************************************************************************/