1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-11-29 07:24:13 +01:00
Commit Graph

6269 Commits

Author SHA1 Message Date
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
Brian Webb
ff2504c61f Adds a port of the Tau Labs/dRonin FrSKY Sensor Hub module. 2017-05-17 19:45:40 -07:00
Philippe Renon
0a494a034f Merged in filnet/librepilot/LP-516_gps_jumptoapp_hangs_board (pull request #421)
LP-516 gps jumptoapp hangs board

Approved-by: Philippe Renon <philippe_renon@yahoo.fr>
Approved-by: Lalanne Laurent <f5soh@free.fr>
Approved-by: Alessio Morale <alessiomorale@gmail.com>
Approved-by: Brian Webb <webbbn@gmail.com>
2017-05-15 20:18:18 +00: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
Philippe Renon
4e3f480304 LP-516 gps: bump bootloader version (from 1 to 2) 2017-05-03 09:05:28 +02:00
Philippe Renon
a116bd2313 LP-516 gps: issuing a JumpToApp in bootloader mode will not hang board anymore
ssp_dfu guard variable was preventing any user triggered JumpToApp to be fully completed
2017-05-03 09:05:11 +02: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
58e70c8849 LP-480 reverted irelevant .xcodeproj file 2017-04-25 18:40:54 +02:00
Vladimir Zidar
50fce728f8 LP-479 Addressed PR comments 2017-04-25 14:10:08 +02:00
Vladimir Zidar
3b39f1b4ce LP-479 fix simposix firmware build 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
86022e2def LP-480 removed unused PIOS_BOARD_IO_Configure_WS2811() and PIOS_BOARD_IO_Configure_ADC() from pios_board_io.h 2017-04-24 13:04:22 +02:00
Vladimir Zidar
9d01cbe4d4 LP-480 Comments out PIOS_INCLUDE_USART and PIOS_INCLUDE_PWM from simposix pios_config.h to allow simposix fw build. 2017-04-24 13:04:22 +02:00
Vladimir Zidar
97210850c3 LP-480 add missing #include 2017-04-24 13:04:22 +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
a6f7cc6cdf LP-480 gpsplatinum board_hw_defs cleanup 2017-04-24 13:03:11 +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
027e021378 Merged in webbbn/librepilot/LP-507-convert-all-times-in-rfm22b-drive (pull request #415)
LP-507 Converts all tick times in the rfm22b driver to ms.

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:35:40 +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
Laurent Lalanne
37d1a84945 LP-504 Set speed unit to cm/s 2017-04-08 10:19:27 +02:00
Lalanne Laurent
524cba9279 Merged in f5soh/librepilot/LP-488_autotune_altitudeVario (pull request #395)
LP-488 Add AltitudeVario to Autotune

Approved-by: Philippe Renon <philippe_renon@yahoo.fr>
Approved-by: Lalanne Laurent <f5soh@free.fr>
Approved-by: Alessio Morale <alessiomorale@gmail.com>
Approved-by: Mateusz Kaduk <mateusz.kaduk@gmail.com>
2017-03-30 18:53:05 +00: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
f0457e654a Merged in mindnever/librepilot/LP-495_USB_CDC_ep_status_nak_fix_F4 (pull request #403)
LP-495 F4 USB CDC: remove internal rx_active state tracking and use actual endpoint status instead (like F1)

Approved-by: Alessio Morale <alessiomorale@gmail.com>
Approved-by: Philippe Renon <philippe_renon@yahoo.fr>
Approved-by: Lalanne Laurent <f5soh@free.fr>
Approved-by: Eric Price <corvuscorax@cybertrench.com>
Approved-by: Vladimir Zidar <mr_w@mindnever.org>
2017-03-30 18:02:16 +00:00
Vladimir Zidar
d0030efeb0 LP-495 PR comments and uncrustify 2017-03-28 22:29:02 +02:00
Eric Price
cae5668e64 LP-500 Allow HoTT Telemetry on all USARTS (Rcvr, Flexi and Main) (trivial) 2017-03-28 08:25:34 +02:00
Eric Price
c5ea323770 LP-500 fixed comment typos found in PR/review 2017-03-28 07:58:50 +02:00
Eric Price
545f1c863b LP-500 HoTT Bridge Module ported from TauLabs 2017-03-24 07:56:19 +01:00
Corvus Corax
02b5f26a72 LP-500 HoTT Telemetry added device definitions 2017-03-24 07:54:27 +01:00
Corvus Corax
faf894c530 LP-500 Added UAVObject for HoTT bridge 2017-03-24 07:54:21 +01:00
Corvus Corax
2977ec1382 LP-500 HoTT bridge module initial create 2017-03-24 07:54:01 +01:00
Philippe Renon
a14469e68b Merged in filnet/librepilot/LP-486_disable_gpsplatinum_compilation (pull request #394)
LP-486 temporarily disable compilation of gpsplatinum bootloader

Approved-by: Lalanne Laurent <f5soh@free.fr>
Approved-by: Alessio Morale <alessiomorale@gmail.com>
Approved-by: Harold Hankins <hwh@hjns.net>
Approved-by: Brian Webb <webbbn@gmail.com>
Approved-by: Philippe Renon <philippe_renon@yahoo.fr>
2017-03-23 19:45:58 +00:00
Pashalis Padeleris
67a9aa35ef Merged in padeler/librepilot/LP-483-python-uavtalk (pull request #389)
LP-483 python uavtalk scripts and examples

Approved-by: Lalanne Laurent <f5soh@free.fr>
Approved-by: Philippe Renon <philippe_renon@yahoo.fr>
Approved-by: Alessio Morale <alessiomorale@gmail.com>
Approved-by: Pashalis Padeleris <padeler@gmail.com>
2017-03-23 19:44:56 +00:00
Paul Jewell
7428ab59f9 Merged in paul_jewell/librepilot/LP-289_pidcontrol_ne (pull request #362)
LP-289 pidcontrol ne

Approved-by: Eric Price <corvuscorax@cybertrench.com>
Approved-by: Lalanne Laurent <f5soh@free.fr>
Approved-by: Paul Jewell <teulupaul@gmail.com>
Approved-by: Philippe Renon <philippe_renon@yahoo.fr>
Approved-by: Alessio Morale <alessiomorale@gmail.com>
2017-03-21 21:49:51 +00:00
Vladimir Zidar
a1e84d5483 Merged in mindnever/librepilot/LP-484-refactoring_oplink_and_openlrs_rcvr_ppm_callbacks (pull request #392)
LP-484 refactoring oplink and openlrs rcvr ppm callbacks

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: Alessio Morale <alessiomorale@gmail.com>
Approved-by: Brian Webb <webbbn@gmail.com>
2017-03-21 21:41:25 +00:00
Alessio Morale
dc0bd7967d Merged in alessiomorale/librepilot/LP-448_autodetect_count (pull request #391)
LP-448 - stop autodetecting the number of cells once the board is armed and after a minute from power on.

Approved-by: Alessio Morale <alessiomorale@gmail.com>
Approved-by: Philippe Renon <philippe_renon@yahoo.fr>
Approved-by: Lalanne Laurent <f5soh@free.fr>
Approved-by: Harold Hankins <hwh@hjns.net>
2017-03-21 21:29:18 +00: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
paul Jewell
c056e73b93 LP-289 Removed orphaned doxygen addtogroup directives 2017-03-09 20:14:07 +01:00
paul Jewell
dcb3d760db LP-289 Updated copyright notices 2017-03-09 19:43:24 +01:00
Eric Price
fb5f9034ea LP-289 prevent initialization with non-zero pid->I accumulator (dangerous if kI is low) 2017-03-09 19:43:24 +01:00
paul Jewell
ebc4b16d9a LP-289 Clean up comments and uncrustify 2017-03-09 19:43:24 +01:00
paul Jewell
143b5e7ab6 LP-289 Small change to comment 2017-03-09 19:43:24 +01:00