From 11042898d71249ed9c698355fd7b7812b741a161 Mon Sep 17 00:00:00 2001 From: rihab kouki Date: Tue, 23 Nov 2021 15:29:35 +0100 Subject: Release v1.13.0 --- .../Thread_Coap_Generic/Core/Inc/app_common.h | 14 +++++------ .../Thread/Thread_Coap_Generic/Core/Inc/app_conf.h | 15 ++++++----- .../Thread_Coap_Generic/Core/Inc/app_entry.h | 12 ++++----- .../Thread/Thread_Coap_Generic/Core/Inc/hw_conf.h | 14 +++++------ .../Thread/Thread_Coap_Generic/Core/Inc/hw_if.h | 15 +++++------ .../Thread/Thread_Coap_Generic/Core/Inc/main.h | 13 ++++------ .../Thread_Coap_Generic/Core/Inc/stm32_lpm_if.h | 29 ++++++++++------------ .../Core/Inc/stm32wb5mm_dk_conf.h | 13 ++++------ .../Core/Inc/stm32wbxx_hal_conf.h | 15 ++++++----- .../Thread_Coap_Generic/Core/Inc/stm32wbxx_it.h | 15 +++++------ .../Thread_Coap_Generic/Core/Inc/stm_logging.h | 11 ++++---- .../Thread_Coap_Generic/Core/Inc/utilities_conf.h | 12 ++++----- .../Thread_Coap_Generic/Core/Src/app_entry.c | 16 ++++++------ .../Thread_Coap_Generic/Core/Src/hw_timerserver.c | 16 ++++++------ .../Thread/Thread_Coap_Generic/Core/Src/hw_uart.c | 12 ++++----- .../Thread/Thread_Coap_Generic/Core/Src/main.c | 26 +++++++++---------- .../Thread_Coap_Generic/Core/Src/stm32_lpm_if.c | 24 ++++++------------ .../Core/Src/stm32wbxx_hal_msp.c | 12 ++++----- .../Thread_Coap_Generic/Core/Src/stm32wbxx_it.c | 14 +++++------ .../Thread_Coap_Generic/Core/Src/stm_logging.c | 13 +++++----- .../Core/Src/system_stm32wbxx.c | 15 ++++++----- 21 files changed, 138 insertions(+), 188 deletions(-) (limited to 'Projects/STM32WB5MM-DK/Applications/Thread/Thread_Coap_Generic/Core') diff --git a/Projects/STM32WB5MM-DK/Applications/Thread/Thread_Coap_Generic/Core/Inc/app_common.h b/Projects/STM32WB5MM-DK/Applications/Thread/Thread_Coap_Generic/Core/Inc/app_common.h index cf8a5baa6..7197b3388 100644 --- a/Projects/STM32WB5MM-DK/Applications/Thread/Thread_Coap_Generic/Core/Inc/app_common.h +++ b/Projects/STM32WB5MM-DK/Applications/Thread/Thread_Coap_Generic/Core/Inc/app_common.h @@ -4,16 +4,15 @@ * File Name : app_common.h * Description : App Common application configuration file for STM32WPAN Middleware. * - ****************************************************************************** + ****************************************************************************** * @attention * - *

© Copyright (c) 2020 STMicroelectronics. - * All rights reserved.

+ * Copyright (c) 2019-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. * ****************************************************************************** */ @@ -116,4 +115,3 @@ extern "C"{ #endif /*APP_COMMON_H */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32WB5MM-DK/Applications/Thread/Thread_Coap_Generic/Core/Inc/app_conf.h b/Projects/STM32WB5MM-DK/Applications/Thread/Thread_Coap_Generic/Core/Inc/app_conf.h index 42543d46d..06021c295 100644 --- a/Projects/STM32WB5MM-DK/Applications/Thread/Thread_Coap_Generic/Core/Inc/app_conf.h +++ b/Projects/STM32WB5MM-DK/Applications/Thread/Thread_Coap_Generic/Core/Inc/app_conf.h @@ -3,16 +3,16 @@ ****************************************************************************** * File Name : app_conf.h * Description : Application configuration file for STM32WPAN Middleware. - ****************************************************************************** + * + ****************************************************************************** * @attention * - *

© Copyright (c) 2020 STMicroelectronics. - * All rights reserved.

+ * Copyright (c) 2019-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. * ****************************************************************************** */ @@ -368,4 +368,3 @@ typedef enum #endif /*APP_CONF_H */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32WB5MM-DK/Applications/Thread/Thread_Coap_Generic/Core/Inc/app_entry.h b/Projects/STM32WB5MM-DK/Applications/Thread/Thread_Coap_Generic/Core/Inc/app_entry.h index 568f2491d..3a1fe2f85 100644 --- a/Projects/STM32WB5MM-DK/Applications/Thread/Thread_Coap_Generic/Core/Inc/app_entry.h +++ b/Projects/STM32WB5MM-DK/Applications/Thread/Thread_Coap_Generic/Core/Inc/app_entry.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

© Copyright (c) 2019 STMicroelectronics. - * All rights reserved.

+ * Copyright (c) 2019-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. * ****************************************************************************** */ @@ -67,4 +66,3 @@ extern "C" { #endif /*APP_ENTRY_H */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32WB5MM-DK/Applications/Thread/Thread_Coap_Generic/Core/Inc/hw_conf.h b/Projects/STM32WB5MM-DK/Applications/Thread/Thread_Coap_Generic/Core/Inc/hw_conf.h index 3294c8281..2208cd72e 100644 --- a/Projects/STM32WB5MM-DK/Applications/Thread/Thread_Coap_Generic/Core/Inc/hw_conf.h +++ b/Projects/STM32WB5MM-DK/Applications/Thread/Thread_Coap_Generic/Core/Inc/hw_conf.h @@ -1,18 +1,17 @@ /* USER CODE BEGIN Header */ /** - ****************************************************************************** + ****************************************************************************** * File Name : hw_conf.h * Description : Hardware configuration file for STM32WPAN Middleware. ****************************************************************************** * @attention * - *

© Copyright (c) 2019 STMicroelectronics. - * All rights reserved.

+ * Copyright (c) 2019-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. * ****************************************************************************** */ @@ -263,4 +262,3 @@ #endif /*HW_CONF_H */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32WB5MM-DK/Applications/Thread/Thread_Coap_Generic/Core/Inc/hw_if.h b/Projects/STM32WB5MM-DK/Applications/Thread/Thread_Coap_Generic/Core/Inc/hw_if.h index 81e303b99..5dfe0e735 100644 --- a/Projects/STM32WB5MM-DK/Applications/Thread/Thread_Coap_Generic/Core/Inc/hw_if.h +++ b/Projects/STM32WB5MM-DK/Applications/Thread/Thread_Coap_Generic/Core/Inc/hw_if.h @@ -7,13 +7,12 @@ ****************************************************************************** * @attention * - *

© Copyright (c) 2019 STMicroelectronics. - * All rights reserved.

+ * Copyright (c) 2019-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. * ****************************************************************************** */ @@ -147,7 +146,7 @@ extern "C" { * @param pTimerId: Timer Id returned to the user to request operation (start, stop, delete) * @param TimerMode: Mode of the virtual timer (Single shot or repeated) * @param pTimerCallBack: Callback when the virtual timer expires - * @retval HW_TS_ReturnStatus_t: Return whether the creation is sucessful or not + * @retval HW_TS_ReturnStatus_t: Return whether the creation is successful or not */ HW_TS_ReturnStatus_t HW_TS_Create(uint32_t TimerProcessID, uint8_t *pTimerId, HW_TS_Mode_t TimerMode, HW_TS_pTimerCb_t pTimerCallBack); @@ -246,5 +245,3 @@ extern "C" { #endif #endif /*HW_IF_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32WB5MM-DK/Applications/Thread/Thread_Coap_Generic/Core/Inc/main.h b/Projects/STM32WB5MM-DK/Applications/Thread/Thread_Coap_Generic/Core/Inc/main.h index 04421f057..56638ded0 100644 --- a/Projects/STM32WB5MM-DK/Applications/Thread/Thread_Coap_Generic/Core/Inc/main.h +++ b/Projects/STM32WB5MM-DK/Applications/Thread/Thread_Coap_Generic/Core/Inc/main.h @@ -7,13 +7,12 @@ ****************************************************************************** * @attention * - *

© Copyright (c) 2019 STMicroelectronics. - * All rights reserved.

+ * Copyright (c) 2019-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. * ****************************************************************************** */ @@ -72,5 +71,3 @@ void MX_USART1_UART_Init(void); #endif #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32WB5MM-DK/Applications/Thread/Thread_Coap_Generic/Core/Inc/stm32_lpm_if.h b/Projects/STM32WB5MM-DK/Applications/Thread/Thread_Coap_Generic/Core/Inc/stm32_lpm_if.h index 70abecaa9..49bc3661f 100644 --- a/Projects/STM32WB5MM-DK/Applications/Thread/Thread_Coap_Generic/Core/Inc/stm32_lpm_if.h +++ b/Projects/STM32WB5MM-DK/Applications/Thread/Thread_Coap_Generic/Core/Inc/stm32_lpm_if.h @@ -1,21 +1,20 @@ /* USER CODE BEGIN Header */ /** -****************************************************************************** + ****************************************************************************** * @file stm32_lpm_if.h * @brief Header for stm32_lpm_if.c module (device specific LP management) -****************************************************************************** -* @attention -* - *

© Copyright (c) 2019 STMicroelectronics. -* All rights reserved.

-* - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause -* -****************************************************************************** -*/ + ****************************************************************************** + * @attention + * + * Copyright (c) 2019-2021 STMicroelectronics. + * All rights reserved. + * + * 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. + * + ****************************************************************************** + */ /* USER CODE END Header */ /* Define to prevent recursive inclusion -------------------------------------*/ @@ -77,5 +76,3 @@ void PWR_ExitSleepMode( void ); #endif #endif /*__STM32_LPM_IF_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32WB5MM-DK/Applications/Thread/Thread_Coap_Generic/Core/Inc/stm32wb5mm_dk_conf.h b/Projects/STM32WB5MM-DK/Applications/Thread/Thread_Coap_Generic/Core/Inc/stm32wb5mm_dk_conf.h index 29d137061..d081f3fb8 100644 --- a/Projects/STM32WB5MM-DK/Applications/Thread/Thread_Coap_Generic/Core/Inc/stm32wb5mm_dk_conf.h +++ b/Projects/STM32WB5MM-DK/Applications/Thread/Thread_Coap_Generic/Core/Inc/stm32wb5mm_dk_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

© Copyright (c) 2020 STMicroelectronics. - * All rights reserved.

+ * Copyright (c) 2020-2021 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * 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. * ****************************************************************************** */ @@ -92,5 +91,3 @@ extern "C" { #endif #endif /* STM32WB5MM_DK_CONF_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32WB5MM-DK/Applications/Thread/Thread_Coap_Generic/Core/Inc/stm32wbxx_hal_conf.h b/Projects/STM32WB5MM-DK/Applications/Thread/Thread_Coap_Generic/Core/Inc/stm32wbxx_hal_conf.h index 4addc3510..0de7f34ea 100644 --- a/Projects/STM32WB5MM-DK/Applications/Thread/Thread_Coap_Generic/Core/Inc/stm32wbxx_hal_conf.h +++ b/Projects/STM32WB5MM-DK/Applications/Thread/Thread_Coap_Generic/Core/Inc/stm32wbxx_hal_conf.h @@ -1,3 +1,4 @@ +/* USER CODE BEGIN Header */ /** ****************************************************************************** * @file stm32wbxx_hal_conf.h @@ -6,16 +7,16 @@ ****************************************************************************** * @attention * - *

© Copyright (c) 2019 STMicroelectronics. - * All rights reserved.

+ * Copyright (c) 2019 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * 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. * ****************************************************************************** */ +/* USER CODE END Header */ /* Define to prevent recursive inclusion -------------------------------------*/ #ifndef __STM32WBxx_HAL_CONF_H @@ -349,5 +350,3 @@ #endif #endif /* __STM32WBxx_HAL_CONF_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32WB5MM-DK/Applications/Thread/Thread_Coap_Generic/Core/Inc/stm32wbxx_it.h b/Projects/STM32WB5MM-DK/Applications/Thread/Thread_Coap_Generic/Core/Inc/stm32wbxx_it.h index ca1240de0..9c07c5762 100644 --- a/Projects/STM32WB5MM-DK/Applications/Thread/Thread_Coap_Generic/Core/Inc/stm32wbxx_it.h +++ b/Projects/STM32WB5MM-DK/Applications/Thread/Thread_Coap_Generic/Core/Inc/stm32wbxx_it.h @@ -3,16 +3,15 @@ ****************************************************************************** * @file stm32wbxx_it.h * @brief This file contains the headers of the interrupt handlers. - ******************************************************************************* + ****************************************************************************** * @attention * - *

© Copyright (c) 2019 STMicroelectronics. - * All rights reserved.

+ * Copyright (c) 2019-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. * ****************************************************************************** */ @@ -81,5 +80,3 @@ void EXTI15_10_IRQHandler(void); #endif #endif /* __STM32WBxx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32WB5MM-DK/Applications/Thread/Thread_Coap_Generic/Core/Inc/stm_logging.h b/Projects/STM32WB5MM-DK/Applications/Thread/Thread_Coap_Generic/Core/Inc/stm_logging.h index 948bfb5c5..6a811f7ab 100644 --- a/Projects/STM32WB5MM-DK/Applications/Thread/Thread_Coap_Generic/Core/Inc/stm_logging.h +++ b/Projects/STM32WB5MM-DK/Applications/Thread/Thread_Coap_Generic/Core/Inc/stm_logging.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

© Copyright (c) 2021 STMicroelectronics. - * All rights reserved.

+ * Copyright (c) 2019-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. * ****************************************************************************** */ diff --git a/Projects/STM32WB5MM-DK/Applications/Thread/Thread_Coap_Generic/Core/Inc/utilities_conf.h b/Projects/STM32WB5MM-DK/Applications/Thread/Thread_Coap_Generic/Core/Inc/utilities_conf.h index 92a5d07a3..8aacfd97f 100644 --- a/Projects/STM32WB5MM-DK/Applications/Thread/Thread_Coap_Generic/Core/Inc/utilities_conf.h +++ b/Projects/STM32WB5MM-DK/Applications/Thread/Thread_Coap_Generic/Core/Inc/utilities_conf.h @@ -7,13 +7,12 @@ ****************************************************************************** * @attention * - *

© Copyright (c) 2019 STMicroelectronics. - * All rights reserved.

+ * Copyright (c) 2019-2021 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * 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. * ****************************************************************************** */ @@ -65,4 +64,3 @@ extern "C" { #endif /*UTILITIES_CONF_H */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32WB5MM-DK/Applications/Thread/Thread_Coap_Generic/Core/Src/app_entry.c b/Projects/STM32WB5MM-DK/Applications/Thread/Thread_Coap_Generic/Core/Src/app_entry.c index b0a9867c9..6090f9585 100644 --- a/Projects/STM32WB5MM-DK/Applications/Thread/Thread_Coap_Generic/Core/Src/app_entry.c +++ b/Projects/STM32WB5MM-DK/Applications/Thread/Thread_Coap_Generic/Core/Src/app_entry.c @@ -6,16 +6,15 @@ ****************************************************************************** * @attention * - *

© Copyright (c) 2019 STMicroelectronics. - * All rights reserved.

+ * Copyright (c) 2019-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. * - ****************************************************************************** - */ + ****************************************************************************** + */ /* USER CODE END Header */ /* Includes ------------------------------------------------------------------*/ @@ -443,4 +442,3 @@ void HAL_GPIO_EXTI_Callback(uint16_t GPIO_Pin) } /* USER CODE END FD_WRAP_FUNCTIONS */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32WB5MM-DK/Applications/Thread/Thread_Coap_Generic/Core/Src/hw_timerserver.c b/Projects/STM32WB5MM-DK/Applications/Thread/Thread_Coap_Generic/Core/Src/hw_timerserver.c index c0af6a14a..3d44a3caf 100644 --- a/Projects/STM32WB5MM-DK/Applications/Thread/Thread_Coap_Generic/Core/Src/hw_timerserver.c +++ b/Projects/STM32WB5MM-DK/Applications/Thread/Thread_Coap_Generic/Core/Src/hw_timerserver.c @@ -1,19 +1,18 @@ /* USER CODE BEGIN Header */ /** - ****************************************************************************** + ****************************************************************************** * File Name : hw_timerserver.c * Description : Hardware timerserver source file for STM32WPAN Middleware. * - ****************************************************************************** + ****************************************************************************** * @attention * - *

© Copyright (c) 2021 STMicroelectronics. - * All rights reserved.

+ * Copyright (c) 2019-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. * ****************************************************************************** */ @@ -892,4 +891,3 @@ __weak void HW_TS_RTC_Int_AppNot(uint32_t TimerProcessID, uint8_t TimerID, HW_TS return; } -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32WB5MM-DK/Applications/Thread/Thread_Coap_Generic/Core/Src/hw_uart.c b/Projects/STM32WB5MM-DK/Applications/Thread/Thread_Coap_Generic/Core/Src/hw_uart.c index 6ae6ff9f9..166acccd5 100644 --- a/Projects/STM32WB5MM-DK/Applications/Thread/Thread_Coap_Generic/Core/Src/hw_uart.c +++ b/Projects/STM32WB5MM-DK/Applications/Thread/Thread_Coap_Generic/Core/Src/hw_uart.c @@ -7,13 +7,12 @@ ****************************************************************************** * @attention * - *

© Copyright (c) 2021 STMicroelectronics. - * All rights reserved.

+ * Copyright (c) 2019-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. * ****************************************************************************** */ @@ -317,4 +316,3 @@ void HAL_UART_TxCpltCallback(UART_HandleTypeDef *huart) return; } -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32WB5MM-DK/Applications/Thread/Thread_Coap_Generic/Core/Src/main.c b/Projects/STM32WB5MM-DK/Applications/Thread/Thread_Coap_Generic/Core/Src/main.c index 69364ca0d..8f0cdb451 100644 --- a/Projects/STM32WB5MM-DK/Applications/Thread/Thread_Coap_Generic/Core/Src/main.c +++ b/Projects/STM32WB5MM-DK/Applications/Thread/Thread_Coap_Generic/Core/Src/main.c @@ -4,6 +4,17 @@ * @file : main.c * @brief : Main program body * + ****************************************************************************** + * @attention + * + * Copyright (c) 2019-2021 STMicroelectronics. + * All rights reserved. + * + * 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. + * + ****************************************************************************** @verbatim ============================================================================== ##### IMPORTANT NOTE ##### @@ -23,19 +34,8 @@ @endverbatim ****************************************************************************** - * @attention - * - *

© Copyright (c) 2019 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 - * - * ****************************************************************************** - */ + */ /* USER CODE END Header */ /* Includes ------------------------------------------------------------------*/ #include "main.h" @@ -650,5 +650,3 @@ void assert_failed(uint8_t *file, uint32_t line) /* USER CODE END 6 */ } #endif /* USE_FULL_ASSERT */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32WB5MM-DK/Applications/Thread/Thread_Coap_Generic/Core/Src/stm32_lpm_if.c b/Projects/STM32WB5MM-DK/Applications/Thread/Thread_Coap_Generic/Core/Src/stm32_lpm_if.c index fba978d88..fd5ffa733 100644 --- a/Projects/STM32WB5MM-DK/Applications/Thread/Thread_Coap_Generic/Core/Src/stm32_lpm_if.c +++ b/Projects/STM32WB5MM-DK/Applications/Thread/Thread_Coap_Generic/Core/Src/stm32_lpm_if.c @@ -1,18 +1,17 @@ /* USER CODE BEGIN Header */ /** - *************************************************************************************** + *************************************************************************************** * File Name : stm32_lpm_if.c * Description : Low layer function to enter/exit low power modes (stop, sleep). - *************************************************************************************** + *************************************************************************************** * @attention * - *

© Copyright (c) 2019 STMicroelectronics. - * All rights reserved.

+ * Copyright (c) 2019-2021 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * 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. * ****************************************************************************** */ @@ -277,19 +276,11 @@ static void EnterLowPower( void ) /* Release ENTRY_STOP_MODE semaphore */ LL_HSEM_ReleaseLock( HSEM, CFG_HW_ENTRY_STOP_MODE_SEMID, 0 ); - /** - * The switch on HSI before entering Stop Mode is required on Cut2.0 - * It is useless from Cut2.1 - */ Switch_On_HSI( ); } } else { - /** - * The switch on HSI before entering Stop Mode is required on Cut2.0 - * It is useless from Cut2.1 - */ Switch_On_HSI( ); } @@ -355,5 +346,4 @@ static void Switch_On_HSI( void ) /* USER CODE END Private_Functions */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32WB5MM-DK/Applications/Thread/Thread_Coap_Generic/Core/Src/stm32wbxx_hal_msp.c b/Projects/STM32WB5MM-DK/Applications/Thread/Thread_Coap_Generic/Core/Src/stm32wbxx_hal_msp.c index 5401b70ae..0ac4b9220 100644 --- a/Projects/STM32WB5MM-DK/Applications/Thread/Thread_Coap_Generic/Core/Src/stm32wbxx_hal_msp.c +++ b/Projects/STM32WB5MM-DK/Applications/Thread/Thread_Coap_Generic/Core/Src/stm32wbxx_hal_msp.c @@ -7,13 +7,12 @@ ****************************************************************************** * @attention * - *

© Copyright (c) 2019 STMicroelectronics. - * All rights reserved.

+ * Copyright (c) 2019-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. * ****************************************************************************** */ @@ -386,4 +385,3 @@ void HAL_RTC_MspDeInit(RTC_HandleTypeDef* hrtc) /* USER CODE END 1 */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32WB5MM-DK/Applications/Thread/Thread_Coap_Generic/Core/Src/stm32wbxx_it.c b/Projects/STM32WB5MM-DK/Applications/Thread/Thread_Coap_Generic/Core/Src/stm32wbxx_it.c index e36489195..a2c1a6c47 100644 --- a/Projects/STM32WB5MM-DK/Applications/Thread/Thread_Coap_Generic/Core/Src/stm32wbxx_it.c +++ b/Projects/STM32WB5MM-DK/Applications/Thread/Thread_Coap_Generic/Core/Src/stm32wbxx_it.c @@ -3,16 +3,15 @@ ****************************************************************************** * @file stm32wbxx_it.c * @brief Interrupt Service Routines. - ******************************************************************************* + ****************************************************************************** * @attention * - *

© Copyright (c) 2019 STMicroelectronics. - * All rights reserved.

+ * Copyright (c) 2019-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. * ****************************************************************************** */ @@ -399,4 +398,3 @@ void EXTI15_10_IRQHandler(void) /* USER CODE END 1 */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32WB5MM-DK/Applications/Thread/Thread_Coap_Generic/Core/Src/stm_logging.c b/Projects/STM32WB5MM-DK/Applications/Thread/Thread_Coap_Generic/Core/Src/stm_logging.c index 0416f0c7a..aacc61283 100644 --- a/Projects/STM32WB5MM-DK/Applications/Thread/Thread_Coap_Generic/Core/Src/stm_logging.c +++ b/Projects/STM32WB5MM-DK/Applications/Thread/Thread_Coap_Generic/Core/Src/stm_logging.c @@ -1,6 +1,6 @@ /* USER CODE BEGIN Header */ /** - ****************************************************************************** + ****************************************************************************** * File Name : stm_logging.c * Description : This file contains all the defines and functions used * for logging on Application examples. @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

© Copyright (c) 2021 STMicroelectronics. - * All rights reserved.

+ * Copyright (c) 2019-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. * ****************************************************************************** */ diff --git a/Projects/STM32WB5MM-DK/Applications/Thread/Thread_Coap_Generic/Core/Src/system_stm32wbxx.c b/Projects/STM32WB5MM-DK/Applications/Thread/Thread_Coap_Generic/Core/Src/system_stm32wbxx.c index efd4c8554..bac9a055f 100644 --- a/Projects/STM32WB5MM-DK/Applications/Thread/Thread_Coap_Generic/Core/Src/system_stm32wbxx.c +++ b/Projects/STM32WB5MM-DK/Applications/Thread/Thread_Coap_Generic/Core/Src/system_stm32wbxx.c @@ -60,13 +60,12 @@ ****************************************************************************** * @attention * - *

© Copyright (c) 2019 STMicroelectronics. - * All rights reserved.

+ * Copyright (c) 2019-2021 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Apache License, Version 2.0, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/Apache-2.0 + * 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. * ****************************************************************************** */ @@ -161,10 +160,12 @@ const uint32_t MSIRangeTable[16UL] = {100000UL, 200000UL, 400000UL, 800000UL, 1000000UL, 2000000UL, \ 4000000UL, 8000000UL, 16000000UL, 24000000UL, 32000000UL, 48000000UL, 0UL, 0UL, 0UL, 0UL}; /* 0UL values are incorrect cases */ +#if defined(STM32WB55xx) || defined(STM32WB5Mxx) || defined(STM32WB35xx) || defined (STM32WB15xx) const uint32_t SmpsPrescalerTable[4UL][6UL]={{1UL,3UL,2UL,2UL,1UL,2UL}, \ {2UL,6UL,4UL,3UL,2UL,4UL}, \ {4UL,12UL,8UL,6UL,4UL,8UL}, \ {4UL,12UL,8UL,6UL,4UL,8UL}}; +#endif /** * @} @@ -349,5 +350,3 @@ void SystemCoreClockUpdate(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ -- cgit v1.2.3