Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Flipper-Zero/STM32CubeWB.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'Middlewares/ST/STM32_WPAN/ble/mesh/Inc/pal_nvm.h')
-rw-r--r--Middlewares/ST/STM32_WPAN/ble/mesh/Inc/pal_nvm.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/Middlewares/ST/STM32_WPAN/ble/mesh/Inc/pal_nvm.h b/Middlewares/ST/STM32_WPAN/ble/mesh/Inc/pal_nvm.h
index bd39bf008..12f2ea134 100644
--- a/Middlewares/ST/STM32_WPAN/ble/mesh/Inc/pal_nvm.h
+++ b/Middlewares/ST/STM32_WPAN/ble/mesh/Inc/pal_nvm.h
@@ -6,13 +6,12 @@
******************************************************************************
* @attention
*
-* <h2><center>&copy; Copyright (c) 2020 STMicroelectronics.
-* All rights reserved.</center></h2>
+* Copyright (c) 2018-2021 STMicroelectronics.
+* All rights reserved.
*
-* This software component is licensed by ST under Ultimate Liberty license
-* SLA0044, the "License"; You may not use this file except in compliance with
-* the License. You may obtain a copy of the License at:
-* www.st.com/SLA0044
+* This software is licensed under terms that can be found in the LICENSE file
+* in the root directory of this software component.
+* If no LICENSE file comes with this software, it is provided AS-IS.
*
******************************************************************************
*/
@@ -34,7 +33,11 @@ extern const void* mobleNvmBase;
/* Private define ------------------------------------------------------------*/
#define NVM_BASE ((unsigned int)mobleNvmBase)
+#if defined(STM32WB55xx)
#define NVM_SIZE 8192U
+#elif defined(STM32WB15xx)
+#define NVM_SIZE 4096U
+#endif
typedef enum
{