Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

UM0844 Datasheet(PDF) 30 Page - STMicroelectronics

Part # UM0844
Description  This manual provides application developers with a first introduction
PDF  43 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

UM0844 Datasheet(HTML) 30 Page - STMicroelectronics

Back Button UM0844 Datasheet HTML 26Page - STMicroelectronics UM0844 Datasheet HTML 27Page - STMicroelectronics UM0844 Datasheet HTML 28Page - STMicroelectronics UM0844 Datasheet HTML 29Page - STMicroelectronics UM0844 Datasheet HTML 30Page - STMicroelectronics UM0844 Datasheet HTML 31Page - STMicroelectronics UM0844 Datasheet HTML 32Page - STMicroelectronics UM0844 Datasheet HTML 33Page - STMicroelectronics UM0844 Datasheet HTML 34Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 30 / 43 page
background image
Working at application level (userland)
UM0844
30/43
Doc ID 16544 Rev 3
4.3.2
Testing a simple application example
In order to check the STLinux installation and start to learn the environment, it is useful to
write and test a simple user-space application. For example:
1.
Right click in the "Project Explorer" window and select "New -> Project" from the menu
2.
Select your programming language (for the purpose of this tutorial we use C)
3.
Insert your Project name in "Project name" field ("Hello")
4.
Select "Hello World ANSI C Project" as Project Type
5.
Select "ARM926 Linux GCC" as toolchain
6.
Click on "Finish"
In the Project Explorer you now see the newly created "Hello" project, with includes and a
source file in the "src" subdirectory. To open the src/Hello.c file double-click on it. It is now
ready to be modified.
4.3.3
Building a project
To build your project completely with the provided cross-compilation toolchain you can do
one of the following:
●
From the STWorkbench menu, select "Project -> Build Project"
- Or -
●
In the Project Explorer window, right click on your project name, then select "Build
Project"
Build messages are displayed in the "Console" tab at the bottom of the screen.
4.4
Userland packages
The general SPEAr Linux Support Package (LSP2.3) comes with a set of user-space
packages prebuilt for the ARM target. This set includes programs and libraries for:
●
Graphics: for example, X Server, SDL, Cairo, DirectFB, GTK+, Qt Embedded
●
Programming language runtimes: for example, micro Perl
●
Connectivity: for example, usblib, Bluetooth (Bluez)
●
Multimedia frameworks: for example, ALSA, GStreamer
●
Database: for example, sqlite
●
Benchmarking tools: for example, IOZONE, netperf
Some of these packages are not supported on SPEAr evaluation boards yet, especially the
ones requiring specific hardware for audio, video, wireless connectivity.
4.5
Rebuilding the root filesystem
The default root filesystem provided as pre-flashed on all SPEAr evaluation boards, as well
as binary image on ST Web site for upgrades, is built for serial NOR Flash and formatted
according to JFFS2 structure.
In order to rebuild this configuration, the procedure to be run on Linux host PC is as follows:
$ mkfs.jffs2 -n -p -l -s 0x200 -e 0x10000 -r $BUSYBOX/_install/ -o
rootfs_nor.img



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com