Skip to content

lptim: stm32g4: support of the lptimer on stm32g4xx #19879

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

Closed
wants to merge 2 commits into from

Conversation

FRASTM
Copy link
Contributor

@FRASTM FRASTM commented Oct 17, 2019

This patch enables the LP Timer driver for the stm32g4xx soc, to be used in tickless kernel. The LPTimer is clocked by the LSI or LSE. It provides the following APIs:
z_clock_set_timeout
z_clock_elapsed
z_clock_driver_init
and irq handler

This patch requires the support of the lptimer for l4 serie [#18582]

Signed-off-by: Francois Ramu francois.ramu@st.com

@zephyrbot
Copy link

zephyrbot commented Oct 17, 2019

All checks are passing now.

Tip: The bot edits this comment instead of posting a new one, so you can check the comment's history to see earlier messages.

@FRASTM FRASTM force-pushed the lptim_g4 branch 2 times, most recently from b217a5e to 0135d5d Compare October 17, 2019 12:27
@FRASTM
Copy link
Contributor Author

FRASTM commented Oct 17, 2019

This PR requires the "lptim: stm32l4: support of the lptimer" #18582
The soc stm32g431 holds the "config STM32_LPTIM_TIMER"
The board sets the CONFIG_STM32_LPTIM_CLOCK_LSE=y
Sample applications could overwrite this in the proj.conf

@FRASTM FRASTM force-pushed the lptim_g4 branch 2 times, most recently from 82499c8 to 3d9d6a7 Compare October 17, 2019 13:18
@erwango erwango added the platform: STM32 ST Micro STM32 label Oct 17, 2019
@FRASTM
Copy link
Contributor Author

FRASTM commented Oct 17, 2019

rebase

@FRASTM FRASTM force-pushed the lptim_g4 branch 3 times, most recently from 7fba27d to 3269db3 Compare October 23, 2019 09:50
@FRASTM
Copy link
Contributor Author

FRASTM commented Oct 23, 2019

re-submit after update on "lptim: stm32l4: support of the lptimer" #18582

@FRASTM FRASTM force-pushed the lptim_g4 branch 3 times, most recently from 43640c7 to 763f34a Compare October 24, 2019 13:51
@FRASTM
Copy link
Contributor Author

FRASTM commented Oct 24, 2019

this PR is following introduction of lptim on l4
lptim: stm32l4: support of the lptimer #18582

@erwango erwango mentioned this pull request Oct 24, 2019
20 tasks
@FRASTM
Copy link
Contributor Author

FRASTM commented Oct 24, 2019

rebase

@FRASTM FRASTM force-pushed the lptim_g4 branch 2 times, most recently from 7a84527 to 9bedd88 Compare November 4, 2019 13:53
@FRASTM FRASTM force-pushed the lptim_g4 branch 3 times, most recently from 6c3867d to 9565af7 Compare November 13, 2019 15:26
@FRASTM
Copy link
Contributor Author

FRASTM commented Nov 13, 2019

rebase

This patch introduces the support of the LowPower Timer
     for the STM32G4xx from STMicroelectronics.

Signed-off-by: Francois Ramu <francois.ramu@st.com>
This patch introduces the support of the Low Power Timer
     for the STM32WG431xx from STMicroelectronics.

Signed-off-by: Francois Ramu <francois.ramu@st.com>
Copy link
Member

@MaureenHelm MaureenHelm left a comment

Choose a reason for hiding this comment

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

@erwango please review

@FRASTM FRASTM closed this Jan 24, 2020
@FRASTM FRASTM deleted the lptim_g4 branch January 24, 2020 14:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Boards area: Devicetree area: Kernel area: Samples Samples area: Tests Issues related to a particular existing or missing test area: Timer Timer platform: STM32 ST Micro STM32
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants