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

       Change stack overflow checking dependencies from
           1. STACKCHECK_MARGIN depend on STACKCHECK_SOFTWARE
           2. STACKCHECK_SOFTWARE depnd on 
                      STACK_COLORATION && DEBUG_ASSERTIONS && 
SCHED_SUSPENDSCHEDULER 
           To: 
            1. STACKCHECK_MARGIN depends on STACK_COLORATION && 
DEBUG_ASSERTIONS 
            2. STACKCHECK_SOFTWARE depends on STACK_COLORATION && 
DEBUG_ASSERTIONS
   
       So users can:
         1. choose STACKCHECK_SOFTWARE or STACKCHECK_MARGIN **independently**
         2. enabling stackoverflow check **wiill not depend on** 
SCHED_SUSPENDSCHEDULER.
   
   
   ## Summary
   
   Decoupling margin stack overflow check with software stack overflow check 
and suspendscheduler.
   
   ## Impact
   
   Decoupling margin stack overflow check with software stack overflow check 
and suspendscheduler.
   No impact  to other nuttx parts
   
   ## Testing
   
   **enabling margin stackcheck in a2g-tc397-5v-tft**
   <img width="774" height="591" alt="image" 
src="https://github.com/user-attachments/assets/03caa789-d5b5-4b78-a6e5-efab64f6d75f";
 />
   
   **add stackcheck test code**
   
   <img width="744" height="484" alt="image" 
src="https://github.com/user-attachments/assets/722dbb7a-7c2a-4c21-90dd-ac62662612a7";
 />
   
   
   **ostest passed**
   <img width="397" height="522" alt="image" 
src="https://github.com/user-attachments/assets/6a9d1b4a-e8bc-4e7b-bb3d-30380abde221";
 />
   
   **stackcheck test passed**
   
   <img width="1159" height="118" alt="image" 
src="https://github.com/user-attachments/assets/fb52bed2-095a-43ee-85c2-1c0eb02b6918";
 />
   
   
   


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