Eric Price
f162bbf331
LP-602 Improvement to usb_dcd. Activate rx handler always, even if it seems unneeded. Otherwise reading from DCD will fail if a module tries to read data before USB is connected.
2018-10-19 16:55:52 +02:00
Eric Price
8793aaa387
LP-602 Re-enable rx_status checking in usb_csc to optionally reenable rx after reset
...
This partially reverts 1203fa9e66
LP-495 F4 USB CDC: remove internal rx_active state tracking and use actual endpoint status instead (like F1)
However rx_status is only used in the reinit case, without reintroducing issue LP-495
2018-10-16 15:56:17 +02:00
Eric Price
868d787912
LP-602 Fix regression of bootloader which checks for USB availability without initialising it, so it really needs to check if the cable is present (gpio check)
2018-10-16 11:44:01 +02:00
Eric Price
a4e20499c0
LP-602 significant change to USB layer. force complete USB stack reset on replug/reset from host device
2018-10-16 11:43:50 +02:00
Eric Price
ca82317970
LP-602 Bugfix in pios_usb_cdc: reset tx_start on device init to prevent stalled tx
2018-10-16 11:43:36 +02:00
Eric Price
3f2d89fc11
LP-602 better fix for USB IRQ lockup issue
2018-10-15 13:09:18 +02:00
Eric Price
6ab58fe93d
LP-602 bugfix in STM32_USB_OTG_Driver to prevent IRQ hammering on USB replug
2018-10-12 16:02:58 +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
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
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
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
b523f69f0e
LP-512 Addressed most of the PR comments.
2017-05-26 01:06:31 +02:00
Vladimir Zidar
77918c51a1
LP-512 Uncrustify
2017-05-25 22:08:39 +02:00
Vladimir Zidar
e25cc40503
LP-512 ws2811 led support for F3.
2017-05-25 22:08:34 +02:00
Vladimir Zidar
5435dbd464
LP-512 Initial F3 support
2017-05-25 22:08:16 +02: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
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
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
9eb1f3b5e5
LP-480 Moved sensors initialization to pios_board_sensors.c
2017-04-24 13:03:07 +02:00
Vladimir Zidar
ddc4f3d855
LP-480 coptercontrol build ok
2017-04-24 12:55:10 +02:00
Vladimir Zidar
dd49ef0166
LP-480 work in progress: revo, nano & sparky2 targets ok.
2017-04-24 12:55:06 +02:00
Eric Price
faf51bb13b
Merged in corvusvcorax/librepilot/LP-500_HoTT_Telemetry_Bridge (pull request #409 )
...
LP-500 HoTT Telemetry Bridge
Approved-by: Philippe Renon <philippe_renon@yahoo.fr>
Approved-by: Eric Price <corvuscorax@cybertrench.com>
Approved-by: Lalanne Laurent <f5soh@free.fr>
Approved-by: Alessio Morale <alessiomorale@gmail.com>
2017-03-30 18:02:29 +00:00
Vladimir Zidar
d0030efeb0
LP-495 PR comments and uncrustify
2017-03-28 22:29:02 +02:00
Eric Price
545f1c863b
LP-500 HoTT Bridge Module ported from TauLabs
2017-03-24 07:56:19 +01:00
Vladimir Zidar
1203fa9e66
LP-495 F4 USB CDC: remove internal rx_active state tracking and use actual endpoint status instead (like F1)
2017-03-15 16:33:52 +01: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
9750879396
LP-270 - F0 and F4 Implementation
2017-01-23 13:39:39 +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
Vladimir Zidar
7e6494c8a8
LP-415 New functions PIOS_Servo_Disable(), PIOS_Servo_Enable() and PIOS_Servo_Config(). Moved timer initialization code to _Enable() function. Removed call to PIOS_TIM_InitChannels().
2016-12-28 13:25: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
e603f9f3fe
LP-444 Improved I2C alarm handling by monitoring error count changes returned by PIOS_I2C_GetDiagnostics().
2016-12-05 13:02:36 +01:00
Vladimir Zidar
5d8274357d
LP-413 This commit adds PIOS_COM_RegisterAvailableCallback() function.
2016-09-24 01:10:31 +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
Alessio Morale
e7f15e31d0
LP-369 - Fix cdc availability condition
2016-07-26 02:15:04 +02:00
Alessio Morale
6214c0ea30
Uncrustify
2016-07-03 17:10:46 +02:00
Alessio Morale
c9188fc5a2
Merged in TheOtherCliff/librepilot/theothercliff/LP-76_Port_Autotune_from_dRonin (pull request #198 )
...
Theothercliff/lp 76_port_autotune_from_dronin
2016-07-03 16:09:30 +02:00
Alessio Morale
a2d2e81220
Merged in mindnever/librepilot/LP-342-pios_exti-improvement (pull request #266 )
...
Lp 342 pios_exti improvement
2016-07-03 16:05:03 +02: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
4aebc7cc5e
LP-342 Added EXTI_Init(DISABLE) to PIOS_EXTI_DeInit.
2016-06-22 00:32:56 +02:00
Vladimir Zidar
fabc3e8d69
LP-342 Simplify pios_exti configuration, allow dynamic configuration and reconfiguration. adds PIOS_EXTI_DeInit()
2016-06-22 00:32:47 +02:00
Cliff Geerdes
4240c8ea5c
LP-76 implement new dRonin yaw calculation PR and fix a TL spelling error
2016-06-18 14:08:06 -04:00
Cliff Geerdes
aa06b1793f
LP-76 update copyrights
2016-06-18 14:08:05 -04:00
Cliff Geerdes
fd22011bfa
LP-76 get ready for PR uncrustify and comments
2016-06-18 14:08:05 -04:00
Cliff Geerdes
2105a49ca9
LP-76 add UAV defaults and remove UAV inits
2016-06-18 14:08:03 -04:00
Laurent Lalanne
6f3bcf817e
LP-326 Reduce minimal sync pulse lenght to 2700µs
2016-05-31 08:03:15 +02:00
Cliff Geerdes
0628949afd
LP-72 uncrustify
2016-05-25 13:51:41 +02:00
Vladimir Zidar
05d6d983ae
LP-72 Fix for f2aa171 that broke revonano build - stm32f411 has no TIM8
2016-05-25 13:51:41 +02:00
Vladimir Zidar
1d3d784f8b
LP-72 Fixes PPM input on receiver port. Added extra interrupt channel init for TIM1 & TIM8. Removed TIM8_UP_IRQHandler, as there is no such irq in stm32f4 line.
2016-05-25 13:51:40 +02:00