add code for setting up code for ARM device.