Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the DTS for the new stm32h7rs pinctrl #201

Closed
wants to merge 6 commits into from

Conversation

FRASTM
Copy link
Collaborator

@FRASTM FRASTM commented Mar 27, 2024

add the pinctrl DTSi files for the new stm32h7R/S serie
stm32h7r3, stm32h7r7
stm32h7s3, stm32h7s7

from the https://github.com/STMicroelectronics/STM32_open_pin_data

Follows the PR #200

Introduce the Cube version for STM32H7RSxx series version 1.0.0RC3

Signed-off-by: F. Ramu <francois.ramu@st.com>
FRASTM added 5 commits March 29, 2024 09:21
Re - generate common_ll headers after Cube updates

Signed-off-by: F. Ramu <francois.ramu@st.com>
configure the SMPS on the stm32h7s7 so that power config is
possible on the stm32h7s78 disco kit

Signed-off-by: F. Ramu <francois.ramu@st.com>
Add the pins of the XSPIM instance especially for the stm32H7RS serie

Signed-off-by: F. Ramu <francois.ramu@st.com>
Generate pinctrl dtsi from STM32 open pin data
from STM32CubeMX version 6.11.0 (includes STM32h7RS)

Signed-off-by: F. Ramu <francois.ramu@st.com>
None.

URL:
https://github.com/STMicroelectronics/STM32CubeH7
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

    https://github.com/STMicroelectronics/STM32CubeH7RS


Origin:
ST Microelectronics
http://www.st.com/en/embedded-software/stm32cubeh7.html
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

    https://www.st.com/en/embedded-software/stm32cubeh7rs.html

@@ -0,0 +1,79 @@
STM32CubeH7
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

STM32CubeH7RS

version v1.11.1

Purpose:
ST Microelectronics official MCU package for STM32H7 series.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

STM32H7RS

http://www.st.com/en/embedded-software/stm32cubeh7.html

Status:
version v1.11.1
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

version v1.0.0

https://github.com/STMicroelectronics/STM32CubeH7

Commit:
ed7d3d4a8e0961ad2bcb21ba7681d5443964253c
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

   46f09b6826fda675c4923e8ec781521b37f21659

Comment on lines 38 to 77
*Changes from official delivery:
-dos2unix applied
-trailing white spaces removed

*Provision to enable hal & ll asserts added
-Added stm32cube/stm32h7xx/drivers/include/stm32_assert.h
-Removed unused stm32cube/stm32h7xx/drivers/include/stm32_assert_template.h

*Fix context descriptor leak
- Impacted file: stm32h7xx_hal_eth.c
- Internal reference: Not available. Will be fixed as part of a new eth hal implementation

*fix to the V2 HAL API to get PTP to work
In the HAL_ETH_ReadData function where it checks for the last descriptor,
we added a checked if the TSA bit was set in DESC1
If the TSA bit is set then have a peak at the context descriptor which should be the one
after the last descriptor
If the CTXT bit is set in the context descriptor then extract the timestamps
Impacted files:
drivers/src/stm32h7xx_hal_eth.c
ST Internal Reference: 142115

*Enable legacy ethernet driver using HAL_ETH_LEGACY_MODULE_ENABLED
This will have to be removed once Zephyr driver is magrated ot the new
Cube HAL ethernet API.

*Wrap define UNUSED with an ifndef
This will prevent a compiler warning for the case the UNUSED macro
is already defined elsewhere in the project
Impacted files:
drivers/include/stm32h7xx_hal_def.h
ST Internal Reference: 136825

*Fix to use transmit timestamp when it is valid
Read timestamp only when status flag is set in Tx descriptor.
Fire transmit timestamp callbacks only when there is a valid
non-zero timestamp.
Impacted files:
drivers/src/stm32h7xx_hal_eth.c
ST Internal Reference: 157129
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

to be checked

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants