-
Notifications
You must be signed in to change notification settings - Fork 8.3k
test: arm: irq: Add overlays files for Infineon boards #81464
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
test: arm: irq: Add overlays files for Infineon boards #81464
Conversation
Add CONFIG_GPIO from defconfigs for Infineon boards. Revert pull/81377, which affect some ble samples which used GPIO. Signed-off-by: Nazar Palamar <[email protected]>
Changed interrupt priority for GPIO, default 6 is not suitable for for the ZERO_LATENCY_IRQS function used in this test. used in this test. Signed-off-by: Nazar Palamar <[email protected]>
|
I had expressed my concerns about deleting GPIO from the |
thedjnK
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was literally removed not even 1 day ago 7e1b00d why was this removed only to be re-added?
Yes this changes was fixed zero latency use-case, but i found it affected some sample(#81435). So before 4.0 release it safe to fix locally only zero latency by adding overlay files rather then add overlays to a lot set of samples...(see my closed PR #81435) |
|
Looking at this right now we are marking this for backport to 4.0.1. We're not comfortable dismissing the change request comment here based upon the answer provided. |
If a sample needs GPIO then the sample should enable it |
Hi thedjnK, need some clarification here.
|
It should be in the defconfig yes
@Thalley seems like there is a problem with the samples, there should be #ifdef's for the GPIOs, one has it correct: https://github.com/npal-cy/zephyr-1/blob/35cd59ce4cee79aec8cb4956bb01d417c731d87e/samples/bluetooth/peripheral_hr/src/main.c#L122 but this is wrong because it assumes GPIO support is always enabled: https://github.com/npal-cy/zephyr-1/blob/35cd59ce4cee79aec8cb4956bb01d417c731d87e/samples/bluetooth/mesh/src/board.c#L14 a board might have buttons defined but if |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes here are OK but (outside scope of this PR) Bluetooth samples should be fixed so that having GPIO disabled does not cause build errors
Yeah, I got aware of this issue. I haven't touched any of those samples, nor am I maintainer of them, so I would suggest to create GH issue for them and assign to @PavelVPV and @alwa-nordic (unless they want to do themselves). None of the ISO/LE audio samples have this issue as far as I am aware |
Changed interrupt priority for GPIO. See zephyrproject-rtos#81464 Signed-off-by: Sandra Schmidt <[email protected]>
Changed interrupt priority for GPIO. See #81464 Signed-off-by: Sandra Schmidt <[email protected]>
Changed interrupt priority for GPIO. See zephyrproject-rtos/zephyr#81464 (cherry picked from commit ad6ef7d) Original-Signed-off-by: Sandra Schmidt <[email protected]> GitOrigin-RevId: ad6ef7d Cr-Build-Id: 8728310571250663457 Cr-Build-Url: https://cr-buildbucket.appspot.com/build/8728310571250663457 Copybot-Job-Name: zephyr-main-copybot-downstream Change-Id: I05ecbe95a7b69d0083a7fc83c272356d60aa45a6 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/6101992 Tested-by: Dawid Niedźwiecki <[email protected]> Tested-by: ChromeOS Prod (Robot) <[email protected]> Reviewed-by: Dawid Niedźwiecki <[email protected]> Commit-Queue: Dawid Niedźwiecki <[email protected]>
Changed interrupt priority for GPIO. See zephyrproject-rtos#81464 Signed-off-by: Sandra Schmidt <[email protected]>
Infineon: board: Add CONFIG_GPIO to defconfigs
Add CONFIG_GPIO from defconfigs for Infineon boards.
Revert pull/81377, which affect some ble samples which
used GPIO.
Signed-off-by: Nazar Palamar [email protected]
test: arm: irq: Add overlays files for Infineon boards
Changed interrupt priority for GPIO, default 6 is not suitable for
for the ZERO_LATENCY_IRQS function used in this test.
used in this test.
FIX CI: https://github.com/zephyrproject-rtos/zephyr/actions/runs/11524969451/job/32695832470?pr=80025
Signed-off-by: Nazar Palamar [email protected]