Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Update STM32L5 HAL and CMSIS drivers#1892

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
fpistm merged 2 commits intostm32duino:mainfromfpistm:update_CubeL5
Dec 8, 2022
Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -11,25 +11,18 @@
* - Setup behavior of Floating Point Unit
* - Setup Interrupt Target
*
******************************************************************************/
/*
* Copyright (c) 2009-2016 ARM Limited. All rights reserved.
* Portions Copyright (c) 2019 STMicroelectronics, all rights reserved
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an AS IS BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
******************************************************************************
* @attention
*
* Copyright (c) 2019 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.
*
******************************************************************************
*/


#ifndef PARTITION_STM32L552XX_H
Expand Down
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -11,25 +11,18 @@
* - Setup behavior of Floating Point Unit
* - Setup Interrupt Target
*
******************************************************************************/
/*
* Copyright (c) 2009-2016 ARM Limited. All rights reserved.
* Portions Copyright (c) 2019 STMicroelectronics, all rights reserved
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an AS IS BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
******************************************************************************
* @attention
*
* Copyright (c) 2019 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.
*
******************************************************************************
*/

#ifndef PARTITION_STM32L562XX_H
#define PARTITION_STM32L562XX_H
Expand Down
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -13,13 +13,12 @@
******************************************************************************
* @attention
*
*<h2><center>&copy;Copyright (c) 2019 STMicroelectronics.
* All rights reserved.</center></h2>
* Copyright (c) 2019 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.
*
******************************************************************************
*/
Expand DownExpand Up@@ -49,23 +48,22 @@
#include "partition_stm32l562xx.h"
#else
#error "Please select first the target STM32L5xx device used in your application (in stm32l5xx.h file)"
#endif
#endif /* STM32L552xx */

/**
* @}
*/

#ifdef __cplusplus
}
#endif /* __cplusplus */

#endif /* PARTITION_STM32L5XX_H */

/**
* @}
*/

/**
* @}
*/




/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
35 changes: 19 additions & 16 deletionssystem/Drivers/CMSIS/Device/ST/STM32L5xx/Include/stm32l552xx.h
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -7,18 +7,17 @@
* This file contains:
* - Data structures and the address mapping for all peripherals
* - Peripheral's registers declarations and bits definition
* - Macros to access peripherals registers hardware
* - Macros to access peripheral's registers hardware
*
******************************************************************************
* @attention
*
*<h2><center>&copy;Copyright (c) 2019 STMicroelectronics.
* All rights reserved.</center></h2>
* Copyright (c) 2019 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.
*
******************************************************************************
*/
Expand All@@ -44,7 +43,10 @@ extern "C" {
* @{
*/


/**
* @brief stm32l552xx Interrupt Number Definition, according to the selected device
* in @ref Library_configuration_section
*/

/* =========================================================================================================================== */
/* ================ Interrupt Number Definition ================ */
Expand DownExpand Up@@ -212,11 +214,11 @@ typedef enum
#define __FPU_PRESENT 1U /* FPU present */
#define __DSP_PRESENT 1U /* DSP extension present */

/** @} */ /* End of group Configuration_of_CMSIS */
#include <core_cm33.h> /*!< ARM Cortex-M33 processor and core peripherals */
#include "system_stm32l5xx.h" /*!< STM32L5xx System */


#include <core_cm33.h> /*!< ARM Cortex-M33 processor and core peripherals */
#include "system_stm32l5xx.h" /*!< STM32L5xx System */
/** @} */ /* End of group Configuration_of_CMSIS */


/* =========================================================================================================================== */
Expand DownExpand Up@@ -1300,7 +1302,7 @@ typedef struct
#pragma pop
#elif defined (__ICCARM__)
/* leave anonymous unions enabled */
#elif (__ARMCC_VERSION >= 6010050)
#elifdefined (__ARMCC_VERSION) &&(__ARMCC_VERSION >= 6010050)
#pragma clang diagnostic pop
#elif defined (__GNUC__)
/* anonymous unions are enabled by default */
Expand DownExpand Up@@ -1714,12 +1716,12 @@ typedef struct

/**
* @brief Prototype of RSSLIB Close and exit HDP Function
* @detail This function close the requested hdp area passed in input
* @details This function close the requested hdp area passed in input
* parameter and jump to the reset handler present within the
* Vector table. The function does not return on successful execution.
* @param HdpArea notifies which hdp area to close, can be a combination of
* hdpa area 1 and hdp area 2
* @param pointer on the vector table containing the reset handler the function
* @paramVectorTableAddrpointer on the vector table containing the reset handler the function
* jumps to.
* @retval RSSLIB_RSS_ERROR on error on input parameter, otherwise does not return.
*/
Expand DownExpand Up@@ -11024,6 +11026,9 @@ typedef struct
/* Reset and Clock Control */
/* */
/******************************************************************************/
#define RCC_MAX_FREQUENCY 110000000U /*!< Max frequency of family in Hz*/
#define RCC_MAX_FREQUENCY_MHZ 110U /*!< Max frequency of family in MHz*/

/******************** Bit definition for RCC_CR register ********************/
#define RCC_CR_MSION_Pos (0U)
#define RCC_CR_MSION_Msk (0x1UL << RCC_CR_MSION_Pos) /*!< 0x00000001 */
Expand DownExpand Up@@ -20394,5 +20399,3 @@ typedef struct
#endif

#endif /* STM32L552xx_H */

/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
35 changes: 19 additions & 16 deletionssystem/Drivers/CMSIS/Device/ST/STM32L5xx/Include/stm32l562xx.h
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -7,18 +7,17 @@
* This file contains:
* - Data structures and the address mapping for all peripherals
* - Peripheral's registers declarations and bits definition
* - Macros to access peripherals registers hardware
* - Macros to access peripheral's registers hardware
*
******************************************************************************
* @attention
*
*<h2><center>&copy;Copyright (c) 2019 STMicroelectronics.
* All rights reserved.</center></h2>
* Copyright (c) 2019 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.
*
******************************************************************************
*/
Expand All@@ -44,7 +43,10 @@ extern "C" {
* @{
*/


/**
* @brief stm32l562xx Interrupt Number Definition, according to the selected device
* in @ref Library_configuration_section
*/

/* =========================================================================================================================== */
/* ================ Interrupt Number Definition ================ */
Expand DownExpand Up@@ -215,11 +217,11 @@ typedef enum
#define __FPU_PRESENT 1U /* FPU present */
#define __DSP_PRESENT 1U /* DSP extension present */

/** @} */ /* End of group Configuration_of_CMSIS */
#include <core_cm33.h> /*!< ARM Cortex-M33 processor and core peripherals */
#include "system_stm32l5xx.h" /*!< STM32L5xx System */


#include <core_cm33.h> /*!< ARM Cortex-M33 processor and core peripherals */
#include "system_stm32l5xx.h" /*!< STM32L5xx System */
/** @} */ /* End of group Configuration_of_CMSIS */


/* =========================================================================================================================== */
Expand DownExpand Up@@ -1374,7 +1376,7 @@ typedef struct
#pragma pop
#elif defined (__ICCARM__)
/* leave anonymous unions enabled */
#elif (__ARMCC_VERSION >= 6010050)
#elifdefined (__ARMCC_VERSION) &&(__ARMCC_VERSION >= 6010050)
#pragma clang diagnostic pop
#elif defined (__GNUC__)
/* anonymous unions are enabled by default */
Expand DownExpand Up@@ -1802,12 +1804,12 @@ typedef struct

/**
* @brief Prototype of RSSLIB Close and exit HDP Function
* @detail This function close the requested hdp area passed in input
* @details This function close the requested hdp area passed in input
* parameter and jump to the reset handler present within the
* Vector table. The function does not return on successful execution.
* @param HdpArea notifies which hdp area to close, can be a combination of
* hdpa area 1 and hdp area 2
* @param pointer on the vector table containing the reset handler the function
* @paramVectorTableAddrpointer on the vector table containing the reset handler the function
* jumps to.
* @retval RSSLIB_RSS_ERROR on error on input parameter, otherwise does not return.
*/
Expand DownExpand Up@@ -11727,6 +11729,9 @@ typedef struct
/* Reset and Clock Control */
/* */
/******************************************************************************/
#define RCC_MAX_FREQUENCY 110000000U /*!< Max frequency of family in Hz*/
#define RCC_MAX_FREQUENCY_MHZ 110U /*!< Max frequency of family in MHz*/

/******************** Bit definition for RCC_CR register ********************/
#define RCC_CR_MSION_Pos (0U)
#define RCC_CR_MSION_Msk (0x1UL << RCC_CR_MSION_Pos) /*!< 0x00000001 */
Expand DownExpand Up@@ -21195,5 +21200,3 @@ typedef struct
#endif

#endif /* STM32L562xx_H */

/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
Loading

[8]ページ先頭

©2009-2025 Movatter.jp