1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-09 20:46:07 +01:00
Commit Graph

426 Commits

Author SHA1 Message Date
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
Laurent Lalanne
7800f49705 LP-346 RFM22 tuning: Add AFC value to OplinkStatus 2016-12-23 14:39:08 +01:00
Laurent Lalanne
f332d48e9b LP-345 RFM22: Add frequency band selection. 433, 868 and 915Mhz band 2016-12-23 14:38:50 +01:00
Philippe Renon
33188bd78e Merge remote-tracking branch 'upstream/master' into next
# Conflicts:
#	ground/gcs/src/plugins/coreplugin/connectionmanager.cpp
2016-12-13 00:56:32 +01:00
Vladimir Zidar
64bf884f96 LP-391 Changed PIOS_COM_Init buffer len parameters to uint16_t type. Fixed simposix pios_board.c GPSPORT_GPS init incorrectly passing -1 to PIOS_Board_configure_com() which was on some platforms converted to large unsigned value. 2016-11-26 21:51:29 +01:00
Philippe Renon
aef6d65b1f Merged in mindnever/librepilot/LP-413_add_PIOS_COM_RegisterAvailableCallback (pull request #333)
LP-413 This commit adds PIOS_COM_RegisterAvailableCallback() function.
2016-10-05 21:45:32 +02:00
Lalanne Laurent
01de16657d Merged in paul_jewell/librepilot/LP-423_fix_HMC5x83_driver_dereferences_null_pointer (pull request #338)
LP-423 - Modified IRQHandler
2016-10-01 19:36:57 +02:00
paul Jewell
21383908a4 LP-424 Corrected copy error - s.,$:rfm22b_id/openlrs_id/g 2016-10-01 15:35:21 +02:00
paul Jewell
d8cbc6684b LP-423 - Modified IRQHandler 2016-09-30 23:24:09 +02:00
Vladimir Zidar
5d8274357d LP-413 This commit adds PIOS_COM_RegisterAvailableCallback() function. 2016-09-24 01:10:31 +02:00
Vladimir Zidar
87035d953c LP-412 Allow access to rx & tx callbacks through pios_com device API. 2016-09-24 01:07:01 +02:00
Laurent Lalanne
72aabd30fd LP-407 Pios_Sbus: Set quality to minimum after a failsafe 2016-09-16 19:45:23 +02:00
Philippe Renon
52a9aa37c8 Merged in mindnever/librepilot/LP-391_fix_Some_CC3D_ports_cause_a_boot_issue_and_re_init_to_defaults (pull request #307)
LP-391 This fixes issue with negative size (-1) passing from PIOS_Board_configure_com() to PIOS_COM_Init().
2016-08-30 09:56:53 +02:00
Vladimir Zidar
107aa2170e LP-391 This fixes issue with negative size (-1) passing from PIOS_Board_configure_com() to PIOS_COM_Init(). 2016-08-30 02:03:10 +02:00
Vladimir Zidar
b1f7f5e4bf LP-377 Implement handling of USB_CDC_REQ_SET_LINE_CODING control request for F4 and F1 targets. Removes UsbComBridgeSpeed from hwsettings object. Removes GCS combo boxes related to UsbComBridgeSpeed. Fixes few places where UsbComBridgeSpeed was used for DebugConsole speed config. 2016-08-30 01:22:57 +02:00
Philippe Renon
2ccabe27e7 Merged in alessiomorale/librepilot/LP-381_log_buffers (pull request #303)
LP-381 - Adds circular buffer and run writes within a separate callback
2016-08-28 18:47:40 +02:00
Alessio Morale
cba2184caf LP-381 - Adds circular buffer and run writes within a separate callback 2016-08-17 19:57:29 +02:00
Laurent Lalanne
e52d2636f0 LP-298 Use PIOS_IBUS_NUM_INPUTS like other inputs 2016-08-03 19:52:34 +02:00
Laurent Lalanne
5895468f08 LP-298 Port Ibus Input driver from dRonin - Not tested 2016-08-03 19:09:05 +02:00
Lalanne Laurent
2de896818e Merged in alessiomorale/librepilot/LP-361_notification_improvements (pull request #283)
Lp 361_notification_improvements
2016-07-21 20:05:54 +02:00
Alessio Morale
6b1f4e52be Merged in TheOtherCliff/librepilot/theothercliff/LP-340_AutoTune_fix_some_time_measurement_issues_in_original_code (pull request #282)
LP-340 Autotune fix some time measurement issues in original code
2016-07-21 19:53:33 +02:00
Alessio Morale
fa041ecf05 LP-361 - Don't lose notifications when more than an alarm is active
, fix time between notifications condition, cleanup
2016-07-17 17:13:09 +02:00
Brian Webb
586af77267 LP-190: Fixes an issue with uninitialized OPLink receiver channels. 2016-07-12 17:49:29 -07:00
Brian Webb
a65492b589 LP-190: Removes RFM22B register definitions from pios_rfm22b_priv.h and switches to using pios_rfm22b_regs.h. Alos addresses a few issues brought up in review. 2016-07-12 17:49:28 -07:00
Brian Webb
2e2bb1b20b LP-190: Removed rfm22breceiver UAVO. 2016-07-12 17:49:16 -07:00
Brian Webb
0738c8a78a LP-190: Final testing and bug fixes. 2016-07-12 17:47:16 -07:00
Brian Webb
91ea8966da LP-190: Addes support for OpenLRS receiver protocol to the OPLinkMini. Also updates the OPLink configuration to better support OpenLRS. 2016-07-12 17:47:16 -07:00
Brian Webb
aa21761f4c LP-190: Adds support for OpenLRS protocol to OPLinkMini 2016-07-12 17:47:16 -07:00
Brian Webb
021eb21008 LP-190: Moved openlrsstatus UAVO to OPLinkStatus 2016-07-12 17:46:15 -07:00
Brian Webb
a0279b272f LP-190: Initial checkin that adds OpenLRS receiver support to Revolution and OPLinkMini. 2016-07-12 17:45:33 -07:00
Cliff Geerdes
69f1964b12 LP-340 uncrustify 2016-07-12 14:48:11 -04:00
Cliff Geerdes
f2f8d8e712 LP-340 code changes 2016-07-12 14:48:11 -04:00
Cliff Geerdes
7553eb4f32 LP-340 Quick code with both timing fixes 2016-07-12 14:48:10 -04:00
Vladimir Zidar
27cc48b362 LP-343 Change return type from PIOS_COM_Available() to give extended status about RX and TX availability on given COM device. 2016-06-22 01:57:08 +02:00
Vladimir Zidar
77a28f2066 LP-328 Moved i2c operation PIOS_HMC5x83_ReadMag() from _driver_fetch() to _driver_poll() so that fetch() always get good data 2016-06-02 14:34:38 +02:00
Vladimir Zidar
f27db8b65c LP-328 uncrustified 2016-06-02 12:47:31 +02:00
Vladimir Zidar
10637550d7 LP-328 hmc5x83 learns how to reinitialize after it gets reconnected to the bus 2016-06-02 12:44:45 +02:00
Laurent Lalanne
2138516dfe LP-72 Various typo fixes - Set PPM input as default 2016-05-25 13:51:41 +02:00
Vladimir Zidar
2b760f9d39 LP-72 Fix MS5611 driver to allow booting with unpowered i2c devices hanging the bus 2016-05-25 13:51:41 +02:00
Laurent Lalanne
c9fff7e16e LP-151 OPLink: Allow custom Device ID or auto generated. 2016-05-01 21:56:50 +02:00
Vladimir Zidar
30e7e1f4e6 LP-281 use correct operator 2016-04-07 01:00:42 +02:00
Vladimir Zidar
8c1b008da1 LP-268 Uncrustified. 2016-03-28 16:03:16 +02:00
Vladimir Zidar
4159449021 LP-268 This adds TX and RX data rates to OPLinkStatus UAVO and fixes small issue in rfm22b driver with rx_seq not being updated. 2016-03-28 16:02:28 +02:00
Laurent Lalanne
593cf7bc61 Typo PIOS_RFM22B_GetPairStats() 2016-03-12 17:56:05 +01:00
Alessio Morale
089c224514 Merged in alessiomorale/librepilot/amorale/LP-96_cpu_idle_counter (pull request #37)
LP-96 Updated CPU idle counter / LP-97 unify CopterControl and Revolution init process
2016-02-19 20:19:05 +01:00
Lalanne Laurent
48a76dd139 Merged in TheOtherCliff/librepilot/theothercliff/LP-83_Bricking_of_Revo_and_Sparky2 (pull request #142)
LP-83 Unbrick Revo and Sparky2
2016-02-16 19:13:57 +01:00
Fredrik Arvidsson
9e53b35fdc LP-104 LP-196 Signal quality implementation for Graupner HoTT. Uncrustification of flight code. 2016-01-25 00:42:54 +01:00
Fredrik Arvidsson
ffa671da78 LP-196 Adding signal quality calculation to Ex.Bus receiver module. 2016-01-25 00:23:31 +01:00
Fredrik Arvidsson
e17d809120 Merge branch 'next' into thread/LP-104_LP-196_HoTT_and_Ex.Bus_Support 2016-01-24 21:11:35 +01:00
Laurent Lalanne
a0d7af7f55 LP-215 Set correct failsafe values if PPM stream fails. 2016-01-24 16:15:15 +01:00
Laurent Lalanne
db83d1860e LP-209 Update Rssi and LinkQuality values - Set Connected/Disconnected state in both sides - Add checkTimeOut() 2016-01-24 16:15:14 +01:00
Fredrik Arvidsson
0d660d33ad LP-104 LP-196 Changes to address review comments and then uncrustification. 2016-01-16 12:19:34 +01:00
Fredrik Arvidsson
c06fb0249f LP-104 LP-196 Uncrustify and some other formatting issues fixed. 2016-01-10 10:12:54 +01:00
Fredrik Arvidsson
d32cc0e7fb Merge branch 'thread/LP-104_LP-196_HoTT_and_Ex.Bus_Support_15.09' into thread/LP-104_LP-196_HoTT_and_Ex.Bus_Support 2016-01-09 19:18:48 +01:00
Fredrik Arvidsson
02c981388a Merge branch 'thread/LP-196_Jeti_Ex_Bus_15.09' into thread/LP-104_LP-196_HoTT_and_Ex.Bus_Support_15.09
# Conflicts:
#	flight/targets/boards/coptercontrol/board_hw_defs.c
#	flight/targets/boards/coptercontrol/firmware/pios_board.c
#	flight/targets/boards/revolution/board_hw_defs.c
#	flight/targets/boards/revolution/firmware/inc/pios_config.h
#	flight/targets/boards/revolution/firmware/pios_board.c
#	flight/targets/boards/revonano/firmware/inc/pios_config.h
#	flight/targets/boards/revonano/firmware/pios_board.c
#	shared/uavobjectdefinition/hwsettings.xml
#	shared/uavobjectdefinition/manualcontrolsettings.xml
#	shared/uavobjectdefinition/receiveractivity.xml
2016-01-09 16:59:24 +01:00
Fredrik Arvidsson
c8edd023a2 LP-196 Cleaned up some code. 2016-01-06 17:16:02 +01:00
Fredrik Arvidsson
534ff1ff3c LP-196 Added Auto-Baud-Rate code. Will toggle between high (125 KBaud) and low (250 KBaud) baud rate every EXBUS_BAUD_RATE_LIMIT (set to 64 right now).
Cleaned out some unused variables.
2016-01-05 14:03:15 +01:00
unknown
d00c169dbb LP-196 Fixed bug in Ex.Bus decoder and changed baud rate for UART to 125 kbaud. 2016-01-03 18:27:14 +01:00
Fredrik Arvidsson
3e920bc5bc LP-196 Added driver for Jeti EX.Bus protocol. Added support for CopterControl target on Main and Flexi port. This is WIP and not tested yet. 2015-12-26 12:29:04 +01:00
Fredrik Arvidsson
e6d4638201 LP-104 Adds support for Graupner HoTT SUMD/SUMH serial protocol used by receivers on Main and Flexi port.
Still work in progress. Only supports CopterControl target and crashes on input :(
2015-12-20 11:08:15 +01:00
Cliff Geerdes
c65702b1d3 LP-83 fix two known bricking scenarios 2015-12-16 01:46:59 -05:00
Alessio Morale
ff335072d0 Merged in paul_jewell/librepilot/LP-119_fix_pios_msheap (pull request #58)
Changed incorrect #if to #ifdef in pios_msheap.c
2015-12-13 19:11:46 +01:00
Cliff Geerdes
e0a805518f LP-73 uncrustify 2015-10-25 23:59:52 -04:00
Cliff Geerdes
5cb042e703 LP-73 fw_gpsplatinum build 2015-10-24 14:57:12 -04:00
Cliff Geerdes
afc96267d3 LP-73 use simple timed DataAvailable 2015-10-24 12:23:12 -04:00