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

4043 Commits

Author SHA1 Message Date
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
James Cotton
056db1cdda Merge branch 'bugfix-flight' into next 2011-07-24 07:09:42 +09:00
James Whitlock
6a6ec41809 Build fixes 2011-07-23 22:10:17 +01:00
Mike Smith
480f07a264 Typo fix. 2011-07-23 13:58:56 -07:00
Mike Smith
a89092e275 Update to use the delay API to get entropy rather than reading the timer directly. 2011-07-23 13:53:42 -07:00
Mike Smith
0df3bb2c37 Restore functions lost due to inept merging, and refactor to take advantage of them.
Address the following review feedback items:
 - use stdint types
 - avoid the use of magic numbers (define CYCCNTENA)
 - remove expository comment about sneakiness and corresponding code, replace with something simpler based on the API
 - remove commented/#if 0 code
2011-07-23 13:53:16 -07:00
Mike Smith
dae4b44100 Remove commented code that refers to the now-obsolete PIOS_DELAY_TIMER 2011-07-23 13:49:36 -07:00
Mike Smith
c3267a3b53 Remove PIOS_DELAY_TIMER definitions from configuration files, as there is no longer a delay timer to configure. 2011-07-23 13:48:40 -07:00
James Whitlock
11c568ec50 Add in a PPM input frame size tracker.
Move update of capture values to start of new frame.
Fix an issue with setting channels to invalid.
2011-07-23 01:38:51 +01:00
James Whitlock
7a58b4cceb A quick clean of ppm code to remove white space and duplicated comments 2011-07-23 01:32:57 +01:00
Oleg Semyonov
af309557e4 gcs: (windows) do not install GCS language files until they're translated properly
Currently the GCS code is too agile to track few translations.
So they are disabled at the moment (except qt own language files).
2011-07-22 22:24:48 +03:00
Oleg Semyonov
400e07bbd1 gcs: change fw date format to match the fw info and GCS version strings
Use UTC time of last commit instead of local time of PC.
Use the same date/time string "YYYYMMDD HH:MM" as GCS uses in About dialog.
2011-07-22 21:29:59 +03:00
James Cotton
abee34e551 Getting posix simulation compatible with init and receiver changes 2011-07-22 07:50:06 -05:00
Oleg Semyonov
fe6c286b56 Merge branch 'master' into next 2011-07-22 12:36:20 +03:00
Mike Smith
6bc5339015 Change the pios_delay implementation to use the CPU cycle counter rather than burning a timer. 2011-07-21 23:21:26 -07:00
Stacey Sheldon
a7cce25252 usart: fix lower usarts clobbering higher ones
The break statements are clearly missing from this
switch statement.

This would lead to problems when using more than one
USART on CC.
2011-07-22 00:30:49 -04:00
zedamota
05f6904e09 Fix tab order. Switch to using unum for tabs. 2011-07-21 15:35:59 +01:00
Oleg Semyonov
75233577dc gcs: add new menu option for exporting current UAV data objects
This menu option is useful for technical support. It exports all
current UAV data objects to the XML, similar to settings. This data
can't be imported (it is useless), but can be published or passed to
the tech support for troubleshooting.
2011-07-21 16:51:47 +03:00
dankers
b2b4bcc474 Add Spektrum Sat adapter 2011-07-21 15:22:18 +10:00
Stacey Sheldon
22110c4c60 build: Switch to GCC 4.5.2 2011-07-20 00:42:51 -04:00
James Whitlock
7ce5daef8f Clean up of PPM code in master. 2011-07-19 20:46:24 -04:00
James Cotton
7c726f231a Added a history file to track major feature merges. Obviously not a complete
summary of all changes.
2011-07-19 10:33:57 -05:00
zedamota
3bf7dbd7e5 Added new hw config tab to the config gadget.
Created new helper class for update/save buttons which creates a visual feedback of the op result.
2011-07-19 14:50:42 +01:00
James Cotton
eaf08ba6d3 Merge branch 'master' of ssh://git.openpilot.org/OpenPilot 2011-07-18 10:41:51 -05:00
James Cotton
7153607b87 Reenable the receiver type input now that it is required. 2011-07-18 10:40:35 -05:00
Stacey Sheldon
8dbace5ee2 Merge branch 'rcvr_mem_reduction'
Conflicts:
	flight/PiOS/STM32F10x/link_STM32103CB_CC_Rev1_sections.ld
2011-07-17 17:14:40 -04:00
James Cotton
efb2f315be Small bug where a field was still referenced but didn't exist in UI. 2011-07-17 02:19:58 -05:00
James Cotton
7081bb926b Group calibration items in UI as well 2011-07-16 11:16:47 -05:00
James Cotton
8f53ed2fc4 Group the axis limimts in the stabilization settings. 2011-07-16 11:07:30 -05:00
James Cotton
70943faec2 OP-550 UI Changes to make all fonts consistent in config gadget. Drop in the
bucket.
2011-07-16 03:26:36 -05:00
James Cotton
2da65014c7 Fix typo in servo doxygen header 2011-07-16 03:25:33 -05:00
James Cotton
a9c873dafa Merge branch 'master' of ssh://git.openpilot.org/OpenPilot 2011-07-15 19:10:56 -05:00
James Cotton
14370b5ac4 Reenable serial telemetry on OP main board 2011-07-15 19:10:00 -05:00
dankers
9cdd8e897b Add Mat's Vtail-4 Milestone 2011-07-16 09:48:03 +10:00
James Cotton
b83f731c03 Remove all references to vTaskDelay in the flash code as it can run before the
FreeRTOS scheduler

Also increaes init stack size from 0x80 to 0x100
2011-07-15 18:16:16 -05:00
James Cotton
01b62cf98f Fix a typo 2011-07-15 15:30:10 -05:00
James Cotton
72e80d407c Change the magic value in the object file table. Forces all objects to be
erased since all ids are changing - this frees up memory.
2011-07-15 11:11:29 -05:00
James Cotton
2ab57910ce Make object IDs depend on the names of any enums so if field names change then
bad settings won't be picked up.
2011-07-15 11:08:47 -05:00
James Cotton
d41260d54c Make the stabilization settings query correctly now by increasing the TX buffer
on the CC side to 256 bytes instead of 128 to support large objects (max object
size is 256 bytes)
2011-07-15 10:40:21 -05:00