Mercator Firmware Development

* Mercator firmware
* Changing some things like memcpy pointers to remove warnings from build
I saw it in the example that you sent me. I just fix it