Add infinite loop feature for PSF2.
Merge branch 'master' into DEV_infinite_loop
Update to v1.2.3, add PSF2's infinite loop support.