1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-11-30 08:24:11 +01:00
LibrePilot/flight/OpenPilot/System
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
..
inc Getting posix simulation compatible with init and receiver changes 2011-07-22 07:50:06 -05:00
alarms.c do not force telemetry update when alarm is changed - this was bypassing the MetaData of the UAVObject and seem to be a relict from times where no metadata existed - now doing it the MetaData way with onchange as updatemode - see http://forums.openpilot.org/topic/4208-systemalarms-bypassing-updatemode-from-metadata/ and OP-431 2011-04-24 03:43:05 +02:00
openpilot.c OP-423: Clean startup and add weak function call for stack swap. 2011-07-03 12:43:38 -07:00
pios_board_posix.c Getting posix simulation compatible with init and receiver changes 2011-07-22 07:50:06 -05:00
pios_board.c com: Move buffering out of USART/HID layer and into COM layer 2011-07-27 19:45:38 -04:00
taskmonitor.c Patch from Zippe to use cycle timer for CPU monitoring. 2011-06-13 00:24:30 -05:00