zyfeier opened a new pull request, #19766:
URL: https://github.com/apache/nuttx/pull/19766

   ## Summary
   
   The arch/tricore idle loop used the Infineon iLLD helper
   `Ifx_Ssw_infiniteLoop()`, which coupled the core idle path to the
   iLLD/Ssw layer. This replaces it with a self-contained `loopu`
   (loop unconditional) instruction wrapper, `tricore_idle_loop()`.
   `loopu` branches to itself until an interrupt is taken, which is the
   standard TriCore low-power idle sequence. The GNU and Tasking
   assemblers spell the backward label differently, so the macro
   dispatches on the toolchain (GNU `1b` / Tasking `1p`).
   
   This removes the arch/tricore idle path's dependency on the Infineon
   iLLD/Ssw layer. There is no behavior change: the loop is still left
   by any IRQ that causes a context switch away from the idle task.
   
   ## Impact
   
   - Area: arch/tricore idle path only.
   - Behavior: unchanged.
   - User / build / documentation / security / compatibility: no impact.
   
   ## Testing
   
   - Build Host: Linux x86_64, GCC 11.3.1 (tricore-elf-gcc)
   - Target: tricore, triboard_tc4x9_com:nsh
   
   Build (0 errors, ELF produced):
   
   ```
   LD: nuttx
   ```
   
   Runtime (flashed to TC4x board, boots to NSH):
   
   ```
   NuttShell (NSH) NuttX-13.0.0
   nsh>
   ```
   


-- 
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