Sign in Join

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

Mailing lists / fpc-pascal / 2005-08

Writeln in embedded systems

3 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

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

Carsten Bager

I have been experimenting with compiling to an embedded ARM platform I succeeded in compiling with a minimum system unit.
Now the ARM processor can blink with a LED.
I then tried to put in a Writeln just to se what library modules there was missing. I then get this error:
(I want to connect a display)
-----------
Hint: End of reading config file fpc.cfg
Free Pascal Compiler version 2.0.0 [2005/05/15] for arm Copyright (c) 1993-2005 by Florian Klaempfl
Target OS: Linux for ARM
Compiling led.pas
led.pas(33,3) Fatal: Internal error 200107271
led.pas(33,3) Error: Compilation aborted
--------

Line 33 is the line where I have written "WriteLn('TEST');"

Dos anyone have a hint about what I should do next.

Regards
Carsten

Carsten Bager Bøvlingbjerg El-automatik Brørupvænget 10 7650 Bøvlingbjerg Tlf. +4597885222 Fax +4597885434 http://www.beas.dk
Jonas Maebe
to Carsten Bager
Carsten Bager wrote 20 lines
I have been experimenting with compiling to an embedded ARM platform I succeeded in compiling with a minimum system unit. Now the ARM processor can blink with a LED. I then tried to put in a Writeln just to se what library modules there was missing. I then get this error: (I want to connect a display) ----------- Hint: End of reading config file fpc.cfg Free Pascal Compiler version 2.0.0 [2005/05/15] for arm Copyright (c) 1993-2005 by Florian Klaempfl Target OS: Linux for ARM Compiling led.pas led.pas(33,3) Fatal: Internal error 200107271 led.pas(33,3) Error: Compilation aborted -------- Line 33 is the line where I have written "WriteLn('TEST');" Dos anyone have a hint about what I should do next.

Add the writeln helpers (FPC_WRITE_*) to your system unit. See rtl/ inc/text.inc

Jonas

LanceKalp
to Carsten Bager: I have been experimenting with compiling to an embedded ARM platform I succeeded in…

LED Strips. You can get them in a variety of off the shelf colours their flexible so you can mold them around curves and corners. They don't break when someone jams a case of Bud up against them. and they're easy to wire. Check out the Mode 55-7000 series of LED strips.
Source(s):
http://www.ledstrips8.com/led-light-bars-c-38.html led strips 12v http://www.ledstrips8.com/flexible-led-strip-lighting-c-32.html flexible led strip light
http://www.volunled.com/catalog/led-tube T5 LED Tube supplier select LED products, LED Strips

View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Writeln-in-embedded-systems-tp2808979p5690715.html Sent from the Free Pascal - General mailing list .