From: Britt Snodgrass <britt.snodgrass@gmail.com>
Subject: Re: Is there an Ada port to Microchip PIC?
Date: Fri, 18 Jul 2008 20:08:43 -0700 (PDT)
Date: 2008-07-18T20:08:43-07:00 [thread overview]
Message-ID: <ec01059a-91fa-40e0-9004-16acbd842f78@26g2000hsk.googlegroups.com> (raw)
In-Reply-To: Xns9AE0C3B65ABBerndSpechgmxcom@151.189.20.10
On Jul 18, 5:13 pm, Bernd.Spe...@gmx.com (Bernd Specht) wrote:
> Does anyone know whether there is an Ada port 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 port.
There is also a GNAT port 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 supports PIC-32 with their C & C++ compilers. I
asked if they planned to port their Ada compiler but their response
indicated they wanted a first customer to pay for the port.
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
next prev parent reply other threads:[~2008-07-19 3:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-18 22:13 Is there an Ada port to Microchip PIC? Bernd Specht
2008-07-19 3:08 ` Britt Snodgrass [this message]
2008-07-23 21:50 ` Samuel Tardieu
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox