diff --git a/os/hal/ports/STM32/STM32F7xx/hal_lld.c b/os/hal/ports/STM32/STM32F7xx/hal_lld.c index 48ec38cad..9d82755b0 100644 --- a/os/hal/ports/STM32/STM32F7xx/hal_lld.c +++ b/os/hal/ports/STM32/STM32F7xx/hal_lld.c @@ -134,7 +134,7 @@ void hal_lld_init(void) { /* The SRAM2 bank can optionally made a non cache-able area for use by DMA engines.*/ mpuConfigureRegion(MPU_REGION_7, - 0x2004C000U, + SRAM2_BASE, MPU_RASR_ATTR_AP_RW_RW | MPU_RASR_ATTR_NON_CACHEABLE | MPU_RASR_SIZE_16K | diff --git a/readme.txt b/readme.txt index c4c9b01aa..1dbd50358 100644 --- a/readme.txt +++ b/readme.txt @@ -73,6 +73,8 @@ ***************************************************************************** *** 16.1.6 *** +- HAL: Fixed wrong SRAM2_BASE in STM32F7xx port (bug #778) + (backported to 16.1.6). - HAL: Added DAC configs in RT-STM32F051-DISCOVERY\mcuconf.h (bug #777). - HAL: Fixed DAC driver not compiling on STM32F051 and some bitmasks related to DAC disabling (bug #776).