EmbDev.net

Forum: µC & Digital Electronics Pascal, Delphi, Free Pascal.


Author: Vit Mares (Guest)
Posted on:

Rate this post
0 useful
not useful
Hello,
is there anybody still programming in the Pascal language (Delphi, Free 
Pascal ...) or all of you moved to the C/C++? And what about using the 
mikroPascal from MikroElektronika or Oberon from Astrobe for 
microcontroller development?

Best regards
    Vit Mares

Author: Mike (Guest)
Posted on:

Rate this post
0 useful
not useful
Vit Mares wrote:
> is there anybody still programming in the Pascal language

Good question. And what about Lazarus?
http://www.lazarus.freepascal.org/

Author: Vit Mares (Guest)
Posted on:

Rate this post
0 useful
not useful
Yes, it seems to be a usable solution for NXP, ATMEL and other ARM 
micros http://wiki.freepascal.org/TARGET_Embedded
But the question is: Where are you, Pascal programmers, are you still 
here, but moved to the C/C++?  :-)

Author: go Pascal go (Guest)
Posted on:

Rate this post
0 useful
not useful
Vit Mares wrote:
> Where are you, Pascal programmers

You find them in another forum:
http://www.mikrocontroller.net/forum/pc-programmierung

Pascal is not famous on µC but PC programms.

Author: Udo (Guest)
Posted on:

Rate this post
0 useful
not useful

Author: Hoppla ! (Guest)
Posted on:

Rate this post
0 useful
not useful
>is there anybody still programming in the Pascal language

Sure.

Author: Oliver (Guest)
Posted on:

Rate this post
0 useful
not useful
Yes, we are on the road, e.g. at http://forum.e-lab.de/index.php
But tired of never ending Pascal/C discussions.

Author: heisystec (Guest)
Posted on:

Rate this post
0 useful
not useful
And Yesss, I would definitely like to see the programming efficiancy 
power of Pascal/Lazarus/Delphi on the MIC platform.
I am a very fast Delphi programmer, but definitely slowed down to a 10th 
of development speed, when forged to use C, C++ on the Mics.

Has someone a Delphi for the ARM Cortex M3?
please, I would give my soul for that...

HDS

Author: W.S. (Guest)
Posted on:

Rate this post
0 useful
not useful
heisystec wrote:
> Has someone a Delphi for the ARM Cortex M3?
> please, I would give my soul for that...

your soul....really?

I myself am happy, that freepascal can produce code for Windows CE on 
ARM devices. But using Lazarus, I have some doubts, because the exe 
files are incredible big (empty app around 2 MB or so) and this is not 
good for a Windows CE system.

I have some hope, that the ARM port of freepascal will in future be 
useable for bare metal projects.
Why?
now, the a.m. mikroe product is a little too special layouted: instead 
to only support families (e.g. ARMv5, ARMv6 and so on) and bring 
specialized acces by applying .inf files (the counterpart of .h in C) 
containing the necessary hardware registers ( uart0: TUart absolute 
$40002000; or so) the people from mikroe support only distinct products: 
you have to enter the particular chip name (mainly chips from Stellaris 
or ST) and if your chip is not listed, then you have no luck. This is 
the wrong way.

W.S.

Author: heisystec (Guest)
Posted on:

Rate this post
0 useful
not useful
W.S. wrote:
> heisystec wrote:
>> Has someone a Delphi for the ARM Cortex M3?
>> please, I would give my soul for that...
>
> your soul....really?
>
> I myself am happy, that freepascal can produce code for Windows CE on
> ARM devices. But using Lazarus, I have some doubts, because the exe
> files are incredible big (empty app around 2 MB or so) and this is not
> good for a Windows CE system.
>
> I have some hope, that the ARM port of freepascal will in future be
> useable for bare metal projects.
> Why?
> now, the a.m. mikroe product is a little too special layouted: instead
> to only support families (e.g. ARMv5, ARMv6 and so on) and bring
> specialized acces by applying .inf files (the counterpart of .h in C)
> containing the necessary hardware registers ( uart0: TUart absolute
> $40002000; or so) the people from mikroe support only distinct products:
> you have to enter the particular chip name (mainly chips from Stellaris
> or ST) and if your chip is not listed, then you have no luck. This is
> the wrong way.
>
> W.S.

Yes, my soul. When will be there an ARM port of lazarus/Freepascal?
I won't mind if I use Windows 98 or Linux or WIN7 in a virtual machine 
as an OS for that,
if I could use some Pascal - whichever - to program on the MIC level.
It's so much faster and more efficiant writing code with that language.
If you get big (2M mentionned) files with Lazarus, it's because you have 
all of the possible visual Windows components compiled in there.
The FreePascal for ARM could be much smarter...
Is out there any good Pascal compiler for the ARM Cortex M3?

Author: Stephan B. (matrixstorm)
Posted on:

Rate this post
0 useful
not useful
heisystec wrote:
> When will be there an ARM port of lazarus/Freepascal?


I think there already is an ARM port: Raspbian has lazarus available in 
its package manager...

Author: Paul Breneman (Guest)
Posted on:

Rate this post
0 useful
not useful
Ten days ago I put up this new page that lists some of my favorite Free 
Pascal projects (some embedded):
http://turbocontrol.com/devoptions.htm

Reply

Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]




Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.