1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-02 10:24:11 +01:00
LibrePilot/flight/PipXtreme
Stacey Sheldon dbf7574946 bootcfg: use UAVobj to control boot-time HW config
This should mark an end to the compile-time selection of HW
configurations.

Minor changes in board initialization for all platforms:
 - Most config structs are marked static to prevent badly written
   drivers from directly referring to config data.
 - Adapt to changes in .irq fields in config data.
 - Adapt to changes in USART IRQ handling.

Major changes in board initialization for CC:
 - Use HwSettings UAVObj to decide which drivers to attach to
   the "main" port and the flexi port, and select the appropriate
   device configuration data.
 - HwSettings allows choosing between Disabled, Telemetry, SBUS,
   Spektrum,GPS, and I2C for each of the two ports.
 - Use ManualControlSettings.InputMode to init/configure the
   appropriate receiver module, and register its available rx channels
   with the PIOS_RCVR layer.  Can choose between PWM, Spektrum and PPM
   at board init time.  PPM driver is broken, and SBUS will work once
   it is added to this UAVObj as an option.
 - CC build now includes code for SBUS, Spektrum and PWM receivers in
   every firmware image.

PIOS_USART driver:
 - Now handles its own low-level IRQs internally
 - If NULL upper-level IRQ handler is bound in at board init time
   then rx/tx is satisfied by internal PIOS_USART buffered IO routines
   which are (typically) attached to the COM layer.
 - If an alternate upper-level IRQ handler is bound in at board init
   then that handler is called and expected to clear down the USART
   IRQ sources.  This is used by Spektrum and SBUS drivers.

PIOS_SBUS and PIOS_SPEKTRUM drivers:
 - Improved data/API hiding
 - No longer assume they know where their config data is stored which
   allows for boot-time alternate configurations for the driver.
 - Now registers an upper-level IRQ handlerwith the USART layer to
   decouple the driver from which USART it is actually attached to.
2011-07-05 22:03:25 -04:00
..
inc OP-339 Update PipXtreme PID too. 2011-03-09 18:07:58 +00:00
reserved pipx: COM device ids are now 32bit not 8bit 2011-02-13 15:54:26 +00:00
aes.c PipX modem full source code moved into public SVN. 2011-01-13 08:45:18 +00:00
api_config.c Various minor changes to do with switch modem mode on the fly but mainly PPM Input decoder (with error/noise detection) is now working 2011-03-06 18:52:18 +00:00
crc.c Code added to allow GCS to configure modem. Not yet finished - modem needs rebooting after uploading new config - for the time being. 2011-02-01 23:40:40 +00:00
gpio_in.c Added some files to the PipXtreme folder. 2010-10-13 07:49:05 +00:00
main.c Rewrote PipX's PPM input decoder to do away with supervisor timer/monitor. 2011-03-09 17:36:11 +00:00
Makefile build: change firmware files from .opf to .opfw extensions 2011-05-25 00:20:02 -04:00
packet_handler.c Various minor changes to do with switch modem mode on the fly but mainly PPM Input decoder (with error/noise detection) is now working 2011-03-06 18:52:18 +00:00
pios_board.c bootcfg: use UAVobj to control boot-time HW config 2011-07-05 22:03:25 -04:00
pios_usb_hid_desc.c PipX modem full source code moved into public SVN. 2011-01-13 08:45:18 +00:00
ppm.c Rewrote PipX's PPM input decoder to do away with supervisor timer/monitor. 2011-03-09 17:36:11 +00:00
rfm22b.c Various minor changes to do with switch modem mode on the fly but mainly PPM Input decoder (with error/noise detection) is now working 2011-03-06 18:52:18 +00:00
saved_settings.c Added "Ready-To-Send-Time" parameter adjustment 2011-02-15 12:57:46 +00:00
stopwatch.c Added some files to the PipXtreme folder. 2010-10-13 07:49:05 +00:00
stream.c Various minor changes to do with switch modem mode on the fly but mainly PPM Input decoder (with error/noise detection) is now working 2011-03-06 18:52:18 +00:00
transparent_comms.c Updated spectrum scanning code. 2011-02-23 09:30:06 +00:00
watchdog.c removed pios_board.h 2011-01-13 19:22:54 +00:00