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

   ## Summary
   
   Initialize the FPU and enable the FZ (flush-to-zero) trap for TriCore TC4xx 
processors. This ensures floating-point divide-by-zero exceptions are properly 
caught and reported via the trap handler.
   
   ## Changes
   
   - Add `ARCH_HAVE_FPU` selection for TC4xx (excluding CSRM core)
   - Add `tricore_fpu.c` with FPU initialization (enable FZ trap)
   - Add FPU trap register definitions in `irq.h`
   - Add FPU sync/async trap reporting in trap handler
   - Call `tricore_fpuinit()` during core startup
   
   ## Testing
   
   - Build: `triboard_tc4x9_com:nsh` (gcc) ✅
   - Boot verification on TC4D9 EVB ✅
   
   Internal-Ref: 01f9b99bb5947e01a4cf55ae04ab6abaf0645a07
   
   Signed-off-by: zhangyuan29 <[email protected]>


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