Skip to content

Commit 6940aef

Browse files
committed
Release v1.2.6
1 parent dd24ed8 commit 6940aef

89 files changed

Lines changed: 3070 additions & 1239 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 0 additions & 35 deletions
This file was deleted.
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
name: "\U0001F41B Bug Report"
2+
description: Report a bug in the project
3+
title: "[Bug]: "
4+
labels: [bug]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Thanks for helping us improve the quality of our software! Please provide as much detail as possible.
10+
- type: input
11+
id: bug_summary
12+
attributes:
13+
label: Bug Summary
14+
description: Briefly describe the bug.
15+
placeholder: "The application crashes when..."
16+
validations:
17+
required: true
18+
- type: textarea
19+
id: bug_details
20+
attributes:
21+
label: Detailed Description
22+
description: Provide a detailed description of the bug, including steps to reproduce it.
23+
validations:
24+
required: true
25+
- type: input
26+
id: expected-behavior
27+
attributes:
28+
label: Expected Behavior
29+
description: A clear and concise description of what you expected to happen.
30+
placeholder: Describe the expected behavior
31+
- type: input
32+
id: actual-behavior
33+
attributes:
34+
label: Actual Behavior
35+
description: A clear and concise description of what actually happens.
36+
placeholder: Describe what actually happened
37+
- type: input
38+
id: environment
39+
attributes:
40+
label: Environment
41+
description: Describe the environment in which the bug occurs (e.g., board, compiler, IDE, version).
42+
- type: dropdown
43+
id: severity
44+
attributes:
45+
label: Severity
46+
description: How severe is the bug?
47+
options:
48+
- Critical
49+
- Major
50+
- Normal
51+
- Minor

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: "\U0001F6E1 Report a security vulnerability"
4+
about: Please refer to the SECURITY.md file for instructions.
5+
url: ./../../SECURITY.md
6+
- name: "\U0001F6F1 Request support"
7+
about: You can reach out to the ST Community.
8+
url: https://community.st.com/s/topiccatalog
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: "\U0001F4A1 Feature Request"
2+
description: Suggest a new feature or enhancement
3+
title: "[Feature]: "
4+
labels: [enhancement]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
We appreciate your interest in improving the quality of our software! Please provide details about the feature.
10+
- type: input
11+
id: feature_summary
12+
attributes:
13+
label: Feature Summary
14+
description: Briefly describe the feature or enhancement.
15+
placeholder: "Add support for..."
16+
validations:
17+
required: true
18+
- type: textarea
19+
id: feature_details
20+
attributes:
21+
label: Detailed Description
22+
description: Provide a detailed description of the feature, including potential benefits.
23+
validations:
24+
required: true
25+
- type: input
26+
id: use_case
27+
attributes:
28+
label: Use Case
29+
description: Describe how this feature will be used and who will benefit from it.

.github/ISSUE_TEMPLATE/other-issue.md

Lines changed: 0 additions & 22 deletions
This file was deleted.
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: "\U0001F4AC Question"
2+
description: Ask a question about the project
3+
title: "[Question]: "
4+
labels: [question]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Have a question? We're here to help! Please provide details about your inquiry.
10+
- type: input
11+
id: question_summary
12+
attributes:
13+
label: Question Summary
14+
description: Briefly describe your question.
15+
placeholder: "How do I..."
16+
validations:
17+
required: true
18+
- type: textarea
19+
id: question_details
20+
attributes:
21+
label: Detailed Description
22+
description: Provide a detailed description of your question, including any relevant context.
23+
validations:
24+
required: true

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

CODE_OF_CONDUCT.md

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ further defined and clarified by project maintainers.
5555
## Enforcement
5656

5757
Instances of abusive, harassing, or otherwise unacceptable behavior may be
58-
reported by contacting the project team at https://www.st.com/content/st_com/en/contact-us.html. All
59-
complaints will be reviewed and investigated and will result in a response that
58+
reported by contacting the project team via this [link](https://www.st.com/content/st_com/en/contact-us.html).
59+
All complaints will be reviewed and investigated and will result in a response that
6060
is deemed necessary and appropriate to the circumstances. The project team is
6161
obligated to maintain confidentiality with regard to the reporter of an incident.
6262
Further details of specific enforcement policies may be posted separately.
@@ -67,10 +67,7 @@ members of the project's leadership.
6767

6868
## Attribution
6969

70-
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71-
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
70+
This Code of Conduct is adapted from the [Contributor Covenant](https://www.contributor-covenant.org), version 1.4,
71+
available [here](https://www.contributor-covenant.org/version/1/4/code-of-conduct.html).
7272

73-
[homepage]: https://www.contributor-covenant.org
74-
75-
For answers to common questions about this code of conduct, see
76-
https://www.contributor-covenant.org/faq
73+
For answers to common questions about this code of conduct, refer to the FAQ section [here](https://www.contributor-covenant.org/faq).

CONTRIBUTING.md

Lines changed: 21 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,46 @@
11
# Contributing guide
22

3-
This guide serves as a checklist before contributing to this repository. It mainly focuses on the steps to follow to submit an issue or a pull-request.
3+
This guide mainly focuses on the steps to follow to submit an issue or a pull request.
44

55
## 1. Issues
66

77
### 1.1 Before opening an issue
88

9-
Please check the following points before posting an issue:
10-
* Make sure you are using the latest commit (major releases are tagged, but corrections are available as new commits).
11-
* Make sure your issue is a question/feedback/suggestions **related to** the software provided in this repository. Otherwise, please refer to section [3](CONTRIBUTING.md#3-support-requests-and-questions) below.
12-
* Make sure your issue is not already reported/fixed on GitHub or discussed on a previous issue. Do not forget to browse into the **closed** issues.
9+
Before posting an issue, please ensure:
10+
* You are using the latest commit.
11+
* Your issue is **not** a vulnerability. Otherwise, please refer to section [3](CONTRIBUTING.md#3-vulnerabilities) below.
12+
* Your issue is **related to** the software provided in this repository. Otherwise, please refer to section [4](CONTRIBUTING.md#4-support-requests-and-miscellaneous) below.
13+
* Your issue is not already reported, fixed or discussed in a previous one. Remember to browse the **closed** issues.
1314

1415
### 1.2 Posting the issue
1516

16-
When you have checked the previous points, create a new report from the **Issues** tab of this repository. A template is available [here](../../issues/new/choose) to help you report the issue you are facing or the enhancement you would like to propose.
17+
When you have checked the previous points, create a new report from the **Issues** tab of this repository. A couple of templates are available [here](../../issues/new/choose).
1718

1819
## 2. Pull Requests
1920

20-
### 2.1 Before opening a pull-request
21+
### 2.1 Before opening a pull request
2122

2223
STMicrolectronics is happy to receive contributions from the community, based on an initial Contributor License Agreement (CLA) procedure.
2324

24-
* If you are an individual writing original source code and you are sure **you own the intellectual property**, then you need to sign an Individual [CLA](https://cla.st.com).
25-
* If you work for a company that wants also to allow you to contribute with your work, your company needs to provide a Corporate [CLA](https://cla.st.com) mentioning your GitHub account name.
25+
* If you are an individual writing original source code and you are sure **you own the intellectual property**, then you need to sign an **Individual** [CLA](https://cla.st.com).
26+
* If you work for a company that wants also to allow you to contribute with your work, your company needs to provide a **Corporate** [CLA](https://cla.st.com) mentioning your GitHub account name.
2627
* If you are not sure that a CLA (Individual or Corporate) has been signed for your GitHub account you can check the [CLA](https://cla.st.com) dedicated page.
2728

28-
Please note that:
29-
* The Corporate CLA will always take precedence over the Individual CLA.
30-
* One CLA submission is sufficient, for any project proposed by STMicroelectronics.
29+
> [!IMPORTANT]
30+
> Please note that:
31+
> * The Corporate CLA will always take precedence over the Individual CLA.
32+
> * One CLA submission is sufficient, for any project proposed by STMicroelectronics.
3133
3234
### 2.2 How to proceed
3335

3436
* We recommend to engage first a communication thru an issue, in order to present your proposal, just to confirm that it corresponds to STMicroelectronics' domain or scope.
3537
* Then fork the project to your GitHub account to further develop your contribution. Please use the latest commit version.
36-
* Please, submit one pull-request per new feature or proposal. This will ease the analysis and the final merge if accepted.
38+
* Please, submit one pull request per new feature or proposal. This will ease the analysis and the final merge if accepted.
3739

38-
## 3. Support requests and questions
40+
## 3. Vulnerabilities
3941

40-
For support requests or any other question related to the product, the tools, the environment, you can submit a post to the **ST Community** on the appropriate topic [page](https://community.st.com/s/topiccatalog).
42+
To report a **vulnerability**, please refer to the [SECURITY.md](./SECURITY.md) file for instructions.
43+
44+
## 4. Support requests and miscellaneous
45+
46+
For support requests or any other topics not related to the content of this repository, you can submit a post to the **ST Community** on the appropriate topic [page](https://community.st.com/s/topiccatalog).

Inc/Legacy/stm32_hal_legacy.h

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1279,10 +1279,10 @@ extern "C" {
12791279
#define RTC_TAMPERPIN_PA0 RTC_TAMPERPIN_POS1
12801280
#define RTC_TAMPERPIN_PI8 RTC_TAMPERPIN_POS1
12811281

1282-
#if defined(STM32H5) || defined(STM32H7RS)
1282+
#if defined(STM32H5) || defined(STM32H7RS) || defined(STM32N6)
12831283
#define TAMP_SECRETDEVICE_ERASE_NONE TAMP_DEVICESECRETS_ERASE_NONE
12841284
#define TAMP_SECRETDEVICE_ERASE_BKP_SRAM TAMP_DEVICESECRETS_ERASE_BKPSRAM
1285-
#endif /* STM32H5 || STM32H7RS */
1285+
#endif /* STM32H5 || STM32H7RS || STM32N6 */
12861286

12871287
#if defined(STM32WBA)
12881288
#define TAMP_SECRETDEVICE_ERASE_NONE TAMP_DEVICESECRETS_ERASE_NONE
@@ -1294,10 +1294,10 @@ extern "C" {
12941294
#define TAMP_SECRETDEVICE_ERASE_ALL TAMP_DEVICESECRETS_ERASE_ALL
12951295
#endif /* STM32WBA */
12961296

1297-
#if defined(STM32H5) || defined(STM32WBA) || defined(STM32H7RS)
1297+
#if defined(STM32H5) || defined(STM32WBA) || defined(STM32H7RS) || defined(STM32N6)
12981298
#define TAMP_SECRETDEVICE_ERASE_DISABLE TAMP_DEVICESECRETS_ERASE_NONE
12991299
#define TAMP_SECRETDEVICE_ERASE_ENABLE TAMP_SECRETDEVICE_ERASE_ALL
1300-
#endif /* STM32H5 || STM32WBA || STM32H7RS */
1300+
#endif /* STM32H5 || STM32WBA || STM32H7RS || STM32N6 */
13011301

13021302
#if defined(STM32F7)
13031303
#define RTC_TAMPCR_TAMPXE RTC_TAMPER_ENABLE_BITS_MASK
@@ -1481,7 +1481,7 @@ extern "C" {
14811481
#define TIM_TIM3_TI1_COMP1COMP2_OUT TIM_TIM3_TI1_COMP1_COMP2
14821482
#endif
14831483

1484-
#if defined(STM32U5)
1484+
#if defined(STM32U5) || defined(STM32MP2)
14851485
#define OCREF_CLEAR_SELECT_Pos OCREF_CLEAR_SELECT_POS
14861486
#define OCREF_CLEAR_SELECT_Msk OCREF_CLEAR_SELECT_MSK
14871487
#endif
@@ -2029,12 +2029,12 @@ extern "C" {
20292029
/** @defgroup HAL_RTC_Aliased_Functions HAL RTC Aliased Functions maintained for legacy purpose
20302030
* @{
20312031
*/
2032-
#if defined(STM32H5) || defined(STM32WBA) || defined(STM32H7RS)
2032+
#if defined(STM32H5) || defined(STM32WBA) || defined(STM32H7RS) || defined(STM32N6)
20332033
#define HAL_RTCEx_SetBoothardwareKey HAL_RTCEx_LockBootHardwareKey
20342034
#define HAL_RTCEx_BKUPBlock_Enable HAL_RTCEx_BKUPBlock
20352035
#define HAL_RTCEx_BKUPBlock_Disable HAL_RTCEx_BKUPUnblock
20362036
#define HAL_RTCEx_Erase_SecretDev_Conf HAL_RTCEx_ConfigEraseDeviceSecrets
2037-
#endif /* STM32H5 || STM32WBA || STM32H7RS */
2037+
#endif /* STM32H5 || STM32WBA || STM32H7RS || STM32N6 */
20382038

20392039
/**
20402040
* @}
@@ -3695,7 +3695,7 @@ extern "C" {
36953695
#endif
36963696

36973697
#if defined(STM32L4) || defined(STM32WB) || defined(STM32G0) || defined(STM32G4) || defined(STM32L5) || \
3698-
defined(STM32WL) || defined(STM32C0) || defined(STM32H7RS) || defined(STM32U0)
3698+
defined(STM32WL) || defined(STM32C0) || defined(STM32N6) || defined(STM32H7RS) || defined(STM32U0)
36993699
#define RCC_RTCCLKSOURCE_NO_CLK RCC_RTCCLKSOURCE_NONE
37003700
#else
37013701
#define RCC_RTCCLKSOURCE_NONE RCC_RTCCLKSOURCE_NO_CLK
@@ -3946,7 +3946,8 @@ extern "C" {
39463946
*/
39473947
#if defined (STM32G0) || defined (STM32L5) || defined (STM32L412xx) || defined (STM32L422xx) || \
39483948
defined (STM32L4P5xx)|| defined (STM32L4Q5xx) || defined (STM32G4) || defined (STM32WL) || defined (STM32U5) || \
3949-
defined (STM32WBA) || defined (STM32H5) || defined (STM32C0) || defined (STM32H7RS) || defined (STM32U0)
3949+
defined (STM32WBA) || defined (STM32H5) || defined (STM32C0) || defined (STM32N6) || defined (STM32H7RS) || \
3950+
defined (STM32U0) || defined (STM32U3)
39503951
#else
39513952
#define __HAL_RTC_CLEAR_FLAG __HAL_RTC_EXTI_CLEAR_FLAG
39523953
#endif

0 commit comments

Comments
 (0)