×ðÁú¿­Ê±¹ÙÍøµÇ¼

ʹÓÃEclipse¾ÙÐÐEmbedded LinuxǶÈëʽ¿ª·¢µÄ»ù±¾ÉèÖÃÖ¸ÄÏ

ʹÓÃeclipse¾ÙÐÐembedded linuxǶÈëʽ¿ª·¢µÄ»ù±¾ÉèÖÃÖ¸ÄÏ

Ò»¡¢Åä¾°ÏÈÈÝ

Ëæ×ÅÎïÁªÍøµÄ¿ìËÙÉú³¤  £¬Ç¶ÈëʽϵͳµÄÐèÇóÒ»Ö±ÔöÌí¡£¶øEclipseÊÇÒ»¿î¹¦Ð§Ç¿Ê¢µÄ¼¯³É¿ª·¢ÇéÐΣ¨IDE£©  £¬ÌṩÁËһϵÁÐרҵµÄ¹¤¾ßºÍ²å¼þ  £¬ÊÊÓÃÓÚ¶àÖÖǶÈëʽ¿ª·¢Æ½Ì¨¡£±¾ÎĽ«ÏÈÈÝÔõÑùÔÚEclipseÖоÙÐÐEmbedded LinuxǶÈëʽ¿ª·¢µÄ»ù±¾ÉèÖá£

¶þ¡¢¿ª·¢ÇéÐÎ×¼±¸

ÔÚ×îÏÈÉèÖÃ֮ǰ  £¬ÎÒÃÇÐèҪװÖÃÒÔϼ¸¸öÈí¼þ°ü£º

Eclipse IDE for C/C++ Developers – ÕâÊÇÊÊÓÃÓÚC/C++¿ª·¢ÕßµÄEclipse°æ±¾  £¬Ëü°üÀ¨ÁËÐëÒªµÄ¹¤¾ßºÍ²å¼þ¡£

Linux¹¤¾ßÁ´ – ÓÃÓÚ½»Ö¯±àÒëLinuxÄں˺ÍÓ¦ÓóÌÐòµÄ¹¤¾ß¡£¿ÉÒÔÑ¡Ôñ³£ÓõŤ¾ßÁ´  £¬ºÃ±ÈARM¡¢MIPSµÈ¡£

TFTPЧÀÍÆ÷ – ÓÃÓÚ´«ÊäÎļþµ½Ä¿µÄ×°±¸µÄTFTPЧÀÍÆ÷  £¬ºÃ±Ètftpd-hpa¡£

NFSЧÀÍÆ÷ – ÓÃÓÚ¹ÒÔØÄ¿µÄ×°±¸µÄÎļþϵͳµÄNFSЧÀÍÆ÷  £¬ºÃ±Ènfs-kernel-server¡£

¿ª·¢°å – ÐèÒªÒ»¿é¿ÉÓÃÓÚ¿ª·¢µÄǶÈëʽLinux¿ª·¢°å¡£

Èý¡¢½¨ÉèEclipseÏîÄ¿

·­¿ªEclipse  £¬²¢Ñ¡ÔñFile -> New -> C Project  £¬È»ºóÑ¡ÔñºÏÊʵÄÏîÄ¿ÀàÐÍ¡£

ÔÚµ¯³öµÄ¶Ô»°¿òÖÐ  £¬ÎªÏîÄ¿ÃüÃû  £¬²¢Ñ¡ÔñºÏÊʵÄÄ¿µÄƽ̨¡£

Ñ¡ÔñʹÓÃÏÖÓеÄMakefile  £¬²¢µã»÷¡°Finish¡±°´Å¥Íê³ÉÏîÄ¿½¨Éè¡£

ËÄ¡¢ÉèÖÃÏîÄ¿ÊôÐÔ

ÓÒ¼üµã»÷ÏîÄ¿  £¬Ñ¡ÔñProperties¡£

ÔÚµ¯³öµÄ¶Ô»°¿òÖÐ  £¬Ñ¡ÔñC/C++ Build -> Settings¡£

ÔÚTool SettingsÑ¡ÏÖÐ  £¬Ñ¡ÔñCross GCC Compiler  £¬²¢ÉèÖÃ׼ȷµÄ¹¤¾ßÁ´Â·¾¶¡£

ÔÚCross GCC CompilerÑ¡ÏÖÐ  £¬Ñ¡ÔñIncludes  £¬È»ºóÌí¼ÓÊʵ±µÄÍ·Îļþ·¾¶¡£

ÔÚLinkerÑ¡ÏÖÐ  £¬Ìí¼ÓÒªÁ´½ÓµÄ¿â·¾¶ºÍ¿âÎļþ¡£

ÔÚCross GCC LinkerÑ¡ÏÖÐ  £¬Ñ¡ÔñMiscellaneous  £¬²¢Ìí¼ÓÆäËû±àÒëÑ¡Ïî¡£

Îå¡¢ÉèÖõ÷ÊÔÇéÐÎ

ÓÒ¼üµã»÷ÏîÄ¿  £¬Ñ¡ÔñProperties¡£

ÔÚµ¯³öµÄ¶Ô»°¿òÖÐ  £¬Ñ¡ÔñC/C++ Build -> Settings -> Debugger¡£

ÔÚDebuggerÑ¡ÏÖÐ  £¬Ñ¡ÔñGDB Hardware Debugging  £¬²¢ÉèÖÃ׼ȷµÄµ÷ÊÔÆ÷·¾¶¡£

ÔÚGDB Hardware DebuggingÑ¡ÏÖÐ  £¬Ñ¡ÔñArguments  £¬²¢Ìí¼ÓÊʵ±µÄµ÷ÊÔ²ÎÊý¡£

Áù¡¢±àÒëºÍµ÷ÊÔ

ÔÚEclipseÖÐ  £¬µã»÷Build°´Å¥±àÒëÏîÄ¿¡£

ÔÚEclipseÖÐ  £¬µã»÷Debug°´Å¥¾ÙÐе÷ÊÔ¡£¿ÉÒÔÉèÖöϵ㡢Éó²é±äÁ¿ºÍ¼Ä´æÆ÷µÄÖµµÈ¡£

Æß¡¢Îļþ´«ÊäºÍ¹ÒÔØÎļþϵͳ

ÉèÖÃTFTPЧÀÍÆ÷ÒԱ㽫Îļþ´«Ê䵽ĿµÄ×°±¸¡£·­¿ªtftp-hpaÉèÖÃÎļþ£¨Í¨³£Î»ÓÚ/etc/default/tftpd-hpa£©  £¬²¢ÉèÖúÏÊʵĴ«ÊäĿ¼¡£

Æô¶¯TFTPЧÀÍÆ÷²¢½«ËùÐèµÄÎļþ´«Ê䵽ĿµÄ×°±¸¡£

ÉèÖÃNFSЧÀÍÆ÷ÒԱ㽫Îļþϵͳ¹ÒÔص½Ä¿µÄ×°±¸¡£·­¿ªnfs-kernel-serverÉèÖÃÎļþ£¨Í¨³£Î»ÓÚ/etc/exports£©  £¬²¢Ìí¼ÓÊʵ±µÄ¹ÒÔØĿ¼¡£

Æô¶¯NFSЧÀÍÆ÷²¢ÔÚÄ¿µÄ×°±¸ÉϹÒÔØÎļþϵͳ¡£

°Ë¡¢×ܽá

ͨ¹ý±¾ÎĵÄÖ¸ÄÏ  £¬ÎÒÃÇ¿ÉÒÔ¿´µ½ÔõÑùÉèÖÃEclipse¾ÙÐÐEmbedded LinuxǶÈëʽ¿ª·¢¡£Í¨¹ý׼ȷÉèÖÃÏîÄ¿ÊôÐԺ͵÷ÊÔÇéÐÎ  £¬ÎÒÃÇ¿ÉÒÔ¸üÇáËɵؾÙÐÐǶÈëʽ¿ª·¢  £¬²¢Ê¹ÓÃEclipseÌṩµÄ¹¤¾ßºÍ²å¼þ¾ÙÐи»ºñµÄ¹¦Ð§À©Õ¹¡£Ï£Íû±¾ÎÄÄÜΪǶÈëʽ¿ª·¢ÕßÌṩһЩ×ÊÖú  £¬Ê¹ËûÃÇÄܹ»¸ü¸ßЧµØ¾ÙÐÐEmbedded Linux¿ª·¢¡£

ÒÔÉÏÊÇʹÓÃeclipse¾ÙÐÐembedded linuxǶÈëʽ¿ª·¢µÄ»ù±¾ÉèÖÃÖ¸ÄÏ¡£Ï£Íû¶ÔÄúÓÐËù×ÊÖú£¡

ÒÔÉϾÍÊÇʹÓÃEclipse¾ÙÐÐEmbedded LinuxǶÈëʽ¿ª·¢µÄ»ù±¾ÉèÖÃÖ¸ÄϵÄÏêϸÄÚÈÝ  £¬¸ü¶àÇë¹Ø×¢±¾ÍøÄÚÆäËüÏà¹ØÎÄÕ£¡

ÃâÔð˵Ã÷£ºÒÔÉÏչʾÄÚÈÝȪԴÓÚÏàÖúýÌå¡¢ÆóÒµ»ú¹¹¡¢ÍøÓÑÌṩ»òÍøÂçÍøÂçÕûÀí  £¬°æȨÕùÒéÓë±¾Õ¾ÎÞ¹Ø  £¬ÎÄÕÂÉæ¼°¿´·¨Óë¿´·¨²»´ú±í×ðÁú¿­Ê±¹ÙÍøµÇ¼ÂËÓÍ»úÍø¹Ù·½Ì¬¶È  £¬Çë¶ÁÕß½ö×ö²Î¿¼¡£±¾ÎĽӴýתÔØ  £¬×ªÔØÇë˵Ã÷À´ÓÉ¡£ÈôÄúÒÔΪ±¾ÎÄÇÖÕ¼ÁËÄúµÄ°æȨÐÅÏ¢  £¬»òÄú·¢Ã÷¸ÃÄÚÈÝÓÐÈκÎÉæ¼°ÓÐÎ¥¹«µÂ¡¢Ã°·¸Ö´·¨µÈÎ¥·¨ÐÅÏ¢  £¬ÇëÄúÁ¬Ã¦ÁªÏµ×ðÁú¿­Ê±¹ÙÍøµÇ¼ʵʱÐÞÕý»òɾ³ý¡£

Ïà¹ØÐÂÎÅ

ÁªÏµ×ðÁú¿­Ê±¹ÙÍøµÇ¼

18523999891

¿É΢ÐÅÔÚÏß×Éѯ

ÊÂÇéʱ¼ä£ºÖÜÒ»ÖÁÖÜÎå  £¬9:30-18:30  £¬½ÚãåÈÕÐÝÏ¢

QR code
ÍøÕ¾µØͼ