zd880105132 / ardupilot-mega

Automatically exported from code.google.com/p/ardupilot-mega
0 stars 0 forks source link

Error in the readme - patch attached #835

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
The README instructions for building with CMAKE have a small typo (APM_PORT is 
now called APM_PROGRAMMING_PORT).  Here's a patch:

From c5c3752e0074618a587b1edb14a57c53aeed9c0b Mon Sep 17 00:00:00 2001
From: Kevin Hester <kevinh@geeksville.com>
Date: Sun, 23 Dec 2012 18:12:16 -0800
Subject: [PATCH 61/61] Use correct name for programming port variable

---
 README.txt |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/README.txt b/README.txt
index fe2ea5d..7e4868a 100644
--- a/README.txt
+++ b/README.txt
@@ -16,7 +16,7 @@ Building using cmake
  - cd ArduPlane (ArduCopter etc ..)
  - mkdir build
  - cd build
- - cmake .. -DAPM_BOARD=mega -DAPM_PORT=/dev/ttyUSB0
+ - cmake .. -DAPM_BOARD=mega -DAPM_PROGRAMMING_PORT=/dev/ttyUSB0
     You can select from mega/mega2560.
     If you have arduino installed in a non-standard location you by specify it by using:
         -DARDUINO_SDK_PATH=/path/to/arduino ..
-- 
1.7.9.5

Original issue reported on code.google.com by UncleSo...@gmail.com on 24 Dec 2012 at 2:39