Andrew Tridgell
089db43183
show group_element too
13 years ago
Andrew Tridgell
ea6a46fc9b
AP_Param: added eeprom_aaparam.c dump utility
13 years ago
Andrew Tridgell
601a991a46
added SITL_debug() macro
...
this can be used to print a message into the logs in the SITL
simulator. This will be used for critical conditions.
13 years ago
Andrew Tridgell
be5ffdedbb
AP_Param: allow dumping of AP_Vector3f
...
this means the 'show' command in the CLI shows the compass offsets now
13 years ago
Andrew Tridgell
74bbc72b11
move AP_Var code and example into libraries/AP_Var
...
you can use AP_Var by defining USE_AP_VAR
13 years ago
Andrew Tridgell
d55a0c3a71
added AP_Param::show_all()
...
this moves the logic into common code
13 years ago
Andrew Tridgell
9175ebe33a
change back to 256 max variables in _var_info[]
...
this keeps the header to 24 bits, and allows the token to be 16
bits. If we need more variables we can put them in a nested group.
13 years ago
Andrew Tridgell
f2a6a31645
AP_Param: added group idx, and change packing of header elements
...
adding a idx element to the GroupInfo will make it less likely that a
developer will change the IDs of group elements, and make it easier to
see that these IDs are important for identifying a variable in EEPROM
The header packing has changed to make it 24 bits on all platforms,
which allows us to lower the EEPROM variable max size to 1024 bytes
again
13 years ago
Andrew Tridgell
678a1df3be
fixed support for AP_PARAM_SPARE
...
spare group elements are needed if we remove a group parameter
13 years ago
Andrew Tridgell
accaf9bb30
fixed build on arduino 1.0
13 years ago
Andrew Tridgell
5418302b38
AP_Param: fixed desktop build
13 years ago
Andrew Tridgell
95e107ab75
AP_Param: added generic cast_to_float
13 years ago
Andrew Tridgell
9509c69f42
AP_Param: disable debug ready for production
13 years ago
Andrew Tridgell
5d03f13aa5
AP_Param: make ptype in first() and next() optional
13 years ago
Andrew Tridgell
e8c4ecf9fa
added nested group support and validation
13 years ago
Andrew Tridgell
94a86204ee
added size of Vector6f
13 years ago
Andrew Tridgell
497a400841
hacks to get AP_Param to compile
13 years ago
Andrew Tridgell
5b842a447f
new AP_Param subsystem
13 years ago
Randy Mackay
ed19c25a97
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).
13 years ago
Mike Smith
9c5a776456
Teach the Makefile about the new Arduino sourcefile suffix
13 years ago
Jason Short
e2830ca147
fixed type error
13 years ago
Michael Oborne
92886cfa10
make file relax
13 years ago
Michael Oborne
f4b7aea1ee
add relax
13 years ago
Doug Weibel
997ddde7f5
Added back the feature to prompt users when an invalid CLI command is entered.
...
Thanks to Yury Smirnov for this patch!
13 years ago
Andrew Tridgell
0da5125b7f
upload: force hex file format for upload
...
this should fix a problem with hex file format detection on MacOS
13 years ago
Andrew Tridgell
7fa59a6849
AP_Common: added typesafe wrapper for memcpy_P()
13 years ago
Andrew Tridgell
92e0e929a4
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
13 years ago
Andrew Tridgell
6e9e857157
make configure default to 2560
...
1280 is less common for devs these days
13 years ago
Pat Hickey
a159669cee
build: added jtag-program make target
...
useful for when you have hosed your USB
13 years ago
James Goppert
7ef8578029
Separated controller block class.
...
Also improved documentation of AP_ControllerBlock.
13 years ago
Wenyao Xie
8017b0415e
Working on new hil message for mavlink.
13 years ago
Andrew Tridgell
b927e64440
desktop: fixed 2 crashes in the menu code
...
handle an empty line gracefully, and use pgm_read_pointer() for
functions pointers in progmem
13 years ago
Andrew Tridgell
d78bbb1a40
added pgm_read_pointer()
...
this will be used by the menu code to make reading pointers from
progmem portable
13 years ago
Andrew Tridgell
251cf7d87c
force LANG=C for MacOS awk
13 years ago
James Goppert
77da85648d
Clean up formatting for AP_Common
13 years ago
James Goppert
32af63f734
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.
14 years ago
Andrew Tridgell
bcb8fb1c7f
desktop: silence an implicit cast warning
14 years ago
Andrew Tridgell
0939b51a4c
added build makefiles
14 years ago
Andrew Tridgell
41dd8d60ba
use ifdef for DESKTOP_BUILD
14 years ago
Andrew Tridgell
7098e8cfa1
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
14 years ago
Andrew Tridgell
28ebca1bf6
fixed PROGMEM declaration for desktop build
14 years ago
Andrew Tridgell
bcc2aed8fb
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
14 years ago
Andrew Tridgell
00d52a8bd7
ap_common: use intptr_t for pointer casts
...
this allows building on systems with pointers that aren't 16 bits long
14 years ago
Amilcar Lucas
45950489d1
More improvements to MS Windows
...
Now the avr-gdb, avrdude and avarice tools do not need to be in the path.
14 years ago
amilcar
7a510084b1
Fix serial port on windows
14 years ago
amilcar
550deffbe8
Make it work on windows "out-of-the-box"
14 years ago
Amilcar Lucas
c37fabea66
Added a comment to the BOARD type of teh make configure output file
14 years ago
Amilcar Lucas
eaaf44e2c8
Fix Arduino version detection on some systems
14 years ago
James Goppert
0c7c508541
Optional recursion added.
14 years ago
James Goppert
9e6b47184a
Arduino version directory updated to lib/version.txt
...
Also updated cmake files.
14 years ago