extinguish opened a new pull request, #3337:
URL: https://github.com/apache/nuttx-apps/pull/3337

   ## Summary
   
   When we support the watchdog interrupt on the Armv7-A platform with the TEE 
enabled, the watchdog interrupt needs to be configured as a FIQ to avoid the 
impact of interrupt disabling in the AP. In this case, the 
`drivertest_watchdog_api` testcase cannot pass the test in such a scenario.
   
   This is because the `drivertest_watchdog_api` itself requires calling a 
specified callback after the watchdog interrupt is triggered, instead of 
directly dumping the AP's context and then asserting the system.
   
   Therefore, when both `CONFIG_ARCH_ARMV7A` and `CONFIG_ARCH_HAVE_TRUSTZONE` 
are enabled, we need to skip the current `drivertest_watchdog_api` testcase.
   
   ## Impact
   
   1. Maintains test‑suite reliability – Skips the drivertest_watchdog_api test 
only when both CONFIG_ARCH_ARMV7A and CONFIG_ARCH_HAVE_TRUSTZONE are set, 
ensuring the test does not fail due to hardware/security constraints.
   2. Preserves watchdog testing coverage – All other watchdog tests (feeding, 
interrupts, loop operation) continue to run, providing meaningful driver 
validation.
   3. No effect on other platforms – The test remains fully enabled on all 
non‑Armv7‑A‑with‑TrustZone configurations.
   
   ## Testing
   
   Verified that on Armv7‑A + TrustZone platforms, the watchdog test suite 
compiles and runs without the drivertest_watchdog_api test.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to