Creating M0 image as a .c file for M4

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by rgledhill on Wed Sep 25 08:02:57 MST 2013
I know there have been questions about this in the past; the key is to use the following command:

fromelf --cadcombined --output="..\M4\M0_image\M0_image.c" ".\Flash\LPC43xx_M0.axf"

This takes in an LPC43xx_M0.axf file and creates an M0_image.c file which you can include in your M4 project.

Hope this helps!
Hitex UK Ltd