Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2007-08

Re: ARM7TDMI

4 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Daniël Mantione
to Rainer Stratmann: Is it possible to write ARM Programs for these single microcontroller chips without a RTL…

Op Mon, 27 Aug 2007, schreef Rainer Stratmann:

Is it possible to write ARM Programs for these single microcontroller chips without a RTL and without specifying a target operating system? Or write pure Assembler Programs? And then to download it into these single chip controller?

The compiler always needs a runtime library. But you can customize RTL and it has been prepared for this by means of the embedded target, where you can enable or disable features. If you like you can also write your own rtl.

Daniël

Rainer Stratmann

Is it possible to write ARM Programs for these single microcontroller chips without a RTL and without specifying a target operating system? Or write pure Assembler Programs?
And then to download it into these single chip controller?

kind regards

Rainer

Marc Santhoff
to Daniël Mantione: Op Mon, 27 Aug 2007, schreef Rainer Stratmann: The compiler always needs a runtime…
Daniël Mantione wrote 12 lines
Op Mon, 27 Aug 2007, schreef Rainer Stratmann: > Is it possible to write ARM Programs for these single microcontroller chips > without a RTL and without specifying a target operating system? > Or write pure Assembler Programs? > And then to download it into these single chip controller? The compiler always needs a runtime library. But you can customize RTL and it has been prepared for this by means of the embedded target, where you can enable or disable features. If you like you can also write your own rtl.

I thought about using fpc for (very) small embedded computers, too.

Doesn't your suggestion imply one of:

- hacking up one target already existing or
- create at least a fake OS target

to tell the compiler which RTL to use?

If I understood the wiki page about porting to new OSses or CPU one way must be used.

Marc

Daniël Mantione
to Marc Santhoff

Op Tue, 28 Aug 2007, schreef Marc Santhoff:

Show quoted text 25 lines
Am Montag, den 27.08.2007, 14:14 +0200 schrieb Daniël Mantione: > > Op Mon, 27 Aug 2007, schreef Rainer Stratmann: > > > Is it possible to write ARM Programs for these single microcontroller chips > > without a RTL and without specifying a target operating system? > > Or write pure Assembler Programs? > > And then to download it into these single chip controller? > > The compiler always needs a runtime library. But you can customize RTL > and it has been prepared for this by means of the embedded > target, where you can enable or disable features. If you like you can also > write your own rtl. I thought about using fpc for (very) small embedded computers, too. Doesn't your suggestion imply one of: - hacking up one target already existing or - create at least a fake OS target to tell the compiler which RTL to use? If I understood the wiki page about porting to new OSses or CPU one way must be used.

This is correct, but there is nowadays an "embedded" RTL target, which is prepared for embedded use and allows easy selection of the RTL features needed.

Daniël