1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-02 10:24:11 +01:00
LibrePilot/flight/CopterControl/System/inc
Oleg Semyonov 50e819192b usart: make CC USART ports compile-time configurable
TODO: This should be dynamic in the future.
But for now define any compatile combination of:
   USE_I2C (shared with USART3)
   USE_TELEMETRY
   USE_GPS
   USE_SPEKTRUM
   USE_SBUS (USART1 only, it needs an invertor)
and optionally define PIOS_PORT_* to USART port numbers

Defaults are:

#define PIOS_PORT_TELEMETRY 1
#define PIOS_PORT_GPS       3
#define PIOS_PORT_SPEKTRUM  3
#define PIOS_PORT_SBUS      1

#define USE_TELEMETRY
#define USE_GPS

Telemetry, GPS and PWM input are enabled by default.
2011-06-15 22:37:44 +03:00
..
alarms.h OP-265 Flight reorganization of UAVObjects and Modules up a directory 2011-01-14 01:38:19 +00:00
FreeRTOSConfig.h CC-1 Bigger oversampling window for CC sensor data 2011-02-01 02:18:31 +00:00
op_config.h OP-265 Flight reorganization of UAVObjects and Modules up a directory 2011-01-14 01:38:19 +00:00
openpilot.h OP-265 Flight reorganization of UAVObjects and Modules up a directory 2011-01-14 01:38:19 +00:00
pios_board_posix.h OP-265 Flight reorganization of UAVObjects and Modules up a directory 2011-01-14 01:38:19 +00:00
pios_config_posix.h Delete hardcoded min and max servo PWM times, they weren't used. Use the 2011-02-01 21:04:58 +00:00
pios_config.h usart: make CC USART ports compile-time configurable 2011-06-15 22:37:44 +03:00
pios_usb_hid_desc.h Should fix the CC showing as OP. 2011-04-29 23:38:26 +01:00
pios_usb.h OP-339 Update USB descriptors on CopterControl and OpenPilot to reflect the new convention. 2011-03-09 07:21:01 +00:00
taskmonitor.h OP-265 Flight reorganization of UAVObjects and Modules up a directory 2011-01-14 01:38:19 +00:00