Matrix-522 User Guide
‧
14
‧
3.33 Getting Started with the Hello Program
There are many example programs on Artila FTP. To compile the sample you can use the Make file
and type:
make
To compile and link the library. Once done, use ftp command
ftp 192.168.2.127
Then login with password. Use bin command to set transfer mode to binary
ftp>bin
To transfer the execution file to Matrix-522 user disk (/home/guest) and use
chmod +x file.o
To change it to execution mode and
./file.o
to run the program.
3.34 Auto Start Program on Boot
To start a program on boot, you can use
/etc/rc.local.
For example to use
vi
to edit
rc.local
hello &
exit 0
Hello will be executed after system boot up.
rc.local
has the similar function as
/etc/rc
in Matrix-522.
Содержание Matrix-522
Страница 2: ......
Страница 6: ...Matrix 522 User Guide 2 2 Layout 25 12 5 4 167 5 5 9 104 Reset Button 40 1 10...