by Britt Snodgrass <britt.snodgrass@[EMAIL PROTECTED]
>
Jul 18, 2008 at 08:08 PM
On Jul 18, 5:13 pm, Bernd.Spe...@[EMAIL PROTECTED]
(Bernd Specht) wrote:
> Does anyone know whether there is an Ada ****t for PICs available? I have
do
> write some code for an 18Fxxx with CAN-bus interface and would like to
do it
> with Ada. I look for native code generation, not for an indirection
using
> intermediate C code.
>
> Thanks,
> Bernd
If you have to use an actual PIC 18Fxxx then I think you won't find an
Ada compiler. The 8-bit PICs have a rather ugly programming
architecture (especially if writing in PIC assembly language). If you
could instead use one of the new PIC-32s which are based on MIPS
architecture then its probable you could create or find a GNAT ****t.
There is also a GNAT ****t for the 8-bit Atmel AVR chips but I don't
know if any of them come with a CAN bus capability.
Green Hills Software sup****ts PIC-32 with their C & C++ compilers. I
asked if they planned to ****t their Ada compiler but their response
indicated they wanted a first customer to pay for the ****t.
I've long thought that the lack of Ada compilers for popular,
peripheral-rich microcontrollers is the principal reason that Ada
hasn't been adopted by more embedded programming hobbyists.
- Britt