Lalanne Laurent
853a014e47
Merged in f5soh/librepilot/LP-596_AltitudeHold_transition (pull request #509 )
...
LP-596 Fix AltitudeHold transition
Approved-by: Lalanne Laurent <f5soh@free.fr>
Approved-by: Cliff . <cliffsjunk@att.net>
Approved-by: Julian Lilov <jdl@abv.bg>
Approved-by: Philippe Renon <philippe_renon@yahoo.fr>
2018-04-29 17:27:14 +00:00
Lalanne Laurent
cb6d86b048
Merged in f5soh/librepilot/LP-589_INS13_Yaw_spin (pull request #504 )
...
LP-588 INS13 - Scale down Mag variance setting by Be² + Small fixes
Approved-by: Lalanne Laurent <f5soh@free.fr>
Approved-by: Philippe Renon <philippe_renon@yahoo.fr>
2018-04-29 15:22:28 +00:00
Laurent Lalanne
691c6c1b57
LP-596 Fix AltitudeHold transition
2018-04-15 20:07:58 +02:00
Laurent Lalanne
bbb0c7fb25
LP-593 firmwareIAP cleanup, remove code for old AHRS
2018-04-12 14:55:08 +02:00
Laurent Lalanne
4c83f0a844
LP-593 Set firmware Crc at init
2018-04-11 19:32:09 +02:00
Lalanne Laurent
1ab7956c1a
Merged in f5soh/librepilot/LP-582_Revonano_flexi_i2c (pull request #497 )
...
LP-582 RevoNano: Fix missing flexi I2C
Approved-by: Philippe Renon <philippe_renon@yahoo.fr>
Approved-by: Lalanne Laurent <f5soh@free.fr>
2018-04-06 15:35:10 +00:00
Laurent Lalanne
8f504526ca
LP-588 INS13 - Scale down Mag variance setting by Be² + Small fixes
2018-04-02 11:29:45 +02:00
Laurent Lalanne
cfd7751ed8
LP-585 Increase channel spacing for 256KBps
2018-03-14 14:17:46 +01:00
Laurent Lalanne
be794a0594
LP-585 Add comments + typo
2018-03-13 23:05:32 +01:00
Laurent Lalanne
131a6b0a34
LP-585 Uncomment/fix openlrs debug
2018-03-13 20:06:26 +01:00
Laurent Lalanne
dbb569278a
LP-585 Change the calc for channel generator and avoid rounding issues.
...
Take in account the frequency deviation and keep Tx inside defined band.
2018-03-13 20:06:25 +01:00
Vladimir Zidar
b8239e3cf8
Merged in mindnever/librepilot/LP-584_Fix_ADC_on_servo_outputs (pull request #500 )
...
LP-584 Fix ADC on servo outputs
Approved-by: Lalanne Laurent <f5soh@free.fr>
Approved-by: Vladimir Zidar <mr_w@mindnever.org>
Approved-by: Philippe Renon <philippe_renon@yahoo.fr>
2018-03-11 12:23:33 +00:00
Vladimir Zidar
784efc12cf
Merged in mindnever/librepilot/LP-556-Allow_BoardId_and_Revision_spoofing (pull request #475 )
...
LP-556 Allow BoardId and Revision spoofing
Approved-by: Alessio Morale <alessiomorale@gmail.com>
Approved-by: Vladimir Zidar <mr_w@mindnever.org>
Approved-by: Philippe Renon <philippe_renon@yahoo.fr>
Approved-by: Lalanne Laurent <f5soh@free.fr>
2018-03-11 12:23:18 +00:00
Lalanne Laurent
578e7adb94
Merged in f5soh/librepilot/LP-569_PosHold_YawControl (pull request #485 )
...
LP-569 Ignore YawControl while using PosHold, AutoTakeOff and AutoCruize
Approved-by: Lalanne Laurent <f5soh@free.fr>
Approved-by: Alessio Morale <alessiomorale@gmail.com>
Approved-by: Philippe Renon <philippe_renon@yahoo.fr>
Approved-by: Paul Jewell <paul@teulu.org>
2018-03-11 12:22:52 +00:00
Vladimir Zidar
af47e00815
LP-584 Fix servo driver to not touch unused pins in _disable() function. Fix adc channel for servo6 on revolution & sparky2 targets.
2018-03-11 00:41:50 +01:00
Laurent Lalanne
0ae0687c9e
LP-582 RevoNano: Fix missing flexi I2C
2018-02-25 21:31:07 +01:00
Vladimir Zidar
f64a1ba822
LP-580 Change PIOS_INCLUDE_HMC5X83 to PIOS_INCLUDE_SENSORS_AUXMAG where it applies to general auxmag support.
2018-02-23 13:19:41 +01:00
Vladimir Zidar
f0ebe8f780
LP-580 QMC5883L: added DRDY timeout, so that driver can reinit chip
2018-02-23 13:19:25 +01:00
Vladimir Zidar
d10f7684ca
LP-580 Support for QMC5883L mag chip.
2018-02-23 13:19:18 +01:00
Vladimir Zidar
c3d9c27a58
LP-556 Removed unneeded includes.
2018-02-13 11:38:25 +01:00
Vladimir Zidar
6c9c6cb3f3
LP-556 Change settings uavo to have two fields matching FirmwareIAPObj.
2018-02-12 04:27:07 +01:00
Vladimir Zidar
51923bb67f
LP-556 Allow DiscoveryF4Bare to spoof own board id through FirmwareIAPObj.
2018-02-12 04:26:18 +01:00
Laurent Lalanne
938bd7e6fd
LP-576 Made AxisLock as default for Yaw stabilization in all autonomous modes.
2018-02-06 19:41:16 +01:00
Lalanne Laurent
dc012a1503
Merged in f5soh/librepilot/LP-563_Reduce_telemetry (pull request #480 )
...
LP-563 Reduce telemetry bandwidth
Approved-by: Lalanne Laurent <f5soh@free.fr>
Approved-by: Philippe Renon <philippe_renon@yahoo.fr>
Approved-by: Alessio Morale <alessiomorale@gmail.com>
2018-01-24 20:04:26 +00:00
Lalanne Laurent
45d2913d8b
Merged in f5soh/librepilot/LP-560_BaroOffset (pull request #479 )
...
LP-560 Add better filtering before set the baroOffset value
Approved-by: Lalanne Laurent <f5soh@free.fr>
Approved-by: Philippe Renon <philippe_renon@yahoo.fr>
Approved-by: Alessio Morale <alessiomorale@gmail.com>
2018-01-24 20:04:11 +00:00
Lalanne Laurent
a353661820
Merged in f5soh/librepilot/LP-550_Flight_Modules_fixes (pull request #463 )
...
LP-550 Flight Modules fixes
Approved-by: Lalanne Laurent <f5soh@free.fr>
Approved-by: Philippe Renon <philippe_renon@yahoo.fr>
Approved-by: Alessio Morale <alessiomorale@gmail.com>
2018-01-24 20:01:19 +00:00
Laurent Lalanne
5be3aad67b
LP-569 Ignore YawControl while using PosHold, AutoTakeOff and AutoCruize
2017-12-17 18:53:40 +01:00
Laurent Lalanne
43c4718798
LP-563 CameraDesired is updated continuouslly, check gimbal outputs.
2017-12-03 18:30:55 +01:00
Vladimir Zidar
213893e298
Merged in mindnever/librepilot/LP-525-GCS_Hardware_pages_for_F3_boards (pull request #455 )
...
Add GCS Hardware pages for F3 boards
Approved-by: Mateusz Kaduk <mateusz.kaduk@gmail.com>
Approved-by: Vladimir Zidar <mr_w@mindnever.org>
Approved-by: Lalanne Laurent <f5soh@free.fr>
Approved-by: Philippe Renon <philippe_renon@yahoo.fr>
2017-11-27 10:39:13 +00:00
Laurent Lalanne
8cc85923d7
LP-560 Add better filtering before set the baroOffset value
2017-11-26 11:54:37 +01:00
Laurent Lalanne
8da65e8068
LP-550 Set OptionalModules>ModuleName to Enabled if module is builtin.
2017-10-29 15:48:22 +01:00
Laurent Lalanne
8c9cd5d0ec
LP-550 Move batteryEnabled to local variable
2017-10-29 13:44:49 +01:00
Laurent Lalanne
b469e9b1ba
LP-550 MODULE_AUTOTUNE_BUILTIN typo
2017-10-29 13:44:45 +01:00
Laurent Lalanne
d58c0b11b9
LP-550 Allow Txpid builtin
2017-10-29 13:39:21 +01:00
Vladimir Zidar
8935906fca
Merged in mindnever/librepilot/LP-544_fix_ws2811_servo_conflict (pull request #473 )
...
LP-544 Fix for ws2811 & servo driver conflict.
Approved-by: Vladimir Zidar <mr_w@mindnever.org>
Approved-by: Philippe Renon <philippe_renon@yahoo.fr>
Approved-by: Jan NIJS <dr.oblivium@gmail.com>
Approved-by: Lalanne Laurent <f5soh@free.fr>
2017-10-29 12:16:45 +00:00
Vladimir Zidar
1b0ceaeed7
LP-525 [PikoBLX] Cleaned up HW configuration, added PPM Port (pad) combo. Verified GCS HW page.
2017-10-23 23:04:58 +02:00
Vladimir Zidar
5f1fef4bc7
LP-173 Removed comments referencing previously removed code.
2017-10-19 00:46:54 +02:00
Vladimir Zidar
4b54986f6f
LP-173 Added missing #define SETTINGS_INITCALL(fn) to simposix target
2017-10-18 05:20:00 -07:00
Vladimir Zidar
0b317f8208
LP-173 Remove explicit calls to remaining settings objects: EKFConfiguration, HomeLocation, RevoCalibration and TakeOffLocation
2017-10-17 13:39:22 +02:00
Vladimir Zidar
e1346f427e
LP-173 simposix cannot use SETTINGS_INITIALISE_ALL macro, but luckily it does already initialize ALL objects (not only settings) with UAVObjectsInitializeAll()
2017-10-17 13:25:25 +02:00
Vladimir Zidar
b2f548b2ed
LP-173 Add settings initcall type. Add SETTINGS_INITIALISE_ALL to board files. Remove all manual settings objects initializations.
2017-10-17 13:25:25 +02:00
Vladimir Zidar
cc29d520a9
LP-544 Add PIOS_Servo_SetActive() API to communicate active servo channels from Actuator module to pios_servo driver. pios_servo is not allowed to touch inactive outputs.
2017-10-17 13:06:05 +02:00
Brian Webb
2f1e7cd72d
Merged in webbbn/librepilot/LP-552-openlrs-receiver-shows-mixed-opli (pull request #465 )
...
LP-552
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-10-13 18:36:58 +00:00
Vladimir Zidar
2fcacf1905
Merged in mindnever/librepilot/LP-553-fix_author_issue (pull request #468 )
...
LP-553 Add dRonin/TauLabs to @author tag in pios_bmp280.c
Approved-by: Vladimir Zidar <mr_w@mindnever.org>
Approved-by: Philippe Renon <philippe_renon@yahoo.fr>
Approved-by: Jan NIJS <dr.oblivium@gmail.com>
Approved-by: Lalanne Laurent <f5soh@free.fr>
2017-10-13 18:26:50 +00:00
Vladimir Zidar
37278c3425
LP-553 Add dRonin/TauLabs to @author tag in pios_bmp280.c
2017-10-08 12:29:36 +02:00
Vladimir Zidar
ed1f6881e3
LP-432 Automatically generate -DHAS_xxx_MODULE for *all* included modules. Use HAS_LOGGING_MODULE inside telemetry.c/setLoggingPeriod() to void function if logging module is not included.
2017-10-07 15:30:18 +02:00
Brian Webb
f289f17b83
LP-552 Moves call to PIOS_BOARD_IO_Configure_OPLink_RCVR from pios_board.c to pios_board_io.c (conditional on OpenLRS protocol not being configured).
2017-09-18 18:54:31 -07:00
Philippe Renon
dbe95ae493
Merged in filnet/librepilot/LP-109_video_gadget (pull request #454 )
...
LP-109 video gadget
Approved-by: Philippe Renon <philippe_renon@yahoo.fr>
Approved-by: Lalanne Laurent <f5soh@free.fr>
Approved-by: Jan NIJS <dr.oblivium@gmail.com>
Approved-by: Brian Webb <webbbn@gmail.com>
2017-09-18 19:58:07 +00:00
Vladimir Zidar
885d46c8df
LP-549 Make ASWA throttle threshold configurable. Add FlightModeSettings.AlwaysStabilizeWhenArmedThrottleThreshold with default value of 0.2
2017-09-14 09:42:31 +02:00
Vladimir Zidar
28ad66502a
LP-549 Disable Iterm zeroing at low throttle when ASWA is enabled.
...
LP-549 Enable ASWA only after initial throttle threshold has been reached to allow Iterm to be zeroed with zero throttle while on ground.
2017-09-14 09:41:42 +02:00
Philippe Renon
df796c8a19
uncrustify
2017-09-12 22:21:21 +02:00
Brian Webb
d4c681d94d
Merged in webbbn/librepilot/LP-548-output-oplinkreceiver-objects-fro (pull request #461 )
...
LP-548 output oplinkreceiver objects from OPLink
Approved-by: Philippe Renon <philippe_renon@yahoo.fr>
Approved-by: Vladimir Zidar <mr_w@mindnever.org>
Approved-by: Lalanne Laurent <f5soh@free.fr>
Approved-by: Brian Webb <webbbn@gmail.com>
2017-09-11 19:44:03 +00:00
Brian Webb
ffb4392ab1
Merged in webbbn/librepilot/LP-547-large-uavobjects-not-saving-over-oplink (pull request #460 )
...
LP-547 Increases the telemetry buffer lengths (both UART and radio) to fix saving large UAVObjects over OPLink.
Approved-by: Lalanne Laurent <f5soh@free.fr>
Approved-by: Philippe Renon <philippe_renon@yahoo.fr>
Approved-by: Vladimir Zidar <mr_w@mindnever.org>
Approved-by: Brian Webb <webbbn@gmail.com>
2017-09-11 19:43:36 +00:00
Lalanne Laurent
9d11a2219e
Merged in f5soh/librepilot/LP-399_GUI_for_Autotune (pull request #451 )
...
LP-399 GUI for Autotune
Approved-by: Lalanne Laurent <f5soh@free.fr>
Approved-by: Philippe Renon <philippe_renon@yahoo.fr>
Approved-by: Vladimir Zidar <mr_w@mindnever.org>
Approved-by: Jan NIJS <dr.oblivium@gmail.com>
Approved-by: Alessio Morale <alessiomorale@gmail.com>
2017-09-11 19:42:29 +00:00
Brian Webb
b18ff22142
LP-548 Removes create option from UAVTalkReceiveObject and creates a new function UAVTalkReceiveObjectNoCreate.
2017-09-04 13:55:51 -07:00
Brian Webb
4e6077ca2a
LP-548 Removes OPLinkReceiver from coptercontrol and fixes setting of OPLinkReceiver RSSI and quality on revolution and sparky2.
2017-09-04 12:16:48 -07:00
Brian Webb
59d20ee752
LP-548 Moves PIOS_OPLINK_RCVR_TIMEOUT_MS to pios_oplinkrcvr.c and adds oplinkreceiver and gcsreceiver modules to coptercontrol.
2017-09-04 11:25:06 -07:00
Brian Webb
1627eb3882
LP-548 Adds OPLInkRcvr to several more FCs, uncrustify, and fixes a few comments.
2017-09-04 09:44:36 -07:00
Brian Webb
9356ac91da
LP-548 OPLink will output OPLink receiver objects if mode is set to control or data and control and PPM output is not configured. Also adds support for OPLInkReceiver to all FCs.
2017-09-03 18:11:46 -07:00
Brian Webb
586a073d33
LP-547 Increases the telemetry buffer lengths (both UART and radio) to fix saving large UAVObjects over OPLink.
2017-08-31 19:43:49 -07:00
Brian Webb
b75637e6f2
LP-540 Changes all reference to ms5611 in ms56xx.h to ms56xx, and combines if statements in pressure compensation equations.
2017-07-08 09:15:33 -07:00
Brian Webb
4ee7249b4a
LP-540 Adds support for ms5607 and ms5637 to the ms5611 driver and renames it ms56xx.
2017-07-08 09:14:58 -07:00
Laurent Lalanne
1abe34ce7e
LP-399 Prepare Autotune GUI : Define some settings as enums
2017-07-05 23:31:57 +02:00
Lalanne Laurent
d031352cdd
Merged in f5soh/librepilot/LP-539_OPLM_BigUAVO (pull request #447 )
...
LP-539 OPLink - Big object issue
Approved-by: Brian Webb <webbbn@gmail.com>
Approved-by: Lalanne Laurent <f5soh@free.fr>
Approved-by: Philippe Renon <philippe_renon@yahoo.fr>
Approved-by: Alessio Morale <alessiomorale@gmail.com>
2017-07-05 19:33:46 +00:00
Jan NIJS
56661850ab
Merged in Oblivium/librepilot/LP-536_GNSS_improvements (pull request #444 )
...
LP-536 GNSS improvements
Approved-by: Lalanne Laurent <f5soh@free.fr>
Approved-by: Brian Webb <webbbn@gmail.com>
Approved-by: Alessio Morale <alessiomorale@gmail.com>
Approved-by: Philippe Renon <philippe_renon@yahoo.fr>
Approved-by: Jan NIJS <dr.oblivium@gmail.com>
2017-07-05 19:33:11 +00:00
Brian Webb
8f91f1b49b
Merged in webbbn/librepilot/LP-537-update-f0-gps-to-be-more-similar (pull request #445 )
...
LP-537 update f0 gps to be more similar
Approved-by: Philippe Renon <philippe_renon@yahoo.fr>
Approved-by: Alessio Morale <alessiomorale@gmail.com>
Approved-by: Lalanne Laurent <f5soh@free.fr>
Approved-by: Brian Webb <webbbn@gmail.com>
2017-07-05 19:32:00 +00:00
Brian Webb
45a267783a
LP-537 stm32f10x_flash.h include in f0 pios_flash_internal.c instead of stm32f0xx_flash.h
2017-06-28 18:14:34 -07:00
Jan NIJS
12062a5c7d
LP-536 make pretty
2017-06-28 03:06:32 +02:00
Jan NIJS
5e53fb283c
LP-536 skip informational UBX packets that are too large to fit buffers
...
UBX-NAV-SVINFO (id 30) and UBX-NAV-SAT (id 35) packets are NOT critical to the navigation.
Their only use is to update the nice GPS constellation widget in the GCS.
These packets become very large when a lot of SV (Space Vehicles) are tracked. (8 + 12 * <number of SV>) bytes
In the case of 3 simultaneously enabled GNSS, it is easy to reach the currently defined tracking limit of 32 SV.
The memory taken up by this is 8 + 12 * 32 = 392 bytes
The NEO-M8N has been seen to send out information for more than 32 SV. This causes overflow errors.
We will ignore these informational packets if they become too large.
The downside of this is no more constellation updates in the GCS when we reach the limit.
An alternative fix could be to increment the maximum number of satellites: MAX_SVS and UBX_CFG_GNSS_NUMCH_VER8 in UBX.h
This would use extra memory for little gain. Both fixes can be combined.
Tests indicate that, once we reach this amount of tracked SV, the NEO-M8N module positioning output
becomes jittery (in time) and therefore less accurate.
The recommendation is to limit the maximum number of simultaneously used GNSS to a value of 2.
This will help keep the number of tracked satellites in line.
2017-06-28 03:06:32 +02:00
Jan NIJS
a6aeb11a56
LP-536 Timeout parameter for PIOS_COM_ReceiveBuffer() should be in milliseconds. No need to convert to ticks.
...
Changed the int xDelay to a define and put the define next to the other major delay in the GPS task.
Increased the time we wait for PIOS_COM_ReceiveBuffer from 5 to 20 ms.
2017-06-28 03:06:30 +02:00
Jan NIJS
6f3fefd650
LP-536 add extra DGNSS state to indicate when SBAS information (any differential information in fact) is used for higher accuracy.
2017-06-28 03:06:30 +02:00
Lalanne Laurent
1a4bb0cc5b
Merged in f5soh/librepilot/LP-538_Oplink_256k (pull request #446 )
...
LP-538 Set correct reg.72 value for 256kbps and 150Khz Tx deviation - Cleanup
Approved-by: Lalanne Laurent <f5soh@free.fr>
Approved-by: Brian Webb <webbbn@gmail.com>
Approved-by: Philippe Renon <philippe_renon@yahoo.fr>
Approved-by: Alessio Morale <alessiomorale@gmail.com>
2017-06-26 19:17:36 +00:00
Lalanne Laurent
319a7d1d38
Merged in f5soh/librepilot/LP-482_Mag_Kp (pull request #439 )
...
LP-482 Mag Kp + LP-534 Mag source EKF
Approved-by: Alessio Morale <alessiomorale@gmail.com>
Approved-by: Philippe Renon <philippe_renon@yahoo.fr>
Approved-by: Lalanne Laurent <f5soh@free.fr>
Approved-by: Brian Webb <webbbn@gmail.com>
2017-06-26 19:16:49 +00:00
Lalanne Laurent
726c882aab
Merged in f5soh/librepilot/LP-520_OPlink_RSSI_PPMoutput (pull request #428 )
...
LP-520 OPlink RSSI PPMoutput
Approved-by: Lalanne Laurent <f5soh@free.fr>
Approved-by: Alessio Morale <alessiomorale@gmail.com>
Approved-by: Vladimir Zidar <mr_w@mindnever.org>
Approved-by: Brian Webb <webbbn@gmail.com>
Approved-by: Philippe Renon <philippe_renon@yahoo.fr>
2017-06-26 19:16:28 +00:00
Jan NIJS
43de409afc
Merged in Oblivium/librepilot/LP-533_Fix_serial_receiver_input_on_Sparky2 (pull request #441 )
...
LP-533 incorrect MCU pin used to toggle inverter for rcvr port on Sparky2
Approved-by: Vladimir Zidar <mr_w@mindnever.org>
Approved-by: Jan NIJS <dr.oblivium@gmail.com>
Approved-by: Philippe Renon <philippe_renon@yahoo.fr>
Approved-by: Lalanne Laurent <f5soh@free.fr>
Approved-by: Brian Webb <webbbn@gmail.com>
Approved-by: Alessio Morale <alessiomorale@gmail.com>
2017-06-26 18:39:47 +00:00
Laurent Lalanne
b15e5c0109
LP-539 OPLink : Increase USB Telemetry buffers to previous default
2017-06-26 19:48:49 +02:00
Brian Webb
c358d1741d
LP-537 GPSPSystemModStart gets called from main, so it should not be called from GPSPSystemModInitialize.
2017-06-25 19:04:24 -07:00
Laurent Lalanne
95387e5df7
LP-538 Set correct reg.72 value for 256kbps and 150Khz Tx deviation - Cleanup
2017-06-25 16:06:31 +02:00
Brian Webb
081fda25a1
LP-537 Changes startup code on GPSV9 to call PIOS_Board_Init after scheduler start.
2017-06-24 15:28:04 -07:00
Brian Webb
b47a3ad393
LP-537 The LED should be configured active low on the GPSV9.
2017-06-24 15:11:41 -07:00
Brian Webb
481d9abfd8
LP-537 Remove requirement for left shifting I2C addresses on the F0 devices. This makes the I2C driver on F0 compatible with the other devices.
2017-06-24 15:08:16 -07:00
Laurent Lalanne
6d7aa87820
LP-520 Add PIOS_RCVR_TIMEOUT for failsafe state
2017-06-24 14:54:02 +02:00
Laurent Lalanne
1b624d7de3
LP-534 MagStatus trouble: disable the corrected mag debug from EKF
2017-06-19 13:10:10 +02:00
Laurent Lalanne
c2a7582bd9
LP-482 Changes from review, add defines
2017-06-19 10:12:04 +02:00
Laurent Lalanne
9bc63139c3
LP-520 Remove Ch9 from UAVO
2017-06-18 23:41:23 +02:00
Laurent Lalanne
d11b2bbd51
LP-520 Oplink : Remove outdated comments
2017-06-18 23:41:23 +02:00
Laurent Lalanne
20ac6ed1e3
LP-520 Oplink : Send RSSI value as PPM output channel
2017-06-18 23:41:23 +02:00
Jan NIJS
4ba064b017
LP-533 incorrect MCU pin used to toggle inverter for rcvr port on Sparky2
...
Bug introduced by LP-480. The wrong MCU pin is used for toggling the input inversion. This inverted the serial signal when it should not be inverted.
ibus reception and possibly other serial receiver protocols where not working.
PC4 was controlled, but according to the schematic, PC6 is connected to the xor port.
PC4 is actually connected to the gyro interrupt.
This bug explains another issue I saw from time to time. After a restart of the Sparky2 board, gyro and accelerometer graphs remained locked at 0. Making the board unusable for flight.
2017-06-18 12:31:02 +02:00
Laurent Lalanne
ed28311841
LP-482 Complementary+Mag : Allow fast convergence for mag
2017-06-17 23:01:01 +02:00
Laurent Lalanne
684e0dc14f
LP-482 Increase temporary MagKp for initialisation
2017-06-17 16:50:58 +02:00
Laurent Lalanne
ee7d630e3e
LP-482 Fix Complementary Mag integral sign
2017-06-17 16:49:40 +02:00
Vladimir Zidar
429f8c41be
LP-529 [I2C] [MS5611] Remove PIOS_DELAY_WaitmS() and move (re)initialization into fsm.
2017-06-14 16:12:35 +02:00
Vladimir Zidar
b0fa0edb64
LP-529 [F3] [I2C] Move i2c bus unlocking down to irq, to save one context switch and make bus available for use by other drivers sooner.
2017-06-14 16:10:50 +02:00
Vladimir Zidar
a00af53710
LP-529 [F3] [I2C] Fix nack handling.
2017-06-14 16:10:50 +02:00
Vladimir Zidar
8c60c28b51
LP-529 Fixed i2c port selection for aux mag.
2017-06-14 16:10:24 +02:00
Brian Webb
ea41e40a4a
Merged in webbbn/librepilot/LP-526-add-msp_servo (pull request #432 )
...
LP-526 Adds support for the MSP_SERVO command to the MSP module.
Approved-by: Vladimir Zidar <mr_w@mindnever.org>
Approved-by: Lalanne Laurent <f5soh@free.fr>
Approved-by: Brian Webb <webbbn@gmail.com>
Approved-by: Philippe Renon <philippe_renon@yahoo.fr>
Approved-by: Alessio Morale <alessiomorale@gmail.com>
2017-06-13 19:57:31 +00:00
Vladimir Zidar
0448d627af
Merged in mindnever/librepilot/LP-523_implement_uavobject_DataOverrideDefaults_method (pull request #430 )
...
LP-523 Implement method for overriding uavobject defaults.
Approved-by: Philippe Renon <philippe_renon@yahoo.fr>
Approved-by: Vladimir Zidar <mr_w@mindnever.org>
Approved-by: Lalanne Laurent <f5soh@free.fr>
Approved-by: Brian Webb <webbbn@gmail.com>
Approved-by: Alessio Morale <alessiomorale@gmail.com>
2017-06-13 19:53:58 +00:00
Brian Webb
22071ba230
LP-526 Adds support for the MSP_SERVO command to the MSP module.
2017-06-06 19:17:25 -07:00
Vladimir Zidar
9f12a27f53
LP-523 Move object id and instance_size members from UAVOData structure into UAVObjType and keep only pointer to it. UAVObjType contains init_callback too to allow resetting data to default values.
2017-06-07 00:47:47 +02:00
Vladimir Zidar
d52f5a02f8
LP-523 uavobject.c.template: Invoke new method $(NAME)DataOverrideDefaults() from $(NAME)SetDefaults()
2017-06-07 00:47:46 +02:00
Vladimir Zidar
27312c4895
LP-528 partially revert 9f16143ba7
(uavobjects cannot be in ccm - loading from external SPI flash optionally uses DMA)
2017-06-07 00:42:57 +02:00
Vladimir Zidar
d991607aa5
LP-527 Move PIOS_DELAY_Init() after the peripheral clocks have been started. F0 uses TIM2 for delays.
2017-06-05 01:24:40 +02:00
Vladimir Zidar
aadd17d1b4
LP-527 Remove peripheral clock managing code
2017-06-05 01:24:36 +02:00
Lalanne Laurent
45ba6aa806
Merged in f5soh/librepilot/LP-486_enable_BL_Gpsv9 (pull request #429 )
...
LP-486 GPSv9 : Enable BL and EF firmware build
Approved-by: Lalanne Laurent <f5soh@free.fr>
Approved-by: Alessio Morale <alessiomorale@gmail.com>
Approved-by: Philippe Renon <philippe_renon@yahoo.fr>
Approved-by: Vladimir Zidar <mr_w@mindnever.org>
Approved-by: Brian Webb <webbbn@gmail.com>
2017-06-04 19:18:03 +00:00
Vladimir Zidar
d198b7c70a
LP-512 Fixed PikoBLX mpu6000 orientation.
2017-06-02 11:46:40 +02:00
Vladimir Zidar
e44114d794
LP-512 Uncrustify
2017-06-02 11:46:39 +02:00
Vladimir Zidar
61e036d6d3
LP-512 Cleaned up Hw(board)Settings for F3 boards. Removed unneeded stuff.
2017-06-02 11:46:39 +02:00
Vladimir Zidar
8ddd8a029e
LP-512 Cleaned up buzzer configuration and usage for boards with dedicated buzzer port.
2017-06-02 11:46:29 +02:00
Vladimir Zidar
e8b7aacd99
LP-512 update F3 pios_usb.c and pios_usb_cdc.c to include bind_available_cb().
2017-06-01 18:13:24 +02:00
Vladimir Zidar
aba9d56ccc
LP-512 Set default fusion algorithm for PikoBLX and tinyFISH
2017-06-01 08:12:14 +02:00
Vladimir Zidar
bc2ba7dccc
LP-512 tinyFISH FC: provide usable default flight battery settings calibrations (requires LP-523)
2017-05-30 22:27:24 +02:00
Vladimir Zidar
4eeb983f2d
LP-512 Addressed remainging PR comments.
2017-05-30 16:31:39 +02:00
Vladimir Zidar
fb696dc893
LP-512 Remove unused files used for obsolete win32 and osx simulator targets.
2017-05-30 06:21:29 -07:00
Vladimir Zidar
c951370eba
LP-512 Fixed tinyFISH SBus/SensorHub shared port initialization. Telemetry works now by default.
2017-05-30 15:08:43 +02:00
Vladimir Zidar
1680b436cd
LP-512 pios_usart: Shared ports support: Initializing same uart multiple times will return shared driver instance. Added uart configuration locking ioctl.
2017-05-30 15:08:32 +02:00
Vladimir Zidar
45448875d4
LP-512 HwTinyFISHSettings cleanup. First attempt at shared SBus/SensorHub port.
2017-05-30 15:08:21 +02:00
Vladimir Zidar
e8bccefb9d
LP-512 Added missing HoTT Bridge and Frsky Sensor Hub to list of protocols on PikoBlx, Spracingf3 and Spracingf3 evo
2017-05-30 15:08:09 +02:00
Vladimir Zidar
916188dd11
LP-512 Added support for tinyFISH FC
2017-05-29 21:12:28 +02:00
Vladimir Zidar
6fb9a4abc7
LP-512 fix f3 pios_rtc.c (squash this in previous commit)
2017-05-29 17:03:21 +02:00
Laurent Lalanne
5a3dcf2018
LP-486 GPSv9 : Enable BL and EF firmware build
2017-05-27 01:38:37 +02:00
Vladimir Zidar
b523f69f0e
LP-512 Addressed most of the PR comments.
2017-05-26 01:06:31 +02:00
Vladimir Zidar
58e19db08f
LP-512 Provide missing PIOS_DELAY_GetRaw() prototype for simposix target.
2017-05-25 22:08:40 +02:00
Vladimir Zidar
fb69978fda
LP-512 nucleof303re - bootloader fix and misc changes
2017-05-25 22:08:39 +02:00
Vladimir Zidar
77918c51a1
LP-512 Uncrustify
2017-05-25 22:08:39 +02:00
Vladimir Zidar
6eb97ed213
LP-512 SPRacingF3Evo: Allow PPM on UART2 pins only.
2017-05-25 22:08:38 +02:00
Vladimir Zidar
5b5546a1cb
LP-512 F3: implemented missing ioctls PIOS_IOCTL_USART_SET_IRQ_PRIO and PIOS_IOCTL_USART_GET_DSMBIND
2017-05-25 22:08:38 +02:00
Vladimir Zidar
faf0ae7c04
LP-512 PikoBLX board added
2017-05-25 22:08:38 +02:00
Vladimir Zidar
ae1c3612e4
LP-512 Bring back accidentally removed function
2017-05-25 22:08:37 +02:00
Vladimir Zidar
90e6ab8ef6
LP-512 SPRacingF3 Evo: Added PPM in to all UARTs. Untested.
2017-05-25 22:08:37 +02:00
Vladimir Zidar
9f16143ba7
LP-512 Moved some non-DMA memory allocations (uavobjects, hid/cdc driver structures and com rx/tx buffers) to CCM if available.
2017-05-25 22:08:37 +02:00
Vladimir Zidar
5ea1c9011b
LP-512 fixed STM32F303 ram memory sizes.
2017-05-25 22:08:36 +02:00
Vladimir Zidar
507d5a2b80
LP-512 SPRacingF3 Evo: Heartbeat led is active_low
2017-05-25 22:08:36 +02:00
Vladimir Zidar
302ffd53c7
LP-512 fixed STM32F303xD/E vector names
2017-05-25 22:08:36 +02:00
Vladimir Zidar
bd7641e857
LP-512 Build system changed; ld scripts cleanup
2017-05-25 22:08:35 +02:00
Vladimir Zidar
565014d560
LP-512 Added buzzer output as PIOS_LED_ALARM.
2017-05-25 22:08:35 +02:00
Vladimir Zidar
d1c19fefbd
LP-512 Fixed bootloader and dfu to be able to go into proper rescue mode without having *any* firmware flashed.
2017-05-25 22:08:35 +02:00
Vladimir Zidar
e25cc40503
LP-512 ws2811 led support for F3.
2017-05-25 22:08:34 +02:00
Vladimir Zidar
9ae89cedf3
LP-512 stm32 Nucleo F303RE dev board added
2017-05-25 22:08:34 +02:00
Vladimir Zidar
9f8de01b97
LP-512 Set correct F3 flash sector size (2K). This fixes settings save error/hang after "too many" saved objects.
2017-05-25 22:08:33 +02:00
Vladimir Zidar
55d711fa8b
LP-512 Added F3 ADC support. CPU Temperature not supported. This is connected to ADC1 and we do ADC2 at the moment only.
2017-05-25 22:08:33 +02:00
Vladimir Zidar
530d1ed2ea
LP-512 Re-enable mpu9250 mag sensors
2017-05-25 22:08:33 +02:00
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
Vladimir Zidar
a2d8d795d6
Merged in mindnever/librepilot/LP-512-STM32F30x_StdPeriph_And_STM32_USB-FS-Device_Driver (pull request #427 )
...
LP-512 STM32F30x StdPeriph And STM32 USB FS Device Driver
Approved-by: Lalanne Laurent <f5soh@free.fr>
Approved-by: Vladimir Zidar <mr_w@mindnever.org>
2017-05-25 13:08:19 +00: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
b87c8f4e3a
LP-512 F3 USB-FS Device: Add support for new usb peripheral in STM32F303xD and STM32F303xE
2017-05-25 13:45:48 +02:00
Vladimir Zidar
f1bfc71727
LP-512 StdPeriph driver: add __attribute__((unused)) where required.
2017-05-25 13:45:03 +02:00
Vladimir Zidar
659b7d0733
LP-512 STM's standard libraries for F30x (CMSIS, StdPeriph and USB Device)
2017-05-25 13:39:28 +02: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
Vladimir Zidar
8edd7c1d7c
LP-519 F1: revert pios_sys.c clock management. Due to older (than f3 & f4) gpio architecture, we should not allow clocks for multiple peripherals with alternate functions routed to same io pin.
2017-05-18 12:41:31 +02:00