Skip to content

samples: counter: alarm: fix CI build fail #90709

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

thenguyenyf
Copy link
Collaborator

@thenguyenyf thenguyenyf commented May 28, 2025

Exclude mimxrt1060_evk from build as this board
does not support this sample yet

Signed-off-by: The Nguyen the.nguyen.yf@renesas.com

@github-actions github-actions bot added size: XS A PR changing only a single line of code area: Samples Samples area: Counter labels May 28, 2025
@thenguyenyf thenguyenyf marked this pull request as draft May 28, 2025 04:00
@thenguyenyf thenguyenyf force-pushed the sample_counter_alarm_fix_CI branch 2 times, most recently from 5d1282a to c1d177b Compare May 28, 2025 04:39
@thenguyenyf
Copy link
Collaborator Author

Hello @butok . I created a PR to exclude the mimxrt1060_evk from counter/alarm build. But I think it is better to add an overlay for mimxrt1060_evk to enable this sample like this https://github.com/zephyrproject-rtos/zephyr/blob/f432d5d510ae7f496e0254f7eb431bc96f10a7f5/tests/drivers/counter/counter_basic_api/boards/mimxrt1060_evk_mimxrt1062_qspi.overlay.

@thenguyenyf thenguyenyf marked this pull request as ready for review May 28, 2025 04:50
- mimxrt1060_evk@A/mimxrt1062/qspi
- mimxrt1060_evk@B/mimxrt1062/qspi
- mimxrt1060_evk@C/mimxrt1062/hyperflash
- mimxrt1060_evk@C/mimxrt1062/qspi
Copy link
Collaborator

Choose a reason for hiding this comment

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

Guess, it's enough to have it without a revision to cover all possible variants:
- mimxrt1060_evk/mimxrt1062/hyperflash
- mimxrt1060_evk/mimxrt1062/qspi

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I'm not really familiar with this. But it seems the twister does not depend on the board.yml, just using the test identifier in mimxrt1060_evk_mimxrt1062_qspi_C.yaml. I applied your suggestion but it does not work.

Copy link
Collaborator

Choose a reason for hiding this comment

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

I'm not really familiar with this. But it seems the twister does not depend on the board.yml, just using the test identifier in mimxrt1060_evk_mimxrt1062_qspi_C.yaml. I applied your suggestion but it does not work.

Hm, strange twister. It means we need to list all combinations for all available revisions.

@butok
Copy link
Collaborator

butok commented May 28, 2025

Hello @butok . I created a PR to exclude the mimxrt1060_evk from counter/alarm build. But I think it is better to add an overlay for mimxrt1060_evk to enable this sample like this https://github.com/zephyrproject-rtos/zephyr/blob/f432d5d510ae7f496e0254f7eb431bc96f10a7f5/tests/drivers/counter/counter_basic_api/boards/mimxrt1060_evk_mimxrt1062_qspi.overlay.

I agree, this is a gap. We need to add the samples/counter support for NXP platforms. And we definitely will do it later. ;)

butok
butok previously approved these changes May 28, 2025
nordic-krch
nordic-krch previously approved these changes May 28, 2025
@butok
Copy link
Collaborator

butok commented May 30, 2025

Hi @thenguyenyf, please fix the merge conflict to make it mergeable.

Exclude mimxrt1060_evk from build as this board does not support
this sample yet

Signed-off-by: The Nguyen <the.nguyen.yf@renesas.com>
@thenguyenyf thenguyenyf dismissed stale reviews from nordic-krch and butok via fcb0fd7 June 2, 2025 04:33
@thenguyenyf thenguyenyf force-pushed the sample_counter_alarm_fix_CI branch from c1d177b to fcb0fd7 Compare June 2, 2025 04:33
@thenguyenyf thenguyenyf requested review from butok and nordic-krch June 2, 2025 04:33
Copy link

sonarqubecloud bot commented Jun 2, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Counter area: Samples Samples size: XS A PR changing only a single line of code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants