{"id":664,"date":"2016-07-28T04:04:34","date_gmt":"2016-07-28T13:04:34","guid":{"rendered":"\/blog\/?p=664"},"modified":"2023-09-21T09:37:58","modified_gmt":"2023-09-21T00:37:58","slug":"apm-uart2serial3-%ed%99%9c%ec%84%b1%ed%99%94-%eb%b0%a9%eb%b2%95","status":"publish","type":"post","link":"https:\/\/hasu0707.duckdns.org\/blog\/?p=664","title":{"rendered":"APM UART2(Serial3) \ud65c\uc131\ud654 \ubc29\ubc95"},"content":{"rendered":"\n<div><font face=\"hasu0707@gmail.com\"><span style=\"font-family: \uad74\ub9bc\uccb4, &quot;Courier New&quot;, &quot;Lucida Console&quot;; font-size: 13px;\"><strong>\u25a0 ArduCopter 3.2.1 \uc18c\uc2a4\ucf54\ub4dc \uc218\uc815<\/strong><\/span><\/font><\/div><div><font face=\"hasu0707@gmail.com\"><br \/><\/font><\/div><div><font face=\"hasu0707@gmail.com\"><span style=\"font-family: \uad74\ub9bc\uccb4, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\">\u25b6&nbsp;<\/span><\/font><strong style=\"line-height: 1.5; font-family: \uad74\ub9bc\uccb4, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\">ArduCopter\/<\/strong><strong style=\"font-family: \uad74\ub9bc\uccb4, &quot;Courier New&quot;, &quot;Lucida Console&quot;; line-height: 1.5;\">system.pde<\/strong><span style=\"font-family: \uad74\ub9bc\uccb4, &quot;Courier New&quot;, &quot;Lucida Console&quot;; line-height: 1.5;\"> 166\ubc88\uc9f8 \ub77c\uc778\uc5d0\uc11c<\/span><\/div><div><font face=\"hasu0707@gmail.com\"><br \/><\/font><\/div><div><font face=\"hasu0707@gmail.com\"><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">#if CONFIG_HAL_BOARD != HAL_BOARD_APM2<\/span><\/font><\/div><div><font face=\"hasu0707@gmail.com\"><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">&nbsp; &nbsp; \/\/ we have a 2nd serial port for telemetry on all boards except<\/span><\/font><\/div><div><font face=\"hasu0707@gmail.com\"><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">&nbsp; &nbsp; \/\/ APM2. We actually do have one on APM2 but it isn't necessary as<\/span><\/font><\/div><div><font face=\"hasu0707@gmail.com\"><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">&nbsp; &nbsp; \/\/ a MUX is used<\/span><\/font><\/div><div><font face=\"hasu0707@gmail.com\"><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">&nbsp; &nbsp; gcs[1].setup_uart(hal.uartC, map_baudrate(g.serial1_baud), 128, 128);<\/span><\/font><\/div><div><font face=\"hasu0707@gmail.com\"><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">#endif<\/span><\/font><\/div><div><font face=\"hasu0707@gmail.com\"><br \/><\/font><\/div><div><font face=\"hasu0707@gmail.com\"><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">#if\uc640 #endif\ub97c \uc8fc\uc11d\ucc98\ub9ac \ud55c\ub2e4.<\/span><\/font><\/div><div><font face=\"hasu0707@gmail.com\"><br \/><\/font><\/div><div><font face=\"hasu0707@gmail.com\"><span style=\"font-family: \uad74\ub9bc\uccb4, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\"><span style=\"color: rgb(255, 0, 0); font-family: &quot;Courier New&quot;, Courier, monospace;\"><strong>\/\/<\/strong><\/span><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">#if CONFIG_HAL_BOARD != HAL_BOARD_APM2<\/span><\/span><\/font><\/div><div><font face=\"hasu0707@gmail.com\"><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">&nbsp; &nbsp; \/\/ we have a 2nd serial port for telemetry on all boards except<\/span><\/font><\/div><div><font face=\"hasu0707@gmail.com\"><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">&nbsp; &nbsp; \/\/ APM2. We actually do have one on APM2 but it isn't necessary as<\/span><\/font><\/div><div><font face=\"hasu0707@gmail.com\"><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">&nbsp; &nbsp; \/\/ a MUX is used<\/span><\/font><\/div><div><font face=\"hasu0707@gmail.com\"><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">&nbsp; &nbsp; gcs[1].setup_uart(hal.uartC, map_baudrate(g.serial1_baud), 128, 128);<\/span><\/font><\/div><div><font face=\"hasu0707@gmail.com\"><span style=\"font-family: \uad74\ub9bc\uccb4, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\"><span style=\"color: rgb(255, 0, 0); font-family: &quot;Courier New&quot;, Courier, monospace;\"><strong>\/\/<\/strong><\/span><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">#endif<\/span><\/span><\/font><\/div><div><font face=\"hasu0707@gmail.com\"><br \/><\/font><\/div><div><font face=\"hasu0707@gmail.com\"><br \/><\/font><\/div><div><font face=\"hasu0707@gmail.com\"><span style=\"font-family: \uad74\ub9bc\uccb4, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\">\u25b6 \uc6a9\ub7c9 \ubb38\uc81c\ub85c \ud50c\ub798\uc2f1\uc774 \uc548\ub418\uae30 \ub54c\ubb38\uc5d0 ArduCopter\uc758 \ub85c\uadf8 \uae30\ub2a5\uc744 \ub044\uace0 \ucef4\ud30c\uc77c \ud55c\ub2e4.<\/span><\/font><\/div><div><font face=\"hasu0707@gmail.com\"><br \/><\/font><\/div><div><font face=\"hasu0707@gmail.com\"><span style=\"font-family: \uad74\ub9bc\uccb4, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\"><strong>ArduCopter\/APM_Config.h<\/strong>\uc5d0\uc11c<\/span><\/font><\/div><div><font face=\"hasu0707@gmail.com\"><br \/><\/font><\/div><div><font face=\"hasu0707@gmail.com\"><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">#define LOGGING_ENABLED DISABLED \/\/ disable dataflash logging to save 11K of flash space<\/span><\/font><\/div><div><font face=\"hasu0707@gmail.com\"><br \/><\/font><\/div><div><font face=\"hasu0707@gmail.com\"><span style=\"font-family: \uad74\ub9bc\uccb4, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\">\uc758 \uc8fc\uc11d\uc744 \ud480\uc5b4 11K\uc758 \ud50c\ub798\uc26c\uba54\ubaa8\ub9ac\ub97c \ud655\ubcf4\ud558\uace0 \ub85c\uadf8 \uae30\ub2a5\uc744 \ube44\ud65c\uc131\ud654 \uc2dc\ud0a8\ub2e4.<\/span><\/font><\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u25a0 ArduCopter 3.2.1 \uc18c\uc2a4\ucf54\ub4dc \uc218\uc815 \u25b6&nbsp;ArduCopter\/system.pde 166\ubc88\uc9f8 \ub77c\uc778\uc5d0\uc11c #if CONFIG_HAL_BOARD != HAL_BOARD_APM2 &nbsp; &nbsp; \/\/ we have a 2nd serial port for telemetry on all boards except &nbsp; &nbsp; \/\/ APM2. We actually do have one on APM2 but it isn&#8217;t necessary as &nbsp; &nbsp; \/\/ a MUX is used &nbsp; &nbsp; gcs[1].setup_uart(hal.uartC, map_baudrate(g.serial1_baud), 128, [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_import_markdown_pro_load_document_selector":0,"_import_markdown_pro_submit_text_textarea":"","site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[30],"tags":[],"class_list":["post-664","post","type-post","status-publish","format-standard","hentry","category-multi_copter_fc"],"_links":{"self":[{"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/664","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=664"}],"version-history":[{"count":0,"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/664\/revisions"}],"wp:attachment":[{"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=664"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=664"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=664"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}