Ada language compilation for P8X32A?
Wossname
Posts: 174
I've been learning Ada lately and was wondering if there was any possibility of writing small Ada programs to run on the Prop 1. To my mind the Prop seems well suited to this language due to the built-in real-time and tasking features of the language. Coupled with some external ram and a large eeprom this could be quite a formidable system.
Has anyone managed to do this?
Has anyone managed to do this?
Comments
SimpleIDE uses GCC, and there's a current effort by @ntosme2 to bring compilation for Propeller 2 up to date with a current GCC build. Would appropriate builds of GNAT for the versions of GCC in use be able to take advantage of this work to get you most of the way to ADA on the Propeller family?
Smaller than ADA, could be Project Oberon, which is largely self-compiling ?. Another possible for P2 ?
Yes, I'd say that would do the trick. I'll see if I can get in touch with ntosme2.
Possibly yes, but there have been successful builds of "avr-ada" for atmel microcontrollers including the Mega 328 (https://sourceforge.net/p/avr-ada/wiki/Home/ from years ago seems to be defunct now). Ada is nice because you can turn off language features rather easily (see "pragma" statements and "Ravenscar profile") to reduce the size of the memory footprint. One thing the P1 has that the AVR family does not is hardware concurrency and real-time hardware mutexing, which is a absolute dream for Ada.
Ada on the P2 is definitely a real possibility. But (sadly) probably not on the P1.