Make program in pascal for ARM7, is possible ?

Discussion in 'Embedded Systems and Microcontrollers' started by bernt, Oct 16, 2010.

  1. bernt

    Thread Starter New Member

    Oct 16, 2010
    5
    0
    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.
     
  2. retched

    AAC Fanatic!

    Dec 5, 2009
    5,201
    312
    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: Oct 16, 2010
  3. bernt

    Thread Starter New Member

    Oct 16, 2010
    5
    0
    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
     
  4. retched

    AAC Fanatic!

    Dec 5, 2009
    5,201
    312
    Freepascal is worth a try!
     
  5. someonesdad

    Senior Member

    Jul 7, 2009
    1,585
    141
    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.
     
  6. bernt

    Thread Starter New Member

    Oct 16, 2010
    5
    0
    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...
     
  7. bernt

    Thread Starter New Member

    Oct 16, 2010
    5
    0
    Hi!
    For the question "Make program in pascal for ARM7, is possible ?", the response is YES !
    Look at this good tool form this web site: http://rentcom-embed.jimdo.com/
    This is a complete IDE/Compiler for ARM7, with many libraries...
    Regards
    Bernt
     
  8. bernt

    Thread Starter New Member

    Oct 16, 2010
    5
    0
  9. retched

    AAC Fanatic!

    Dec 5, 2009
    5,201
    312
    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..
     
  10. blueroomelectronics

    AAC Fanatic!

    Jul 22, 2007
    1,758
    98
    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.
     
  11. bertus

    Administrator

    Apr 5, 2008
    15,649
    2,348
    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: Jan 14, 2011
Loading...