c source code for embed arm