1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-03 11:24:10 +01:00
Commit Graph

3868 Commits

Author SHA1 Message Date
James Cotton
8be9ac9cc9 PiOS: Move driver out of common directory since it makes calls to configure the
EXTI system.
2011-08-09 12:51:26 -05:00
James Cotton
d78450eae8 Move some of the F2 defines into the makefile to make them global. Fixes some
issues with grabbing the wrong stm32 configuration file.
2011-08-09 01:19:05 -05:00
James Cotton
27213c7fd9 F2 PiOS USART: Update to the new driver format for coms 2011-08-09 01:18:25 -05:00
James Cotton
d23e13716b dos2unix: fifo_buffer 2011-08-08 08:37:14 -05:00
James Cotton
479ba7c21f OP-378 INS: Continue getting F2 INS to compile 2011-08-08 08:36:40 -05:00
James Cotton
558bdddeaf INS: Almost got Bootloader compiling *sigh* 2011-08-06 21:27:29 -05:00
James Cotton
a0d77faf4b PiOS: Move pios_iap out of common. It is STM32F1x specific. Created an
STM32F2xx stub version.  This needs cleaning up - there is some common code,
most of which can probably move to the bl_helper function.
2011-08-06 20:24:07 -05:00
James Cotton
f23ec059fe dos2unix 2011-08-06 19:53:46 -05:00
James Cotton
1ccb9a1947 Some changes to BL to get running on F2. Also disables it for now (flash
interface is different).
2011-08-06 19:46:41 -05:00
James Cotton
d1c9ac0705 PiOS F2: Commit the F2 port of PiOS from Zippe. Thanks for doing all the hard
work man :-D
2011-08-06 19:36:56 -05:00
James Cotton
7720f9ff09 Add F2 support for the new OpenOCD for newer targets. Requires compiling
OpenOCD from repo.
2011-08-06 18:21:21 -05:00
James Cotton
0bba13a0e9 Merge branch 'next' into ins
Conflicts:
	flight/INS/Makefile
	flight/INS/pios_board.c
	flight/Modules/Altitude/altitude.c
	flight/PiOS/Boards/STM3210E_INS.h
	flight/PiOS/STM32F10x/link_STM3210E_INS_BL_sections.ld
	flight/PiOS/STM32F10x/link_STM3210E_INS_HD_BL.ld
	flight/PiOS/STM32F10x/link_STM3210E_INS_HD_NB.ld
	flight/PiOS/STM32F10x/link_STM3210E_INS_memory.ld
	flight/PiOS/STM32F10x/link_STM3210E_INS_sections.ld
	flight/Project/OpenPilotOSX/OpenPilotOSX.xcodeproj/project.pbxproj
2011-08-06 17:25:56 -05:00
Oleg Semyonov
d30c939c46 Merge remote branches 'origin/PeterG/OP-455_win7_log_file_dialog' and 'origin/PeterG/OP-549_GCS_reversed_dials' into next 2011-08-06 21:56:16 +03:00
James Cotton
218438e6f8 CCPM Mixer: Field names should not be translated. This would break heli
support in non-english languages :)
2011-08-05 18:51:01 -05:00
James Cotton
faca2e9651 CCPMConfig: Convert requestCCPMUpdate function to using the static accessor
method for UAVObjects.  This fixes a run time bug on OSX.
2011-08-05 18:29:34 -05:00
Peter Gunnarsson
12ba6addb0 Fix for OP-549 reversed dials by Dmitry Zaitsev 2011-08-05 15:33:45 +02:00
Peter Gunnarsson
11d5d0b6d1 Fix for OP-455 2011-08-05 12:22:08 +02:00
James Cotton
beabbcaab5 OSX Packaging: Go back to release configuration for build 2011-08-04 20:54:59 -05:00
James Cotton
041d713045 OSX Packaging: Make the base package file bigger but then resize after copying 2011-08-04 19:03:55 -05:00
James Cotton
7d8842e9a0 OSX Packaging: Also need to include QtTest for debug build 2011-08-04 18:07:52 -05:00
James Cotton
863db897e6 Make OSX build in debug configuration for now and also copy HISTORY.txt to the
package.
2011-08-04 15:25:11 -05:00
James Cotton
76b833e409 Change the OSX packaging to grab the correct Qt path 2011-08-04 13:15:41 -05:00
James Cotton
bac7836318 Revert "uavobj: shrink metadata struct to save RAM". I was premature merging
this to next as it changes the on-the-wire representation and thus doesn't
allow GCS to set the metadata.

This reverts commit a641cd7956.
2011-08-04 07:17:36 -05:00
James Cotton
8697a7f785 Merge remote-tracking branch 'origin/stac/uavobjects-go-on-a-diet' into next 2011-08-04 07:02:52 -05:00
Oleg Semyonov
6e5e807691 Windows installer: add HISTORY.txt and web links to the Start menu 2011-08-04 12:51:05 +03:00
Oleg Semyonov
8ad65f6583 Convert HISTORY.txt file to DOS format (readable on all platforms) 2011-08-04 11:23:00 +03:00
Stacey Sheldon
a641cd7956 uavobj: shrink metadata struct to save RAM
This update saves 448 bytes of RAM with the current
crop of UAVObjects.  It reduces a 19 byte struct to
8 bytes.

Note: This also introduces a limit of 65.534s for the
update periods.
2011-08-03 00:00:50 -04:00
Oleg Semyonov
9a882811a2 packaging: put only CC firmware into the distributable package
All firmware still will be built, but only CC firmware is packaged
to prevent abuse of bootloader updaters etc.
2011-08-01 12:40:45 +03:00
Stacey Sheldon
2f79e4fa76 Merge remote branch 'origin/stac/refactor-usart-com' into next 2011-07-31 09:41:06 -04:00
Stacey Sheldon
6b1ec9a54e bl: fix LED pwm computation with new stopwatch 2011-07-30 16:59:57 -04:00
Oleg Semyonov
76b4407d04 Update history.txt file (PPM receiver support) 2011-07-30 15:39:39 +03:00
Stacey Sheldon
8c0b60099f rcvr: don't init spektrum and sbus rcvrs twice 2011-07-29 22:59:50 -04:00
Stacey Sheldon
c2fb0d8b43 com: allow run-time allocation of buffers 2011-07-29 15:33:14 -04:00
Stacey Sheldon
8b0415d905 bl: alternate stopwatch for small bootloaders
The small bootloaders (CC and PipX) are out of flash space
so their stopwatch implementation has been swapped out for
one based on the DELAY clock that takes about 500 bytes less
of code space.

Identical functionality is preserved.
2011-07-29 15:33:01 -04:00
Stacey Sheldon
13f9b0e09d Merge remote branch 'origin/OP-498_jwhitlock_add-ppm-to-cc' into next 2011-07-28 22:15:01 -04:00
Oleg Semyonov
921905bd8c gcs: some cosmetic ui form changes
Receiver message font made the same as for other info messages.
Changed few label alignments.
2011-07-28 23:28:59 +03:00
Oleg Semyonov
ad339d32a6 gcs: some cosmetic ui text changes 2011-07-28 23:26:07 +03:00
James Cotton
9840f12658 Disable ModelView on QT 4.8 until fixed. 2011-07-28 18:59:55 +09:00
James Cotton
f2e04f78b7 Change to GLC Lib to make it compile on OSX with QT 4.8.0. This might be
required for all OS's with 4.8.0
2011-07-28 18:08:22 +09:00
Stacey Sheldon
a3888ecd48 usart: ensure callbacks are bound in the correct order 2011-07-27 23:21:39 -04:00
Stacey Sheldon
5f8760a55c com: Move buffering out of USART/HID layer and into COM layer
This allows the spektrum and sbus receiver drivers to bind
directly to the usart layer using a properly exported API
rather than overriding the interrupt handler.

Bytes are now pushed directly from the usart layer into the
com layer without any buffering.  The com layer performs all
of the buffering.

A further benefit from this approach is that we can put all
blocking/non-blocking behaviour into the COM layer and not
in the underlying drivers.

Misc related changes:
 - Remove obsolete .handler field from irq configs
 - Adapt all users of PIOS_COM_* functions to new API
 - Fixup callers of PIOS_USB_HID_Init()
2011-07-27 19:45:38 -04:00
zedamota
c7cf52be39 Added embedded and gcs version info to exported uavobjects file. 2011-07-27 19:39:08 +01:00
James
60136f0464 Add support for PPM transmitters up to 12 channels. Small array indexing issue in PIOS_PPM_Get. 2011-07-27 00:33:32 +01:00
zedamota
69083ee618 Merge remote-tracking branch 'remotes/origin/GCS_ChangesToUI-RuntimeCFG' into next
Conflicts:
	ground/openpilotgcs/src/plugins/config/configinputwidget.cpp
	ground/openpilotgcs/src/plugins/config/input.ui
2011-07-26 21:44:59 +01:00
zedamota
b9f1532598 Refractured the Airframe config widget.
Corrected some language mistakes.
2011-07-26 20:35:38 +01:00
Stacey Sheldon
b70d5ae148 Merge remote branch 'origin/msmith-delay-timer' into next 2011-07-26 09:04:06 -04:00
Mike Smith
df5569c758 Fix a stupid off-by-one that prevented this code from working.
Update to use 32-bit microsecond values.

Remove PIOS_DELAY_DiffuS per consensus (caller can do it easily themselves).

Update the core delay logic per Stac's suggestion to a version that is
resistant to various overflows.
2011-07-25 20:55:48 -07:00
zedamota
79404ab80e Moved input type to hw config tab.
Created error message for unsupported configs.
2011-07-25 23:18:41 +01:00
zedamota
4dc5e7ea65 Fixed included file case.
Changed "throttle curve 1/2" to "curve 1/2".
2011-07-25 14:18:09 +01:00
zedamota
ba8985721c Fix for bluetooth modules hanging. Turns out certain HW don't implement the EV_TXEMPTY system event. Hack was to create a timer which triggers a fake event every 10secs. It checks the bytestosend value so it shouldn't have any effect on full compliant HW. 2011-07-25 00:43:48 +01:00