Difference between revisions of "Lazarus on RPi"
Jwdietrich (talk | contribs) (→External Links) |
Jwdietrich (talk | contribs) (→Accessing low-level hardware) |
||
Line 25: | Line 25: | ||
==Accessing low-level hardware== | ==Accessing low-level hardware== | ||
− | Hardware hacking is easily possible with the Lazarus wrapper unit for Gordon Henderson's wiringPi C library (see bwlow). Alternatively, the GPIO port is also accessible directly from Free Pascal as described in the article on [[ | + | Hardware hacking is easily possible with the Lazarus wrapper unit for Gordon Henderson's wiringPi C library (see bwlow). Alternatively, the [[GPIO]] port is also accessible directly from Free Pascal as described in the article on [[RPi_Low-level_peripherals#Lazarus_.2F_Free_Pascal]] or, in more detail, in the [http://wiki.freepascal.org/Lazarus_on_Raspberry_Pi Lazarus Wiki]. |
== External Links == | == External Links == |
Revision as of 01:37, 1 May 2013
Lazarus is a cross-platform IDE for Free Pascal, a professional 32 bit / 64 bit Pascal Compiler. Lazarus supports a wide variety of processors and Linux distributions including the Raspberry Pi, where it runs natively.
Contents
Simple installation
In the Raspbian distribution Lazarus and Free Pascal are easily installed with the following shell commands:
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install fpc
sudo apt-get install lazarus
This installs a ready-to-use precompiled version of Lazarus, however not necessarily the newest one.
Compiling from sources
The newest versions of Lazarus are distributed as source code. In order to compile Lazarus from subversion sources see Michell Computing: Lazarus on the Raspberry Pi for details.
See also
Accessing low-level hardware
Hardware hacking is easily possible with the Lazarus wrapper unit for Gordon Henderson's wiringPi C library (see bwlow). Alternatively, the GPIO port is also accessible directly from Free Pascal as described in the article on RPi_Low-level_peripherals#Lazarus_.2F_Free_Pascal or, in more detail, in the Lazarus Wiki.
External Links
- Additional information about Lazarus on Raspberry Pi in the Free Pascal wiki (covers also i/o over the GPIO terminal)
- Lazarus wrapper unit for Gordon Henderson's wiringPi C library
- Lazberry Pi: Comprehensive information on Lazarus on the Raspberry Pi computer.
|