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

   ## Summary
   
   Fix build errors in the Tricore architecture caused by the missing `lock` 
member in `struct tricore_systimer_lowerhalf_s`, as well as the missing 
definition of the `IFX_CFG_CPU_CLOCK_FREQUENCY` macro.
   
   ## Impact
   
   Fix build errors in tricore arch, no impact to any other nuttx functions
   
   ## Testing
   
   **ostest passed on board a2g-tc397-5v-tft**
   
   ```
   NuttShell (NSH)
   nsh>
   nsh> uname -a
   NuttX 0.0.0 b6b9f172ba Dec  1 2025 20:38:25 tricore a2g-tc397-5v-tft
   nsh>
   nsh> ostest
   
   (...)
   
   user_main: scheduler lock test
   sched_lock: Starting lowpri_thread at 97
   sched_lock: Set lowpri_thread priority to 97
   sched_lock: Starting highpri_thread at 98
   sched_lock: Set highpri_thread priority to 98
   sched_lock: Waiting...
   sched_lock: PASSED No pre-emption occurred while scheduler was locked.
   sched_lock: Starting lowpri_thread at 97
   sched_lock: Set lowpri_thread priority to 97
   sched_lock: Starting highpri_thread at 98
   sched_lock: Set highpri_thread priority to 98
   sched_lock: Waiting...
   sched_lock: PASSED No pre-emption occurred while scheduler was locked.
   sched_lock: Finished
   
   End of test memory usage:
   VARIABLE  BEFORE   AFTER
   ======== ======== ========
   arena       28dfc    28dfc
   ordblks         7        6
   mxordblk    1f8a8    1f8a8
   uordblks     555c     555c
   fordblks    238a0    238a0
   
   user_main: nxevent test
   
   End of test memory usage:
   VARIABLE  BEFORE   AFTER
   ======== ======== ========
   arena       28dfc    28dfc
   ordblks         6        6
   mxordblk    1f8a8    1f8a8
   uordblks     555c     555c
   fordblks    238a0    238a0
   
   Final memory usage:
   VARIABLE  BEFORE   AFTER
   ======== ======== ========
   arena       28dfc    28dfc
   ordblks         1        6
   mxordblk    24220    1f8a8
   uordblks     4bdc     555c
   fordblks    24220    238a0
   user_main: Exiting
   ostest_main: Exiting with status 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