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

samples: drivers: rtc application runs on stm32 target #82037

Merged
merged 1 commit into from
Dec 16, 2024

Conversation

FRASTM
Copy link
Collaborator

@FRASTM FRASTM commented Nov 26, 2024

Check that rtc has, at least, incremented second counter one time to validated the sample.

Run the samples/drivers/rtc/ on the stm32f3_disco to demonstrate how o use rtc api get time/ set time

*** Booting Zephyr OS build v4.0.0-856-g94add84a331f ***                        
RTC date and time: 2024-11-17 04:19:00                                          
RTC date and time: 2024-11-17 04:19:01                                          
RTC date and time: 2024-11-17 04:19:02
...     

It can run on any stm32 target board with rtc aliased and enabled.

@FRASTM FRASTM force-pushed the rtc_sample branch 3 times, most recently from d88cb03 to 7292bf9 Compare December 9, 2024 15:11
@FRASTM FRASTM changed the title samples: drivers: rtc application runs on stm32f3_disco target samples: drivers: rtc application runs on stm32 target Dec 9, 2024
@FRASTM FRASTM marked this pull request as ready for review December 9, 2024 15:13
@zephyrbot zephyrbot added the area: Samples Samples label Dec 9, 2024
@zephyrbot zephyrbot requested review from kartben and nashif December 9, 2024 15:13
@FRASTM FRASTM force-pushed the rtc_sample branch 2 times, most recently from a993937 to 30f5167 Compare December 10, 2024 09:18
samples/drivers/rtc/sample.yaml Outdated Show resolved Hide resolved
Check that rtc has, at least, incremented second counter
one time to validated the sample.

Signed-off-by: Francois Ramu <[email protected]>
Comment on lines +7 to +8
integration_platforms:
- stm32f3_disco
Copy link
Collaborator

Choose a reason for hiding this comment

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

this is only needed if we have a huge number of supported boards, but only want to test some of them regularly, since there is only one allowed, it is redundant :)

@kartben kartben merged commit 3aff5c3 into zephyrproject-rtos:main Dec 16, 2024
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Samples Samples platform: STM32 ST Micro STM32
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants