James Cotton
d140d9c1fc
Fix from Ivan for BootloaderUpdater not building with 4.5.1
2011-05-10 02:11:34 -05:00
James Cotton
808e3c8ea2
Fix bug I made where guidance didn't look at new flight status object
2011-05-09 11:37:06 -05:00
James Cotton
fb8417a0ff
Merge remote-tracking branch 'origin/op_475_476_calibrate_during_arming'
2011-05-09 09:23:16 -05:00
Stacey Sheldon
b2b1c184de
stopwatch: Add support for timers 5-8
...
This fixes the OP bootloader getting stuck in the
bootloader forever when USB is plugged in.
This also fails hard on being passed an unsupported
timer value so that this can be caught more easily
in the future.
2011-05-08 12:41:02 -04:00
Stacey Sheldon
965867de7a
gdb: add config file for coptercontrol bootloader
2011-05-08 12:40:29 -04:00
Stacey Sheldon
29ec2f198b
build: convert all app loads to require bootloaders
...
This change is made up of a number of tightly coupled
changes:
- Deprecate the use of the USE_BOOTLOADER command-line
option. It is now hard-coded in each Makefile.
Overriding it on the command line is not allowed.
- Split apart the memory declaration and the section
declaration in all linker files (*_memory.ld and
*_sections.ld).
- Describe the split between bootloader and app sections
of flash in each board's _memory.ld file.
- Change program target to selectively erase flash so
that the installed bootloader is preserved across even
JTAG programming operations.
- All elf files are built with debug symbols and are not
stripped. This should help debugging with gdb. The
images programmed on the boards are all .bin files now
which do not include symbols.
2011-05-08 12:40:29 -04:00
Stacey Sheldon
465034cf94
bootloaders: always build with debug symbols enabled
...
This makes it easier to use gdb to debug issues. This does
not change the -O flags, only makes -g always on and does
not strip the .elf files.
2011-05-08 12:40:28 -04:00
Stacey Sheldon
18ea93119f
build: Add support for BL_Updaters to top-level makefile
...
New targets:
- make blupd_all_clean
- make blupd_all
- make blupd_openpilot
- make blupd_ahrs
- make blupd_coptercontrol
- make blupd_pipxtreme
These targets are also included in the 'all_flight' target.
2011-05-08 12:40:28 -04:00
Stacey Sheldon
2301600f11
Make missing definitions for essential macros more obvious
2011-05-07 18:05:50 -04:00
Stacey Sheldon
7e99419c8a
build: Add support for %.bin.o generation
...
The .bin.o rule places the contents of a raw .bin file
into an .o file wrapped within fixed symbols for start
and end. This can be used to embed a binary file inside
of an executable.
The symbols for the embedded binary blob are:
_binary_start
_binary_end
_binary_size
NOTE: The way the .bin.o rule is currently written, you
can only embed one binary blob in an executable since the
symbol names will collide if you add multiple blobs. This
limitation is easily removed later if necessary.
2011-05-07 18:05:50 -04:00
Stacey Sheldon
58a2c71532
line-end changes only
2011-05-07 18:05:50 -04:00
James Cotton
4ec0263dfc
OP-476: If AttitudeSettings.ZeroDuringArming is true, then while arming (1
...
second) it will speed up the estimate of gyro bias.
2011-05-07 15:29:21 -05:00
James Cotton
8e06eb3162
Get the "IDLE_NO_LOAD" level closer for CC with optimizations on, but it would
...
be great if someone actually calibrated this for me!
2011-05-07 15:07:14 -05:00
James Cotton
10e55c25bc
OP-475: More changes to get the FlightStatus object to work for Armed and
...
FlightMode
2011-05-07 15:06:04 -05:00
James Cotton
80c839d5bb
OP-475: Starting to use the new FlightStatus object
2011-05-07 13:17:21 -05:00
James Cotton
ae841d57cb
OP-475: New FlightStatus object. Removed from ManualControlCommand. Won't
...
build yet.
2011-05-07 12:45:35 -05:00
James Cotton
e2819c6815
Restructure the ManualControlCommand code to be much more readable. Also
...
facilitates the new FlightMode object.
2011-05-07 12:43:27 -05:00
James Cotton
d1fb254a41
Merge branch 'master' into bugfix-flight
2011-05-07 06:56:54 -05:00
James Cotton
d3247c9946
Remove unused code from coptercontrol.c
2011-05-07 06:56:20 -05:00
James Cotton
fef1e2dc2e
Merge remote-tracking branch 'origin/OP-174_Sambas_BaroAlt_to_ETOSD'
2011-05-07 04:41:13 -05:00
Corvus Corax
5f749dda7e
Modules/ManualControl: bugfix GCS Control was broken due to connection state and arming being checked outside of the "object_writable()? {}" if clause
2011-05-06 01:26:34 +02:00
Corvus Corax
39a9087c98
Merge branch 'master' into bugfix-flight
2011-05-06 00:29:31 +02:00
James Cotton
7e418866be
Update the AttitudeSetting object to make the board rotation more human
...
readable and update the GCS fields appropriately.
2011-05-05 13:04:56 -05:00
Corvus Corax
59dd0637a3
PiOS_posix: Add support for pios_debug API, to allow building of GPS module in x86 environment
2011-05-05 14:57:30 +02:00
James Cotton
dd36192e37
Merge branch 'bugfix-flight'
2011-05-05 00:36:55 -05:00
James Cotton
93d8449814
OP-474: When throttle < 0 and "spin while armed" mode enabled don't take into
...
account stabilization or stick - stay at neutral
2011-05-05 00:32:15 -05:00
James Cotton
21a71e5294
Merge branch 'master' into spin_while_armed
...
Added back the "Spin arming" button to output panel and made it work
Conflicts:
ground/openpilotgcs/src/plugins/config/configoutputwidget.cpp
ground/openpilotgcs/src/plugins/config/output.ui
2011-05-05 00:23:51 -05:00
James Cotton
05684e966b
OP-470: Make arm/disarm threshold 50% instead of 90%
2011-05-04 22:53:00 -05:00
James Cotton
7e98bb42c9
OP-462: Patch from OS to override the debug flag for bootloaders
2011-05-03 12:54:11 -05:00
James Cotton
401a989c63
OP-474: Add option to ActuatorSettings to allow people to request their propellers always spin an neutral when armed (I don't recommend this).
2011-05-03 00:08:39 -05:00
James Cotton
9daca1ac41
OP-469: Wasn't paying attention and missed a line
2011-05-02 22:22:57 -05:00
James Cotton
2e552f767e
OP-469: Wasn't paying attention and missed a line
2011-05-02 22:22:16 -05:00
Corvus Corax
8d8144f233
OP-441 Prevent double alarm set ( setFailsafe() already sets alarm to CRITICAL )
2011-05-02 18:00:12 +02:00
James Cotton
9afedc0139
OP-469: Fix a bug I wrote where MaximumRate instead of ManualRate was used to
...
scale sticks in rate mode.
2011-05-02 04:33:32 -05:00
James Cotton
d9221fac06
Merge remote-tracking branch 'origin/OP-452_InputConfiguration'
2011-05-02 03:40:59 -05:00
James Cotton
1f36e00287
Merge remote-tracking branch 'origin/OP_442_OP_437_PT_Dreamer'
2011-05-02 03:34:09 -05:00
David Carlson
341dbd7ad9
Change blink rate to Hz rather than 1/2 Hz. As per comments in review OPReview-18.
2011-05-02 00:50:42 -07:00
David Buzz Carlson
edd5ad8a78
Update Stat LED blink rate when armed to 5 Hz from its current 1 Hz. This allows a more drastic change in LED behavior to highlight that the aircraft WILL NOW CUT YOUR FINGER OFF IF YOU DON'T RESPECT IT!!
2011-05-02 00:50:42 -07:00
David Buzz Carlson
c93ab7e723
Change CC, OP MB, and AHRS to use bootloader by default.
...
Also change AttitudeActual to update at 10Hz rather than 2 Hz. The increased bandwidth is minimal and the resulting "polish" that it adds to the look-and-feel of the GCS is signifcant.
2011-05-02 00:50:42 -07:00
zedamota
5dd8a3eea2
Fix a silly mistake on the CC erase_flash compile flag.
2011-05-01 20:10:27 +01:00
elafargue
6b00ed3866
NACKs implemented on both ground and flight side, connect time goes under a few seconds now.
2011-04-30 19:32:42 +02:00
zedamota
3d209f2166
Fix to erase option. Erase must be performed after board initialization.
2011-04-30 14:17:44 +01:00
James Cotton
62e3d35a97
OP-452 Read the channel times even if a bad mixer is configured
2011-04-29 17:57:04 -05:00
zedamota
8dd46e1465
Should fix the CC showing as OP.
...
Added a compile flag to make a CC fw version that will erase flash.
Signed-off-by: zedamota <josembarros@hotmail.com>
2011-04-29 23:38:26 +01:00
zedamota
6172e45c0d
Should fix CopterControl showing as Openpilot on DropDown box.
2011-04-29 21:42:59 +01:00
zedamota
1cc152b4dd
More cleaning, moved stopwatch files to library folder, code formatting.
2011-04-29 20:48:13 +01:00
zedamota
3132de4e48
Fixes download being slow issue. Made some cleaning also
2011-04-29 19:22:21 +01:00
Sambas
2413fd451f
OP-174 ET OSD: barometric altitude works now, units must be set metric with E-Logger
2011-04-29 19:08:28 +03:00
James Cotton
5f776f0b58
Merge branch 'master' into OP-439_CorvusCorax_Bootloader-Makefile-and-OpenOCD-config-for-Linux
2011-04-27 23:41:35 -05:00
James Cotton
819bc9d441
Merge branch 'master' into OP-430_Ligi_UAVTalk-Code-Review
2011-04-26 12:49:32 -05:00