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

390 Commits

Author SHA1 Message Date
Vladimir Zidar
2e1b3f9086 LP-512 [bmp280] Added driver 2017-05-25 22:08:32 +02:00
Vladimir Zidar
5435dbd464 LP-512 Initial F3 support 2017-05-25 22:08:16 +02:00
Brian Webb
704b1f073a Merged in webbbn/librepilot/LP-511-port-uavofrskysensorhubbridge (pull request #422)
Frsky sensor hub telemetry

Approved-by: Philippe Renon <philippe_renon@yahoo.fr>
Approved-by: Lalanne Laurent <f5soh@free.fr>
Approved-by: Vladimir Zidar <mr_w@mindnever.org>
Approved-by: Brian Webb <webbbn@gmail.com>
2017-05-25 12:11:21 +00:00
Vladimir Zidar
fc6f426e2c LP-519 F1: Manage GPIO_Mode from pios_servo.c to allow universal timer pin configuration with TIM_SERVO_CHANNEL_CONFIG() macro. 2017-05-18 12:42:33 +02:00
Brian Webb
ff2504c61f Adds a port of the Tau Labs/dRonin FrSKY Sensor Hub module. 2017-05-17 19:45:40 -07:00
Vladimir Zidar
1a28929206 Merged in mindnever/librepilot/LP-480_pios_board_com_port_setup_refactoring (pull request #418)
LP-480 pios board com port setup refactoring

Approved-by: Philippe Renon <philippe_renon@yahoo.fr>
Approved-by: Lalanne Laurent <f5soh@free.fr>
Approved-by: Brian Webb <webbbn@gmail.com>
Approved-by: Vladimir Zidar <mr_w@mindnever.org>
Approved-by: Alessio Morale <alessiomorale@gmail.com>
2017-05-15 18:59:06 +00:00
Vladimir Zidar
792746f775 LP-480 DSM: do not fail to initialize driver for ports without bind capability. 2017-04-27 16:27:53 +02:00
Vladimir Zidar
ce3cba9d40 LP-479 Set lowest acceptable dshot rate to 150khz to avoid possible division by zero and unreasonably slow rates. 2017-04-26 16:57:38 +02:00
Vladimir Zidar
50fce728f8 LP-479 Addressed PR comments 2017-04-25 14:10:08 +02:00
Vladimir Zidar
1ebfb701f6 LP-479 Initial DShot implementation, F4 & F1 2017-04-25 14:10:07 +02:00
Vladimir Zidar
01f5baaed2 LP-480 Removed PIOS_BOARD_USART_Ioctl() and moved inverter handling to pios_usart directly. Handling is now conditionally built in based on PIOS_USART_INVERTER_PORT define. 2017-04-25 13:11:37 +02:00
Vladimir Zidar
3d876d7035 LP-480 Removed RadioAuxStream function from PIOS_BOARD_IO_Configure_RFM22B(), added another function to configure radioaux from hwsettings (revo & sparky2 only). 2017-04-24 16:10:18 +02:00
Vladimir Zidar
bb68ed2c5a LP-480 RevoNano USART2 sbus baud rate workaround 2017-04-24 13:04:23 +02:00
Vladimir Zidar
05ee4b8dac LP-480 Move PIOS_COM_SetHalfDuplex() functionality to IOCTL. Remove RX/TX mode and change parameter order for PIOS_COM_ChangeConfig() and com driver set_config to match the databits/parity/stopbits scheme (like for example 8N1). 2017-04-24 13:04:23 +02:00
Vladimir Zidar
280e771ded LP-480 Make PIOS_BOARD_IO_USB_[VCP|HID]_Function enums based on HWSETTINGS_USB_[HID|VCP]PORT values to allow simple type casting. 2017-04-24 13:04:22 +02:00
Vladimir Zidar
1548312823 LP-480 CopterControl will expect ADC_Init() only if board revision has analog gyro, so be prepared to get NULL from PIOS_BOARD_HW_DEFS_GetAdcCfg() 2017-04-24 13:04:21 +02:00
Vladimir Zidar
83326eaca3 LP-480 all targets build nicely. 2017-04-24 13:04:03 +02:00
Vladimir Zidar
16020c1839 LP-480 GPSplatinum pios_usart fixes. Bootloader now fits again. 2017-04-24 13:03:11 +02:00
Vladimir Zidar
9eb1f3b5e5 LP-480 Moved sensors initialization to pios_board_sensors.c 2017-04-24 13:03:07 +02:00
Vladimir Zidar
c9f6ba55a0 LP-480 USB config cleanup. Coptercontrol & Revo tested. Booted. Usb functional. 2017-04-24 13:01:44 +02:00
Vladimir Zidar
5cebebe33b LP-480 More work in progress. 2017-04-24 13:01:41 +02:00
Vladimir Zidar
ddc4f3d855 LP-480 coptercontrol build ok 2017-04-24 12:55:10 +02:00
Vladimir Zidar
c0adcb904b LP-480 build discoveryf4bare 2017-04-24 12:55:09 +02:00
Vladimir Zidar
dd49ef0166 LP-480 work in progress: revo, nano & sparky2 targets ok. 2017-04-24 12:55:06 +02:00
Alessio Morale
54a81fdcf1 Merge remote-tracking branch 'webbbn/LP-499-enhanced-oplink-bridging' into next 2017-04-22 22:25:49 +02:00
Brian Webb
a22809f52e Merged in webbbn/librepilot/LP-506-remove-pair-stats-from-rfm22b-cod (pull request #414)
LP-506 Removes pair stats from oplink code.

Approved-by: Lalanne Laurent <f5soh@free.fr>
Approved-by: Alessio Morale <alessiomorale@gmail.com>
Approved-by: Philippe Renon <philippe_renon@yahoo.fr>
2017-04-22 17:36:05 +00:00
Brian Webb
dc5eef0cb5 LP-499 Adds support for bridging either radio primary, radio auxilary, and/or VCP to any of the output ports (main, flexi, VCP, HID). Also adds the ability to configure the com speed of the UARTs independent of the air data rate. 2017-04-22 09:36:04 -07:00
Brian Webb
ece26d20b1 LP-506 Removes pair stats from oplink code. 2017-04-22 09:31:32 -07:00
Brian Webb
5dff540d07 LP-507 Converts all tick times in the rfm22b driver to ms. 2017-04-22 09:26:32 -07:00
Eric Price
545f1c863b LP-500 HoTT Bridge Module ported from TauLabs 2017-03-24 07:56:19 +01:00
Vladimir Zidar
95be5b1f0b LP-484 Addressed PR review issues. 2017-02-21 19:54:18 +01:00
Vladimir Zidar
45d1eb7493 LP-484 This change removes custom PIOS_OpenLRS_Rcvr_UpdateChannels() api in favor of PIOS_OpenLRS_RegisterPPMCallback() to be in line with other receiver modules. Furthermore, this commit moves the openlrs/oplink ppm callback from pios_board.c into *rcvr* module itself. 2017-02-21 16:44:20 +01:00
Philippe Renon
20454c53a0 Merged in mindnever/librepilot/LP-270-Implement_a_PIOS_COM_ChangeConfig (pull request #386)
LP-270 implement a PIOS_COM_ChangeConfig API
2017-01-27 19:56:38 +00:00
Philippe Renon
aeddb98ea6 Merged in mindnever/librepilot/LP-475_Fix_PIOS_MPU9250_Mag_Sensitivity (pull request #382)
LP-475 Fix for PIOS_MPU9250_Mag_Sensitivity() function.
2017-01-27 19:56:04 +00:00
Vladimir Zidar
191f92ce91 LP-270 - Updated copyright years 2017-01-23 13:50:22 +01:00
Vladimir Zidar
4bb5bee32b LP-270 - Add baud rate and mode parameters. Store working copy of usart init structure for private use, so we do not revert to original config before every change. Re-enable usart after changing parameters. 2017-01-23 13:39:40 +01:00
Alessio Morale
6d80b55c60 LP-270 - Implement PIOS_COM_ChangeConfig API (F1) 2017-01-23 13:39:39 +01:00
Jan NIJS
9ed4f644aa LP-477 Describe iBus packet format and add packet type validation check
Also add a compile time protection to make sure we don't compile with bad buffer lengths.
2017-01-20 15:20:42 +01:00
Vladimir Zidar
100d073e95 LP-475 Use signed int for sensor data to avoid data overflow corruption when applying adjustment factor. 2017-01-19 17:07:15 +01:00
Vladimir Zidar
01679ee02b LP-475 This commit fixes multiple errors in SPI transfer handling inside PIOS_MPU9250_Mag_Sensitivity() function. 2017-01-18 21:57:32 +01:00
Philippe Renon
246706ac9d Merged in mindnever/librepilot/LP-463-Fix_Incorrect_timer_prescaler (pull request #374)
LP-463 Use correct timer clock for F1 target. All timers get 72M clock regardless of APB domain they live on.
2017-01-09 22:45:31 +01:00
Alessio Morale
2e5f3aa60c LP-437 - Add support for a secondary radio stream and associated AuxCom driver
TODO: find out if there is still free space on current packet and store both streams content
2017-01-06 16:02:28 +01:00
Vladimir Zidar
fef715b3d6 LP-463 Use correct timer clock for F1 target. All timers get 72M clock regardless of APB domain they live on. 2017-01-01 17:17:58 +01:00
Lalanne Laurent
c2cf44f8d8 Merged in mindnever/librepilot/LP-415_pios_servo_Add_functions_to_support_esc_passthrough (pull request #334)
LP-415 pios servo add functions to support esc passthrough
2016-12-28 14:20:28 +01:00
Vladimir Zidar
be03fb2020 LP-415 Added missing AF remap 2016-12-28 13:25:51 +01:00
Vladimir Zidar
282a187357 LP-415 F411 needs check for additional STM32F411xE define 2016-12-28 13:25:50 +01:00
Vladimir Zidar
85df731afc LP-415 Added LP copyright to modified files 2016-12-28 13:25:50 +01:00
Vladimir Zidar
dad4a94036 LP-415 Consolidate F1 & F4 version into single one that lives in pios/common/ 2016-12-28 13:25:50 +01:00
Laurent Lalanne
1e920ec67c LP-346 RFM22 tuning: Allow XtalCap value changes without reboot. 2016-12-23 14:39:09 +01:00
Laurent Lalanne
ea377973fc LP-346 RFM22 tuning: Add XtalCap value for fine tuning 2016-12-23 14:39:08 +01:00