You are on page 1of 4

.

Linux


2



2017 4 17

1
Embedded system
U.K. Institution of Electrical
Engineer

,,
,, ,

host X86 PC

target X86 host


target

3
C/OS-II
Linux Windows Embedded VxWorks
AndroidiOS

4 bootkernel
Boot Loader

Kernel

Linux Linux
Ext2fs JFFS YAFFS

1 ls cdvi
2 helloworld intel arm printf

3 1.3 linux
4 Tiny210 helloworld

Linux
Makefile

Windows
Windows
Windows

HelloWorld

1 tiny210 com0 windows


1152008 1
2 hello-arm
3
#chmod +x hello-arm
4
#./hello-arm
./

helloworld.c
#include <stdio.h>
int main(void)
{
int i;
for(i=0;i<10;i++)
printf("hello world! i=%d \n",i);//hello world10
return 0;
}

#include <stdio.h>
int main(void)
{
int i;
for(i=0;i<10;i++)
printf("hello world!lan! i=%d \n",i);//hello world10
return 0;
}

Linux Microsoft Windows


Linux distribution

c
helloworld
tiny210

You might also like