Make program in pascal for ARM7, is possible ?

Thread Starter

bernt

Joined Oct 16, 2010
5
Hi... Have you heard that a pascal compiler can create programs for ARM7 ? This is for a hobby project with a LPC2148, and i won't learn C or others...
Thanks.
 

retched

Joined Dec 5, 2009
5,207
Yes. Take your pick.

Google ARM pascal

and choose which one you wish to use.

[ed]
Ok, I got a little more interested in this. I have a development board called the EasyPIC6 made by MikroElektronika

http://www.mikroe.com

They also make an EasyARM dev board.

Point: They make a C, BASIC, and PASCAL compiler for many microControllers, so I checked to see if they made PASCAL for ARM...

Well it doesn't appear so. ;)

BUT, http://www.freepascal.org/ has a free PASCAL compiler for just about everything out there.

So there ya go.

http://www.freepascal.org/

[/ed]
 
Last edited:

Thread Starter

bernt

Joined Oct 16, 2010
5
Hi retched and thaks for your reply.
I know about all products of MikroElctronika, beacause i already use my EasyPIC5 with MikroPascal PRO for PIC.:)
MikroE have not a pascal compiler for ARM...

I know as well Freepascal... it's maybe a good solution ?.... maybe...
Thaks
Regards
 

someonesdad

Joined Jul 7, 2009
1,583
Another approach could be to find a Pascal to C translator (search for "pascal to c"). Then you could write in Pascal and use a C compiler.
 

Thread Starter

bernt

Joined Oct 16, 2010
5
Hi! a P2C converter is a good tool to translate, for example, this code: if H = true then Z := Z + 1;... but for a big algorithm (> 1000 line), with many loops (while, repeat/until), pointer and specifics types... it's more and more difficult to do a correct translation...
 

retched

Joined Dec 5, 2009
5,207
Honestly, you are the only person to bring up pascal in the last year or so..

I would see if the product has a following, and a forum.

There is likely where you will get good info on it.

I honestly would not mess with pascal.. I havent since TurboPascal in the early 90's

Im not saying you shouldn't, I have spent a lot of time "forgetting" pascal to learn 'C' and embedded basic, so I have my plate full... Same reason, i guess, that you will not learn C..
 
I used to love Pascal, just made more sense than C to me. I remember learning it on Alice Pascal (now free). Doubt it'll ever be more than a niche language for microcontrollers.
 

bertus

Joined Apr 5, 2008
22,277
Hello,

As it is a french product you will probably not find many people who have tested it.
You can download a trailversion I saw on the website.
I do not know if there are limitations with it.

Bertus
 
Last edited:
Top