LINUX ÏÂVIÉèÖÃ
LINUX ÏÂVIÉèÖÃ
Ó¦ÓóÌÐòÆô¶¯Ê±£¬ÏȶÁÆäÅäÖÃÎļþ¡£Õâ¶ÔÓÚvi/vimÀ´Ëµ¾ÍÊǹ¤×÷Ŀ¼ÏµÄÒþ²ØÎļþ.vimrc¡£
¹ý³Ì(ÒÔrootÓû§ÎªÀý)
#vi ~/.vimrc
ÓÃÒÔÏÂÃüÁîд.vimrcÎļþΪ£º
set nu //×Ô¶¯ÏÔʾÐкÅ
set ts=4 //ÉèÖÃTAB¼ü¿íΪ4¸ö¿Õ¸ñ
set ai //×Ô¶¯Ëõ½ø
syntax on //Óï·¨¸ßÁÁ
set mouse=a //ʹÄÜÊó±ê
set sm //À¨ºÅÆ¥Åä
set encoding=gb2312//Ð޸ıàÂë
ÔÚÓÐЩϵͳÀïÃæûÓÐÕâôһ¸ö.vimrcÎļþ£¬µ«ÊÇÒ»µ©Ä㽨Á¢ÁË.vimrcÎļþ£¬viÆô¶¯µÄʱºò»á×Ô¶¯È¥¶ÁÈ¡¸ÃÎļþ¡£
Ïà¹ØÎĵµ£º
1. HCI²ãÐÒé¸ÅÊö£º
HCIÌṩһÌ×ͳһµÄ·½·¨À´·ÃÎÊBluetoothµ×²ã¡£ÈçͼËùʾ£º
´ÓͼÉÏ¿ÉÒÔ¿´³ö£¬Host Controller Interface(HCI) ¾ÍÊÇÓÃÀ´¹µÍ¨HostºÍModule¡£Hostͨ³£¾ÍÊÇPC£¬ ModuleÔòÊÇÒÔ¸÷ÖÖÎïÀíÁ¬½ÓÐÎʽ£¨USB,serial,pc-cardµÈ£©Á¬½Óµ½PCÉϵÄbluetooth Dongle¡£
ÔÚHostÕâÒ»¶Ë£ºapplication,SDP,L2capµÈÐÒé ......
Service Discovery Protocol(SDP)ÌṩһÖÖÄÜÁ¦£¬ÈÃÓ¦ÓóÌÐòÓз½·¨·¢ÏÖÄÄÖÖ·þÎñ¿ÉÓÃÒÔ¼°ÕâÖÖ·þÎñµÄÌØÐÔ¡£
·þÎñ·¢ÏÖÐÒé(SDP»òBluetooth SDP)ÔÚÀ¶ÑÀÐÒéÕ»ÖжÔÀ¶ÑÀ»·¾³ÖеÄÓ¦ÓóÌÐòÓÐÌØÊâµÄº¬Ò⣬·¢ÏÖÄĸö·þÎñÊÇ¿ÉÓõĺÍÈ·¶¨ÕâЩ¿ÉÓ÷þÎñµÄÌØÕ÷¡£SDP¶¨ÒåÁËbluetooth client·¢ÏÖ¿ÉÓÃbluetooth server·þÎñºÍËüÃǵÄÌØÕ÷µÄ·½·¨¡£ ......
vmwareÖÐlinuxÉÏÍøÉèÖ×—NAT
ÉèÖóÉNAT·½Ê½ºó£¬½«ÄãwindowsÖ÷»úÉÏÍøµÄÄǸöÍøÂçÉèÖÃΪ¹²Ïí£¬È»ºó½«linux¿Í»§»úºÍwindowsÖ÷»ú×é³ÉÄÚÍø¡£¾ßÌå²½ÖèÈçÏÂ;
1¡¢ÉèÖÃvmwareµÄ¿Í»§»úÍøÂçÁ´½ÓΪNAT·½Ê½£º
2¡¢½«ÄãwindowsÉÏÍøµÄÄǸöÍøÂçÉèΪ¹²Ïí¸øvnet8£¬Ò»°ã¹Ì¶¨ip¾ÍÊÇ“±¾µØÁ¬½Ó”£¬¿í´øÉÏÍø¾ÍÊ ......
COMÅäÖÃ
ÏȽøÐÐÐéÄâ»úÉ豸ÅäÖÃ
ÔÚÍê³ÉLINUXÏÂϵͳÅäÖÃ
com¶Ë¿ÚÅäÖÃ
ÒÔºóÖ»ÒªÔÚÃüÁîÐÐÏÂÊäÈë >minicom »Ø³µ¾Í¿ÉÒÔ¿´µ½Õâ¸ö²Ëµ¥ÁË ºÇºÇ
JTAGÅäÖã¨Ï൱ÓÚwinϵÄH-JTAG£©
ÏÂÔØJflashѹËõ°ü tar½âѹµ½/Ŀ¼ÏÂ
´ò¿ªÐéÄâ»ú
½ÓºÃJTAG²¢¿ÚÏߣ¬½øÈëlinuxϵͳÊäÈëÃüÁî
......
ʹÓÃlinux¶¯Ì¬Á´½Ó¿â£º
ÔÚUnixÉÏ´æÔÚÁ½Öֿ⣺¶¯Ì¬¿â£¨.so£©ºÍ¾²Ì¬¿â£¨.a£©£¬²ÉÓö¯Ì¬¿â£¨¹²Ïí¶ÔÏ󣩼¼Êõ¿ÉÒÔ·½±ã³ÌÐò¼ä¹²Ïí£¬½ÚÊ¡³ÌÐòÕ¼Óпռ䣬Ôö¼Ó³ÌÐòµÄ¿ÉÀ©Õ¹ÐÔºÍÁé»îÐÔ¡£
²Ù×÷¶¯Ì¬¿âµÄº¯ÊýÔÚdlfcn.hÎļþÖж¨Ò壬ËùÒÔÒªÔÚʹÓö¯Ì¬¿âʱinclude <dlfcn.h>
&n ......