Commit Graph
17 Commits
Author SHA1 Message Date
David Sidrane bef24b906e Removed v4pro cloned v4 inappropriate definitions (#6808)
* Remove remove safty swtich LED from FMU control

* Differentiate GPIO_BTN_SAFETY_FMU  from GPIO_BTN_SAFETY
2017-03-13 07:26:36 -10:00
Beat Küng b0439836f6 refactor drv_led.h: rename to drv_board_led.h
This makes it clear that it's used to control the board LED's, not external
LED's.
2017-03-12 00:08:35 +01:00
Michael Schaeuble 06c5cb506a Enable ICM 20608 on Pixhawk Pro 2017-03-08 04:18:48 +08:00
Beat Küng df8f0da70c param & param_shmem: enable locking
We need to protect access to the param_values array. This is dynamically
allocated and resized (utarray_reserve() calls realloc). If some thread
was iterating the array while another was resizing the array, the first one
would iterate on a freed array, thus accessing invalid memory.

On NuttX this could lead to hardfaults in rare conditions.

Unfortunately we need to initialize the semaphore on startup, by calling
sem_init(). This adds a param_init() method called by every board/config
that uses the params (at least I think I've found all of them)
2017-02-17 11:27:08 +01:00
Kevin 1167fba9ad px4fmu-v4pro : adding correct logic for overcurrent sensing 2017-02-12 13:52:41 +01:00
Kevin 62b4d2de0d Fixing code style 2017-02-12 13:52:41 +01:00
klopezal 089e50c574 px4fmu-v4pro : board configuration 2017-02-12 13:52:41 +01:00
David Sidrane 3dc205f28a px4fmu-v4pro using board common mcu version api 2017-01-26 08:39:12 +01:00
David Sidrane 5ede3772ee px4fmu-v4pro using board common identity api 2017-01-25 07:43:11 +01:00
David Sidrane ab3a0ba025 px4fmu-v4pro use board common reset interface 2017-01-24 21:17:06 +01:00
David Sidrane 59ec0e8aef Make board_crashdump.c arch agnostic and move to common 2017-01-23 22:10:38 +01:00
José Roberto de Souza 163bcc4bbc drivers: boards: Share board_crashdump() implementation 2017-01-23 22:10:38 +01:00
David Sidrane 7b4f048ca3 px4fmu-v4pro Add PX4IO HW version 2017-01-21 11:45:36 +01:00
David Sidrane fe0f3bc557 PX4FMUV4PRO: moved GPIO defines to px4fmu-v4pro/board_config.h 2017-01-21 11:45:36 +01:00
Lorenz Meier c5a167935e FMUv4PRO: Add missing headers 2016-12-27 21:00:51 +01:00
Beat Küng 8d1f35bff6 board cmake: remove board_name.c from all boards
leftover after rebase
2016-12-21 11:35:10 +01:00
David Sidrane 925102464b Adding px4fmu-v4pro 2016-12-21 08:34:21 +01:00