[Lazarus] Lazarus and Arm Embedded.( see FPC Bug report 23844)

Justin Smyth delphian at smythconsulting.net
Thu Feb 14 14:36:07 CET 2013


I’ve been working on a patch for FPC to add support for the NXP LPC 1343 ( smaller cousin to the NXP LPC 1768 ) , i’ve successfully added in all the correct units , can get FPC to recompile with my changes but i am wondering how i would recompile lazarus so i could debug any application i create. ( ie write the smalll nongui app in lazarus , compile it , Update the board using flashmagic ( or the command prompt utility ) and debug via gdb using a UNLINK2 usb debugging kit. )..

Does Lazarus currently support this , i know i can write my own application save the file and compile using a command like this


fpc -Parm -Tembedded -Wplpc1343 -Cparmv7m myprogram.pp  Can we extend lazarus so we can create embedded arm applications ? ( if it allready does this i would love to know what type of project to select when selecting NEW.. & how to set the subarch setting for the ARM Family.)I only ask as i want to be able to write my own app in lazarus and debug it there too.. i am not sure how i would debug otherwiseKind RegardsJustin   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20130215/e6f93cc3/attachment-0002.html>


More information about the Lazarus mailing list