what is porting of code into microcontroller ?
Code written for one device, may not run on another due to references made to differing device hardware. The code must be changed to account for these differences. This is referred to as ‘porting’ the code. If the code is intended to cross architectual platforms, it should be written in the highest level language possible. This then should allow you to simply recompile the code for the specific device. Even then, any references made to the specific architecture will have to be adjusted. Porting is generally not used to mean physically loading code into the device.