Commit Graph

4563 Commits

Author SHA1 Message Date
Jake Dahl 69b59b9d63 commented out something causing trouble with CI, it is in an unused function but I'd like to keep the comment there as a reference for future development effort 2018-11-01 10:49:26 -04:00
Jake Dahl 6ba78858e3 changed variable name 2018-11-01 10:49:26 -04:00
Jake Dahl 7c3f1d448a trimmed includes, house keeping 2018-11-01 10:49:26 -04:00
Jake Dahl 2e732b9c0b removed unneeded file, some more clean up 2018-11-01 10:49:26 -04:00
Jake Dahl f8b9217750 batt_smbus rework 2018-11-01 10:49:26 -04:00
hdiethelm 33422700de lis3mdl: fix handling when multiple sensors are available (#10753)
* lis3mdl: Report calibration successful when starting with -C option
* lis3mdl: Use PX4_OK, PX4_ERROR for return value / orb_unadvertise
* Fixes #10740
2018-11-01 10:44:41 -04:00
Jake Dahl 118e5d9607 set feedforward to zero, was set inappropriately 2018-11-01 00:05:10 +01:00
Jake Dahl b01849ce56 fixed a problem where the heater was getting stuck on. This was due to the next on time being calculated as a negative time, thus causing it to not get rescheduled in the work_queue. Also removed some includes in the header file 2018-11-01 00:05:10 +01:00
Beat Küng 52fc56a61f gps: explicitly set SPI bus speed to 1MHz
Required on RPi, the default seems to be too high.
2018-10-30 20:36:25 -04:00
Mara Bos 10c20b38ad Fix many format strings.
Fixes these invalid format strings:
- A `%d` for a pointer (replaced it by `%p`)
- A 0x%08x (and a 0x%0x8!) for a pointer (replaced by %p)
- 2 cases of `%d` for a `ssize_t` (replaced it by `%zi`)
- 1 case of a %u for an `int` (replaced by %i)
- 3 cases of %d for a `long` (replaced by %ld)
- 19 cases of `%d`, `%i`, `%u` or `%lu` for a `size_t` (replaced it by `%zu`)
- An unused formatting argument (removed it)
- A missing `%d` (added it)
- A missing `%s` (added it)
- 2 cases of `%llu` for a `uint64_t` (replaced it by `"%" PRIu64`)
- 6 cases of giving a string directly as format string (replaced it by `("%s", string)`)
- 2 cases of %*-s, which should probably have been %-*s.
  (Looks like NuttX accepts (the invalid) %*-s, but other platforms don't.)
- A %04x for a `uint32_t` (replaced by "%04" PRIx32)
2018-10-27 12:44:51 +02:00
David Sidrane 3e9e55150d px4nucleoF767ZI-v1: use board_hardfault_init API 2018-10-25 07:52:37 +02:00
David Sidrane 0658d4e2e5 px4fmu-v4pro:use board_hardfault_init API 2018-10-25 07:52:37 +02:00
David Sidrane 161288ef71 px4fmu-v4:use board_hardfault_init API 2018-10-25 07:52:37 +02:00
David Sidrane 0cd2d8f4aa px4fmu-v2:use board_hardfault_init API 2018-10-25 07:52:37 +02:00
David Sidrane 9b4b831b22 px4-same70xplained-v1:Does not use hardfault_log 2018-10-25 07:52:37 +02:00
David Sidrane 4cda5513b9 omnibus-f4sd:use board_hardfault_init API and indicate on BLUE LED 2018-10-25 07:52:37 +02:00
David Sidrane e0431911f9 nxphlite-v3:No Support for BBSRAM nor hardfault 2018-10-25 07:52:37 +02:00
David Sidrane 4353476b01 mindpx-v2:use board_hardfault_init API 2018-10-25 07:52:37 +02:00
David Sidrane 365c5d3ea7 crazyflie:use board_hardfault_init API 2018-10-25 07:52:37 +02:00
David Sidrane 082aa81ee9 av-x-v1:use board_hardfault_init API 2018-10-25 07:52:37 +02:00
David Sidrane 1e35fe189a auav-x21:use board_hardfault_init API 2018-10-25 07:52:37 +02:00
David Sidrane 1856c4760d aerocore2:Make sure errors light LED 2018-10-25 07:52:37 +02:00
David Sidrane 68ce4cf11d aerofc-v1:Does not support bbsram no board_hardfault_init 2018-10-25 07:52:37 +02:00
David Sidrane 177251cc21 px4fmu-v5:use common board_hardfault_init 2018-10-25 07:52:37 +02:00
David Sidrane 74695f3cfb stm32:add stm32 and stm32f7 board_hardfault_init 2018-10-25 07:52:37 +02:00
David Sidrane 2f6a297f3d board_common:Add API for hardfault init 2018-10-25 07:52:37 +02:00
Daniele Pettenuzzo d2e2b5e8ce add pmw3901 optical flow support for fmu-v5 (#10750) 2018-10-24 10:25:41 -04:00
David Sidrane 99294b2040 fmu:Add Range checking for PWM5 modes 2018-10-23 08:15:28 +02:00
CarlOlsson 6499a4ffc7 board_config: fixed typo 2018-10-22 09:26:06 -04:00
Jake Dahl e6d78b89a2 ::write() returns number of bytes written, so I check for not zero as a pass 2018-10-17 12:42:35 -04:00
Jake Dahl cbae32a50a I missed a ::write, stupid jenkins 2018-10-17 12:42:35 -04:00
Jake Dahl edf82d3937 added return values that I check for ::read and ::write 2018-10-17 12:42:35 -04:00
Jake Dahl 39d0e0b80c changed px4_read/write to ::read/write 2018-10-17 12:42:35 -04:00
Jake Dahl 51ffee8137 removed px4_poll, something changed and broke the way I was using it. This has been tested successfully 2018-10-17 12:42:35 -04:00
Paul Riseborough e39afb148d drivers: publish GPS antenna heading offset 2018-10-17 09:48:38 -04:00
Hamish Willee 8806389f24 Remove long command option from sf1xx driver docs 2018-10-17 10:34:33 +02:00
Hamish Willee 0e2aab46c9 Add module doc for sf1xx rangefinder 2018-10-17 10:34:33 +02:00
Mark Sauder ad8539bd15 Deprecate the tap_common directory, nuttx, driver, and makefile references to tap-v1. (#10629) 2018-10-15 11:53:29 -04:00
Zack Selgrath 919957eec6 batt_smbus_main: Rearranged bus options, added TODO
-Rearranged bus options to match other drivers
-Added TODO statement because driver cannot yet start on a specific external bus
2018-10-15 11:49:25 -04:00
Zack Selgrath c8632d9eee batt_smbus_main: Fixed bus arguments from shell
- Added two external I2C bus options corresponding to newer Pixhawk hardware (px4fmu-v5)
- Switched from getopt to px4_getopt
- Fixed bus checking loop exiting early
2018-10-15 11:49:25 -04:00
DanielePettenuzzo b83b588fc5 irlock driver: fix bus selection argument (-b) 2018-10-10 15:20:03 +02:00
Daniel Agar 4731f8c735 ADIS16477 support filtering params and enable onboard filter 2018-10-09 10:37:12 -04:00
Daniel Agar f74b96e918 AV-X DSM RC fixes (disable single wire) 2018-10-09 10:37:12 -04:00
Simone Guscetti 62d71bf36c fmu-v5 manifest: Add some comments
Clarify which  componets is on which index for the item array
2018-10-05 07:54:44 -07:00
Simone Guscetti aa3a404fa0 fmu-v5 manifest: remove entry from list
At the moment it is only declared a component, PX4IO.
2018-10-05 07:54:44 -07:00
Simone Guscetti 0f47272628 board_common: fix typo 2018-10-05 07:54:44 -07:00
Daniele Pettenuzzo a2d1f6ddce ll40ls driver: support also lidar lite v3HP (#10578) 2018-10-04 00:54:27 -04:00
mcsauder 2d208b1524 Edited aerofc-v1 file comments to not reference tap-v1. 2018-10-03 15:47:04 -04:00
Beat Küng 6c34407d57 version: rebase fixes & add bbblue 2018-10-03 10:30:10 +02:00
Beat Küng 703a5376bb bebop board config: add a separate SOC_ARCH_ID 2018-10-03 10:30:10 +02:00