Andrew Tridgell
2154288e2b
hacks to get AP_Param to compile
2012-02-13 16:22:50 +11:00
Andrew Tridgell
937f8a4741
new AP_Param subsystem
2012-02-13 16:22:50 +11:00
Randy Mackay
98f3386ea0
Arduino 1.0 - changed all #includes of "WProgram.h", "wiring.h" and "WConstants.h to "Arduino.h".
...
Modified FastSerial's write function to return size_t (number of bytes written).
2012-01-28 12:25:47 +09:00
Mike Smith
d79f62ce66
Teach the Makefile about the new Arduino sourcefile suffix
2012-01-15 11:51:38 -08:00
Jason Short
f43c29e840
fixed type error
2012-01-10 23:43:44 -08:00
Michael Oborne
3848f2094e
make file relax
2011-12-17 20:42:51 +08:00
Michael Oborne
fd35ba5976
add relax
2011-12-17 16:53:14 +08:00
Doug Weibel
e965d95ba8
Added back the feature to prompt users when an invalid CLI command is entered.
...
Thanks to Yury Smirnov for this patch!
2011-11-26 21:10:53 -07:00
Andrew Tridgell
e2e613cdfc
upload: force hex file format for upload
...
this should fix a problem with hex file format detection on MacOS
2011-11-27 09:36:10 +11:00
Andrew Tridgell
e9c7f8de21
AP_Common: added typesafe wrapper for memcpy_P()
2011-11-26 17:17:50 +11:00
Andrew Tridgell
57c4385a18
AP_Common: replace strlcat_P() with a C implementation
...
the one in the Arduino libc was giving us bogus results on one
machine, and is suspect. We couldn't spot what is wrong in the
assembler, but replacing the implementation with a C one fixes the
bug, so we replaced it
2011-11-26 17:02:56 +11:00
Andrew Tridgell
3b5c124fc6
make configure default to 2560
...
1280 is less common for devs these days
2011-11-25 20:00:17 -08:00
Pat Hickey
c65a8c4616
build: added jtag-program make target
...
useful for when you have hosed your USB
2011-11-25 20:00:16 -08:00
James Goppert
fc84c15426
Separated controller block class.
...
Also improved documentation of AP_ControllerBlock.
2011-11-24 13:28:14 -05:00
Wenyao Xie
6c51157b2d
Working on new hil message for mavlink.
2011-11-15 17:15:54 -05:00
Andrew Tridgell
75d7ee01d1
desktop: fixed 2 crashes in the menu code
...
handle an empty line gracefully, and use pgm_read_pointer() for
functions pointers in progmem
2011-11-07 22:56:13 +11:00
Andrew Tridgell
152da9c91b
added pgm_read_pointer()
...
this will be used by the menu code to make reading pointers from
progmem portable
2011-11-07 22:56:13 +11:00
Andrew Tridgell
11109e4a03
force LANG=C for MacOS awk
2011-11-07 13:33:38 +11:00
James Goppert
585507f188
Clean up formatting for AP_Common
2011-10-28 14:43:43 -04:00
James Goppert
0283b8c695
Added battery monitoring, arming to apo.
...
Arming added for quadrotor. Need to add to rover still. Battery
monitoring added with auto shut-off in quadrotor controller.
Finally split apo header and source files to allow faster
compiling/ fix cyclic header inclusions.
2011-10-16 02:55:34 -04:00
Andrew Tridgell
99f0e92531
desktop: silence an implicit cast warning
2011-10-11 20:53:43 +11:00
Andrew Tridgell
ed2bec75b9
added build makefiles
2011-10-10 07:18:38 +11:00
Andrew Tridgell
ab755ab11f
use ifdef for DESKTOP_BUILD
2011-10-09 22:16:14 +11:00
Andrew Tridgell
4109374959
first rough build for desktop CPUs
...
this allows ArduPlane to build and startup on 'desktop' systems (eg. a
Linux box). Very rough for now, and only for HIL so far
2011-10-09 22:16:13 +11:00
Andrew Tridgell
e177800116
fixed PROGMEM declaration for desktop build
2011-10-09 22:16:13 +11:00
Andrew Tridgell
a3e6f5d51f
initialise spare bits in AP_Var headers
...
if we ever need these bits, it would be nice to know that they are
zero in existing eeproms
2011-10-09 22:09:00 +11:00
Andrew Tridgell
88668dd2d1
ap_common: use intptr_t for pointer casts
...
this allows building on systems with pointers that aren't 16 bits long
2011-10-09 22:08:59 +11:00
Amilcar Lucas
a751208f9f
More improvements to MS Windows
...
Now the avr-gdb, avrdude and avarice tools do not need to be in the path.
2011-10-03 19:16:55 +02:00
amilcar
85588cb02e
Fix serial port on windows
2011-10-03 12:10:27 +02:00
amilcar
c6722112e7
Make it work on windows "out-of-the-box"
2011-10-03 12:08:19 +02:00
Amilcar Lucas
fcbbc89251
Added a comment to the BOARD type of teh make configure output file
2011-10-02 00:04:21 +02:00
Amilcar Lucas
d327bdde80
Fix Arduino version detection on some systems
2011-10-02 00:03:57 +02:00
James Goppert
ac3e73f5c0
Optional recursion added.
2011-09-30 17:17:51 -04:00
James Goppert
9a2da8f22f
Arduino version directory updated to lib/version.txt
...
Also updated cmake files.
2011-09-29 22:10:26 -04:00
James Goppert
112d5e9531
Improvements to cmake.
2011-09-29 21:23:26 -04:00
James Goppert
e6e94837e9
Added APO branch.
2011-09-28 20:51:12 -04:00
Amilcar Lucas
af105c6967
fix quotes and indentation
2011-09-27 04:40:00 +02:00
James Goppert
f7a307e349
Added override for mega upload protocol.
2011-09-26 20:29:09 -04:00
James Goppert
90a3a5b1e5
Modified Arduino.mk to use correct upload protocol if not overrided.
...
The previous comment of upload protocol not working cannot be verified on
linux. If this problem persists on cygwin, please override with
UPLOAD_PROTOCOL=arduino in the enivornment before calling Arduino.mk
2011-09-22 13:35:26 -04:00
Andrew Tridgell
465c10a31f
build: cope with more depths for libraries
...
this finds the libraries at more levels up from the current directory
2011-09-17 14:58:02 +10:00
Janne M
45c4872e6d
Issue #415 : Modified spotlight search string. Added UPLOAD_PROTOCOL parameter to makefile to use different programmer.
2011-09-15 22:38:22 +03:00
Mike Smith
f79d4caeff
Add options to generate assembly listings for all of the compiled
...
files. This is a possible starting point for a tool to analyse the
call graph and stack usage of APM.
It's also interesting by itself.
2011-09-14 22:39:34 -07:00
unknown
9f028bb5a0
Adding CMake support
2011-09-14 15:44:55 +02:00
DrZiplok
e84a422bd4
GNU sed wants -r, Darwin/BSD sed wants -E.
2011-09-12 18:43:31 +00:00
Mike Smith
ae77029c98
Reinstate a Cygwin workround that was backed out by the previous changes.
...
Not all platforms support (or require) the -r argument to sed.
2011-09-11 22:20:54 -07:00
joeholdsworth@gmail.com
7977cddc13
updated make file for cygwin compatibility
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3277 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-09-05 17:15:01 +00:00
tridge60@gmail.com
a2589c3573
AP_Var: added EEPROM wear levelling
...
This adds a variable length dummy variable at the front of the EEPROM
when we erase it, which has the effect of moving the location of any
hot variables within the EEPROM. This should improve EEPROM
life. Thanks to Mike for the implementation.
Pair-Programmed-With: Mike Smith
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3234 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-09-04 06:39:57 +00:00
tridge60@gmail.com
3255503032
AP_Var: avoid wearing out EEPROM by re-writing the same value
...
when saving a variable, this avoids EEPROM wear by checking if the
existing value is already the same as the value being written, and
avoiding the write.
Thanks to Mike Smith for the implementation
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3233 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-09-04 06:39:49 +00:00
tridge60@gmail.com
cb4c53eddd
AP_Var: fixed a logic bug in APVar::key()
...
We were using && instead of & for a bit check. Thanks to Mike for
spotting this!
Pair-Programmed-With: Mike Smith
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3232 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-09-04 06:39:40 +00:00
tridge60@gmail.com
442e7ddc49
AP_Var: fill all of EEPROM with 0xFF on erase_all()
...
This wipes all parameter values, and also clears out any waypoints as
the waypoint format could have changed between firmware revisions.
This also ensures that the AP_Var code can't re-use any key values
from the old EEPROM state, which makes us less dependent on the old
EEPROM being in a good state
Pair-Programmed-With: Mike Smith
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3231 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-09-04 06:39:28 +00:00