Fixed r4iSCAM so that it works with pcod and arrowtooth examples.