David Sidrane c967cade47 HOTFIX:Backport of second round upstream NuttX i2c fix (#6771)
backport 3cd66af889b42b036d6c9d88e067fc3b8abbdb2a and pr 258

   Applies to STM32F4 and STM32F7

   STM32, STM32 F7, and STM32 L4: Clone Freddie Chopin's I2C change to similar STM32 I2C drivers.

   Save elapsed time before handling I2C in stm32_i2c_sem_waitstop()
   This patch follows the same logic as in previous fix to
   stm32_i2c_sem_waitdone().
   It is possible that a context switch occurs after I2C registers are read
   but before elapsed time is saved in stm32_i2c_sem_waitstop(). It is then
   possible that the registers were read only once with "elapsed time"
   equal 0. When scheduler resumes this thread it is quite possible that
   now "elapsed time" will be well above timeout threshold. In that case
   the function returns and reports a timeout, even though the registers
   were not read "recently".
   Fix this by inverting the order of operations in the loop - save elapsed
   time before reading registers. This way a context switch anywhere in the
   loop will not cause an erroneous "timeout" error.
2017-03-10 07:26:51 -10:00
2017-03-10 09:00:24 +01:00
2016-07-29 11:05:01 +02:00
2017-03-04 22:47:54 +08:00
2016-12-21 08:34:20 +01:00
2017-03-10 11:31:07 +01:00
2016-10-19 15:31:54 +02:00
2016-12-21 08:34:20 +01:00
2014-03-22 13:32:33 -04:00
2017-01-02 10:14:41 +01:00
2016-10-11 21:25:58 -04:00
2016-10-11 21:25:58 -04:00
2015-06-12 08:30:50 +01:00
2015-07-13 14:52:39 -07:00
2017-02-23 22:37:18 +01:00
2016-01-01 21:21:49 +01:00

PX4 Pro Drone Autopilot

Releases DOI Build Status Coverity Scan

Gitter

This repository holds the PX4 Pro flight control solution for drones, with the main applications located in the src/modules directory. It also contains the PX4 Drone Middleware Platform, which provides drivers and middleware to run drones.

Weekly Dev Call

The PX4 Dev Team syncs up on its weekly dev call (connect via Mumble client).

  • When: Tuesday 17:00 Central European Time, 11:00 Eastern Time, 08:00 Pacific Standard Time
  • Server: sitl01.dronetest.io
  • Port: 64738
  • Password: px4
  • The agenda is announced in advance on the PX4 Discuss
  • Issues and PRs may be labelled "devcall" to flag them for discussion

Please refer to the user documentation and user forum for flying drones with the PX4 flight stack.

Developers

Maintenance Team

Supported Hardware

This repository contains code supporting these boards:

Project Milestones

The PX4 software and Pixhawk hardware (which has been designed for it) has been created in 2011 by Lorenz Meier.

S
Description
a mirror of official PX4-Autopilot
Readme BSD-3-Clause
587 MiB
Languages
C++ 51.2%
C 38.5%
CMake 4.7%
Python 3.9%
Shell 1.3%
Other 0.1%