Merge pull request #13558 from jeromecoutant/PR_L4PLUS_SRAM3

STM32L4+ : SRAM3 is powered off in deepsleep
pull/13594/head
Martin Kojtal 2020-09-10 14:03:32 +01:00 committed by GitHub
commit 47e943af2d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 10 deletions

View File

@ -192,6 +192,10 @@ __WEAK void hal_deepsleep(void)
HAL_PWREx_DisableLowPowerRunMode();
}
#if defined(PWR_CR1_RRSTP)
HAL_PWREx_EnableSRAM3ContentRetention();
#endif
HAL_PWREx_EnterSTOP2Mode(PWR_STOPENTRY_WFI);
if (lowPowerModeEnabled) {

View File

@ -3290,11 +3290,7 @@
"device_has_add": [
"USBDEVICE"
],
"device_name": "STM32L4R5ZI",
"mbed_rom_start": "0x08000000",
"mbed_rom_size": "0x200000",
"mbed_ram_start": "0x20000000",
"mbed_ram_size": "0x40000"
"device_name": "STM32L4R5ZITx"
},
"NUCLEO_L4R5ZI_P": {
"inherits": [
@ -3308,6 +3304,7 @@
"inherits": [
"MCU_STM32L4"
],
"device_name": "STM32L4R9AIIx",
"supported_form_factors": [
"ARDUINO",
"STMOD",
@ -3330,11 +3327,7 @@
"device_has_add": [
"QSPI",
"USBDEVICE"
],
"mbed_rom_start": "0x08000000",
"mbed_rom_size": "0x200000",
"mbed_ram_start": "0x20000000",
"mbed_ram_size": "0x40000"
]
},
"B_L4S5I_IOT01A": {
"inherits": [