On Fri, 15 Feb 2013 00:36:07 +1100 "Justin Smyth" <[email protected]> wrote:
> 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 AFAIK the IDE code tools work for the embedded/arm platform. That means you can work under Linux/Windows/..., set the project's target OS to embedded and target CPU to arm and all code tools work with the RTL of this target. If not, then please create a bug report. You have to add the -Wplpc1343 -Cparmv7min to the project's custom options. Maybe others can give some hints about debugging. Mattias -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
