Initial omnibusf4sd target support

Flight tested: ekf2 w/ mag and compass by @nathantsoi: https://logs.px4.io/plot_app?log=79b81031-cf1e-41f0-890b-d6cd7d559766

NOTE: external I2C devices need a pullup. I have tested with a 3.3v 2.2k pullup.

Working:
 - mpu6000, bench tested and verified via nsh
 - fmu
 - all 6 ch output bench tested w/ pwm and oneshot via nsh
 - ppm input bench tested
 - dsm input bench tested
 - bmp280, bench tested and verified via nsh
 - hmc5883, bench tested and verified via nsh, but requires an external i2c pullup
 - gps on uart6
 - startuplog, nsh, mavlink on uart4, but params are not sent for some reason. RSSI pin is TX, MOTOR 5 is RX (normal mode, 57600 baud)
 - rgbled over i2c, bench tested and workingp
 - sbus via the shared sbus/ppm pin (which includes an inverter to the mcu SBUS in pin), remove the solder bridge or jumper to the ppm pin before use

Not yet implemented:
  - ADC
  - OSD: passthrough video is untested, use at your own risk until a basic driver is implemented.
This commit is contained in:
nathan
2018-05-20 11:54:17 +02:00
committed by Lorenz Meier
parent eb6086cc39
commit f754d092f8
20 changed files with 3850 additions and 11 deletions
+2
View File
@@ -1144,7 +1144,9 @@ void PX4FMU::set_rc_scan_state(RC_SCAN newState)
void PX4FMU::rc_io_invert(bool invert)
{
#ifdef INVERT_RC_INPUT
INVERT_RC_INPUT(invert);
#endif
}
#endif