Daniel Agar
bb7466c596
move rgbled i2c address into driver
2018-03-14 14:38:40 -04:00
Daniel Agar
de85acb8b0
px4fmu-v2 version detection and init cleanup
...
- if an invalid version is detected reinit, then reset
2018-03-14 08:02:19 +01:00
Daniel Agar
ba90952e07
px4fmu-v2 board_on_reset also reinit spi
2018-03-06 13:47:37 +01:00
Daniel Agar
a35abf2453
rename nuttx board support packages for consistecy ( #8777 )
2018-02-19 19:12:32 -05:00
Daniel Agar
cf54023c96
lis3mdl i2c address is not board specific
2018-02-09 22:40:34 +01:00
Beat Küng
10597fcf12
fmu-v5 board_config: add BOARD_BATTERY1_V_DIV and BOARD_BATTERY1_A_PER_V
2018-01-31 07:57:52 +01:00
Daniel Agar
bad813e911
move all magnetometers to the same folder
2018-01-16 23:46:45 -05:00
Simon Laube
c6c9f4dc64
IO: Implement serial driver for STM32F7 MCUs.
2018-01-16 08:36:51 +01:00
Simon Laube
a26c3a0530
IO: Split STM32F4 specific code for serial interface.
2018-01-16 08:36:51 +01:00
David Sidrane
e5317ed9b6
px4fmu-v5: Define UART7 for PX4IO
2018-01-16 08:36:51 +01:00
Lorenz Meier
01e1bac365
FMUv2: Fix Pixhawk Mini boards while hopefully retaining HK Pixhawk units.
2018-01-06 11:35:53 +01:00
Lorenz Meier
8c647f11d0
Revert "Revert "Fix for HobbyKing boards.""
...
This reverts commit b7189012dc .
2018-01-06 11:35:53 +01:00
Daniel Agar
b7189012dc
Revert "Fix for HobbyKing boards."
...
This reverts commit 75b93b0728 .
2017-12-21 15:25:25 +08:00
James Goppert
75b93b0728
Fix for HobbyKing boards.
2017-12-16 21:05:18 +00:00
Daniel Agar
aef8bf2ce8
delete incomplete nuttx sim config
2017-12-07 14:48:28 -05:00
Daniel Agar
3506f7b828
delete non-functional aerocore 1 remains
2017-12-07 14:48:28 -05:00
Beat Küng
c4ee5c318f
px4fmu-v5: make sure the internal ist8310 is detected as internal mag
2017-12-07 17:17:17 +00:00
Daniel Agar
01691e626b
Merge FMUv3 into FMUv2
2017-11-24 09:02:17 +01:00
Daniel Agar
08a108ee1b
restore FMUv2 board versioning
2017-11-24 09:02:17 +01:00
Daniel Agar
53595bac0e
board support add px4_i2c_bus_external/px4_spi_bus_external
2017-11-20 23:44:31 +01:00
Sugnan Prabhu
81809be7cd
Add include guard in headers files ( #8108 )
...
Signed-off-by: Sugnan Prabhu S <sugnan.prabhu.s@intel.com >
2017-10-11 09:47:52 -04:00
davidaroyer
89f8956ae3
boards: update ocpoc board_config defines
2017-10-05 09:34:14 -07:00
David Sidrane
b6c15d7223
nxphlite-v3:Manage Spektrum power & bind
2017-10-04 04:49:35 -10:00
David Sidrane
3e863dff5d
nxphlite-v3:ADC digital USB connected
2017-10-04 04:49:35 -10:00
David Sidrane
7a0254d9f3
nxphlite-v3:Use BOARD_HAS_CONTROL_STATUS_LEDS
2017-10-04 04:49:35 -10:00
David Sidrane
99dc1b17e2
nxphlite-v3:Add PWM RGB LEDs
2017-10-04 04:49:35 -10:00
David Sidrane
36d4619045
nxphlite-v3:Define RGB LED timer assignments
2017-10-04 04:49:35 -10:00
David Sidrane
9c7fd0ab9c
nxphlite-v3:Use LED D9 and D10, remove RGB LEDs (going to PWM)
2017-10-04 04:49:35 -10:00
David Sidrane
812128d565
nxphlite-v3:V3.5 HW changes
2017-10-04 04:49:35 -10:00
Daniel Agar
3ac6d1aa27
px4fmu-v2 and px4fmu-v3 boards cleanup
2017-09-29 10:13:51 -04:00
David Sidrane
7698c08eb7
HW Rev & Ver:0 for no value, -1 for not supported
2017-09-29 10:13:51 -04:00
David Sidrane
7ae999ecb3
HW Rev & Ver:0 for no value, -1 for not supported
2017-09-29 10:13:51 -04:00
David Sidrane
13c4a6cced
HW Rev & Ver:0 for no value, -1 for not supported
2017-09-29 10:13:51 -04:00
David Sidrane
0b70a8cc44
px4fmu-v5:Add FMUv5 HW revision and version
2017-09-29 10:13:51 -04:00
David Sidrane
8451cb324e
board_common: Add BOARD_HAS_HW_VERSIONING control
2017-09-29 10:13:51 -04:00
David Sidrane
04f7a7a47a
stm32:Add board Revision and version API for FMUv5 HW detection
2017-09-29 10:13:51 -04:00
David Sidrane
f3e925497d
board_common:Break into internal and public api.
...
Internal functions are public functions that should realy only
be called by the board config.
2017-09-29 10:13:51 -04:00
David Sidrane
9cc7148211
board_common:Documentation clean up merged
2017-09-29 10:13:51 -04:00
David Sidrane
7dc8f215f6
samv7 board identity:fix sign-compare
2017-09-29 10:13:51 -04:00
David Sidrane
83d870900c
kinetis board identity:fix sign-compare
2017-09-29 10:13:51 -04:00
David Sidrane
c44cfbf87e
nxphlite-v3 spi:fix sign-compare
2017-09-29 10:13:51 -04:00
David Sidrane
d95e985f59
px4fmu-v5:Set non default BOARD_ADC_OPEN_CIRCUIT_V
...
Due to higher bias, V open circuit on the ADC is high with a 1M
termination. This override the default connected threshold on
V5 HW. Revist once lowe termination is chosen.
2017-09-29 10:13:51 -04:00
David Sidrane
ef5d808f6d
px4fmu-v4pro:Override default BOARD_VALID_UV
...
Based on the R values on the LTC4411 the px4fmu-v4pro has a
UV of 4.01 Volts.
2017-09-29 10:13:51 -04:00
David Sidrane
5018723eb2
board_common:Define defaults for Open circuit max and UV min
...
BOARD_ADC_OPEN_CIRCUIT_V is the voltage present on an ADC due
to the bias current on the terminition resistor.
BOARD_VALID_UV is the under voltage min set by resistors on a
board's Power selector.
A battery is considered connected when the Voltage measures is
greater than BOARD_ADC_OPEN_CIRCUIT_V.
In the case where BOARD_ADC_OPEN_CIRCUIT_V is greater then
BOARD_VALID_UV we can use the HW to qualify connected.
2017-09-29 10:13:51 -04:00
Daniel Agar
474f216a0a
UAVCAN bootloaders split into separate repository ( #7878 )
2017-09-29 10:13:51 -04:00
David Sidrane
9bc1884e83
nxphlite-v3:Init and control Sensor reset pins in board init
2017-09-29 10:13:51 -04:00
Daniel Agar
01b3e6fd25
NuttX upgrade cmake wrapper ( #7873 )
...
* NuttX cmake
* px4_macros:Pass the stringified predicate as second arg to static assert
CC_ASSERT mapes to the c++ static_assert or provides the same
funtionality for c via the other macros. The c++ static assert
takes 2 argumants the prdicate and a message. This fixes the
lacking second argument.
* Updated nuttx and apps submodule to upstream nuttx 7.21+==master
This is the latest uptake of upstream nuttx and apps.
* ROMFS generate with xxd instead of objcopy
* delete nuttx-patches
* NuttX update submodules to latest px4_nuttx-master
* fix nuttx apps and board dependency
* docker_run update to latest container 2017-08-29
* cmake ROMFS portable sed usage
* NuttX update submodules to latest px4_nuttx-master
2017-09-29 10:13:51 -04:00
David Sidrane
f7d42a9e41
px4-same70xplained-v1:Moved px4-same70xplained-v1 specific README to board dir
2017-09-29 10:13:51 -04:00
David Sidrane
442f79dac6
same70xplained-v1:use px4_micro_hal PX4_BUS_NUMBER_{TO|FROM}_PX4 mapping
2017-09-29 10:13:51 -04:00
David Sidrane
f04ddf4368
Inital Commit of px4-same70xplained-v1
2017-09-29 10:13:51 -04:00