Difference between revisions of "Getting Started"

From Ultibo.org
Jump to: navigation, search
Line 3: Line 3:
 
----
 
----
  
Started embedded programming can sometimes involve many hours of work before you get to write even a single line of code, Ultibo core takes the pain out of getting started by packaging everything you need in a simple downloadable installer for Windows.
+
Starting embedded programming can sometimes involve many hours of work before you get to write even a single line of code, Ultibo core takes the pain out of getting started by packaging everything you need in a simple downloadable installer for Windows.
  
 
The installer includes the Free Pascal compiler, Lazarus IDE and the Ultibo core source all configured and ready to start creating applications. Get the Ultibo core installer from the [http://ultibo.org/download/ download] page and save it to a temporary location on your computer.
 
The installer includes the Free Pascal compiler, Lazarus IDE and the Ultibo core source all configured and ready to start creating applications. Get the Ultibo core installer from the [http://ultibo.org/download/ download] page and save it to a temporary location on your computer.
Line 10: Line 10:
  
  
When you're ready to get started double click on the Ultibo core installer file you downloaded and select the language for the installation. [[File:GettingStarted-Download.png]]  
+
When you're ready to get started double click on the Ultibo core installer file you downloaded and select the language for the installation when prompted.
 +
 
 +
[[File:GettingStarted-Download.png|center]]
 +
 
 +
 
 +
The installer will ask you where to install Ultibo core, by default this will be C:\Ultibo\Core but you can select a different folder if that suits you.
 +
''Note that due to a limitation in the compiler you cannot select a path with spaces in it like C:\Program Files\Ultibo.''
 +
 
 +
[[File:GettingStarted-Install.png|center]]
 +
 
 +
 
 +
After a couple of other questions the installer will proceed to copy all of the necessary files to the folder you selected and configure the installation, when it is completed you will see a dialog like the one below. If everything was successful you can select finish and get on with creating your first application.
 +
 
 +
[[File:GettingStarted-Installed.png|center]]  
  
 
=== Introduction to Lazarus ===
 
=== Introduction to Lazarus ===
 
----
 
----
 +
 +
Lazarus is an IDE or integrated development environment, the first thing it provides is a source code editor with syntax highlighting, auto indentation and auto completion. But it also offers many more advanced features like code completion, parameter preview, single click navigation and integrated error highlighting during compiling. You can learn about Lazarus and the many ways it can make coding quicker by visiting the documentation or through the built in help.
 +
 +
Open Lazarus IDE by selecting the icon in the start menu.
 +
 +
[[File:GettingStarted-Lazarus.png|center]]
 +
 +
  
  

Revision as of 05:13, 28 January 2016

Installing Ultibo core


Starting embedded programming can sometimes involve many hours of work before you get to write even a single line of code, Ultibo core takes the pain out of getting started by packaging everything you need in a simple downloadable installer for Windows.

The installer includes the Free Pascal compiler, Lazarus IDE and the Ultibo core source all configured and ready to start creating applications. Get the Ultibo core installer from the download page and save it to a temporary location on your computer.

Ultibo core is quite safe to install on any Windows computer, nothing other than the items above is installed and everything is contained in a single folder (normally C:\Ultibo\Core). Even if you already have either Lazarus or Free Pascal installed, they will not be affected because Ultibo core installs into a different folder and keeps its settings separately from the official FPC and Lazarus installations. If you decide later that it's not for you then you can simply uninstall and everything will be removed.


When you're ready to get started double click on the Ultibo core installer file you downloaded and select the language for the installation when prompted.

GettingStarted-Download.png


The installer will ask you where to install Ultibo core, by default this will be C:\Ultibo\Core but you can select a different folder if that suits you. Note that due to a limitation in the compiler you cannot select a path with spaces in it like C:\Program Files\Ultibo.

GettingStarted-Install.png


After a couple of other questions the installer will proceed to copy all of the necessary files to the folder you selected and configure the installation, when it is completed you will see a dialog like the one below. If everything was successful you can select finish and get on with creating your first application.

GettingStarted-Installed.png

Introduction to Lazarus


Lazarus is an IDE or integrated development environment, the first thing it provides is a source code editor with syntax highlighting, auto indentation and auto completion. But it also offers many more advanced features like code completion, parameter preview, single click navigation and integrated error highlighting during compiling. You can learn about Lazarus and the many ways it can make coding quicker by visiting the documentation or through the built in help.

Open Lazarus IDE by selecting the icon in the start menu.

GettingStarted-Lazarus.png



Starting a new project



The Hello World example



Compiling the project



Making a bootable SD card



Testing your project



What next?