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
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
c9f6ba55a0
LP-480 USB config cleanup. Coptercontrol & Revo tested. Booted. Usb functional.
2017-04-24 13:01:44 +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
Vladimir Zidar
d49394f8fb
LP-484 Set correct servo out bank mode (PWM). Enable TIM1_UP_IRQ to fix PPM input @main port for oplinkmini target. Move ComUsbBridge to OPTMODULES for oplinkmini target.
2017-02-21 16:44:29 +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
6d80b55c60
LP-270 - Implement PIOS_COM_ChangeConfig API (F1)
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
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
6214c0ea30
Uncrustify
2016-07-03 17:10:46 +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
Laurent Lalanne
6f3bcf817e
LP-326 Reduce minimal sync pulse lenght to 2700µs
2016-05-31 08:03:15 +02: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
Ákos Máté
f2867fbba1
Workaround for the turnigy 9x stock receiver with PPM encoder.
...
LP-198 The receiver holds the last value on channel 4 and 5, when no signal.
Without the workaround, CC3D can not detect the loss of signal.
2015-12-18 15:09:25 +01:00
Cliff Geerdes
d9b7a0bb00
LP-73 port extmag to all other boards
2015-10-24 12:09:21 -04:00
Alessio Morale
4c2557c29a
LP-96 - remove unused files
2015-09-03 23:40:35 +02:00
Steve Evans
fd00cd8210
Merge branch 'next' into steve/OP-1803_s.bus_dropped_frames
2015-05-13 20:29:54 +01:00
Steve Evans
023f157ba8
OP-1803 Disable untested DSM link quality code
2015-05-08 07:42:32 +01:00
Steve Evans
b87a1c1fa6
OP-1803 Enable DSM link quality so testers have something to work with
2015-04-19 18:41:04 +01:00
Alessio Morale
be4bc23da4
OP-1812 - Fix the failsafe issue with PWM inputs
2015-04-01 20:36:10 +02:00
Alessio Morale
f290d6d89d
OP-1685 - Implement OneShot on F1
2015-02-11 22:33:57 +01:00
Alessio Morale
46521f1c2d
Merge remote-tracking branch 'origin/amorale/OP-1683_syncupdate_oneshot' into next
2015-02-08 17:59:59 +01:00
Alessio Morale
025e3596fa
OP-1682 - Fixes from review
2015-01-31 12:55:34 +01:00
Alessio Morale
632051c0ac
OP-1683 - Increase resolution for OneShot125 running timer at 8MHz, setup automatically rates for OneShot
2015-01-30 21:22:00 +01:00
Alessio Morale
1ad4a01b75
OP-1682 - Fixes for review
2015-01-25 21:51:37 +01:00
Alessio Morale
5f034dfd3e
OP-1683 - Missing uncrustification for f1 stubs.
2015-01-24 15:41:04 +01:00
Alessio Morale
411416d2a1
OP-1683 - Fix compilation for CC (not yet supported)
2015-01-24 00:18:20 +01:00
Alessio Morale
caa51253db
OP-1682 - Workaround overflow issue with pwm receiver inputs on shared timers.
2015-01-19 21:55:40 +01:00
Fredrik Arvidsson
c8c3a46735
Uncrustify
2015-01-09 21:49:03 +01:00
Mathieu Rondonneau
acc124cacb
OP-1625: DSM: more robust detection of resolution
...
This allows switching back and forth between 10 and 11 bit
code which prevents getting locked up in one or the other.
It also avoids a situation that can cause an infinite
recursion.
This changeset is cherry-picked from TauLabs (b7eaf87502085666d9738ae16c66170f187f3981).
Thanks to Taulabs for improving OpenPilot's DSM autodetect feature.
2014-12-30 21:29:06 -08:00
Alessio Morale
99d73426b8
Uncrustify
2014-11-27 12:05:59 +01:00
Fredrik Larsson
cd94410468
DSM Protocol removed flight firmware
2014-11-22 08:32:00 +11:00
Mathieu Rondonneau
b0cc9ce021
OP-1625: DSM2/DSMX autodetection of channel resolution.
2014-11-20 19:58:34 -08:00
a*morale
d1a229a9cb
OP-1553 OPLink does not work as non coordinator
...
Revert "OP-1535 - SPI:Use pio for small blocks"
This reverts commit 823a1afad2
.
2014-10-20 21:46:14 +02:00
Alessio Morale
823a1afad2
OP-1535 - SPI:Use pio for small blocks
2014-10-11 09:57:25 +02:00
Alessio Morale
cd7c76aa13
OP-1275 move implementation specific enums out of common pios_i2c_priv.h
2014-09-16 00:42:50 +02:00
Stefan Karlsson
3d8d803c33
OP-922 Fix missing ppm_id to ppm_out_id rename
2014-08-16 16:58:16 +02:00
Alessio Morale
c6a773363f
Merge branch 'amorale/OP-943_add_malloc_for_ccsram' into next
...
Conflicts:
flight/pios/common/pios_adxl345.c
make/apps-defs.mk
2014-06-22 19:31:03 +02:00