On 03/07/2013 11:57 AM, Chavoux Luyt wrote:

Although an OS will probably make things easier, low power consumption will be the most (?) important requirement.

If power consumption is a very major issue, the best possible arch that somewhere is in reach is the PIC32 which in fact is a MIPS variant. I know that a MIPS implementation for the fpc compiler is being worked on.

 - no GUI (for "headless" low-cost hardware)
Yes! (If there is an OS, it might be possible to have a web interface and embedded web server for settings etc., though).

While no-GUI projects are not too hard a problem, you need to consider, that the normal Delphi like "event driven" programming paradigm is not possible with the current Lazarus library (it is possible with the "mse" library, that is similar on other accounts.)

     - cross compiling

Yes, the development will be done on Linux (either fpc or c cross-compiler) and written to the device using whatever pins/connectors are available (probably USB and possibly wireless/UHF - this will depend on hardware design)

While fpc officially does support Cross compiling, it is no especially easy to get it working (see the appropriate Wiki articles)

     - remote debugging

Will depend on the chipset and hardware design... can this be done using fpc?


Lazarus uses gdb for debugging. If you don't use an OS (such as Linux) on the target, you can't use the GNU created gdb "receiver" (either gdb or gdbserver). I seem to remember that in this forum I read something about a standard protocol that allows to attach hardware debugger devices, that someone might be willing to implement into Lazarus.

-Michael
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to