Repair a verified behavior in rt-thread/rt-thread.
Repair a verified behavior in rt-thread/rt-thread.: a task in OriGent-RL-Data (Harbor dataset). RT-Thread ARM Cortex-M4/Cortex-M7 FPU port: PendSV re-entry with rt thread switch interrupt flag == 0 corrupts the interrupted thread's FPU exception frame, and the firmware runs away into HardFault.
The task
RT-Thread ARM Cortex-M4/Cortex-M7 FPU port: PendSV re-entry with rt_thread_switch_interrupt_flag == 0 corrupts the interrupted thread's FPU exception frame, and the firmware runs away into HardFault.
Part of henryen/OriGent-RL-Data.