Update all demos to automatically support ISR or XMEM2