David Sidrane
796a7a1a69
px4cannode-v1 bootloader uses common board api for UUID
2017-01-25 07:43:11 +01:00
David Sidrane
ae872448fd
esc35-v1 bootloader uses common board api for UUID
2017-01-25 07:43:11 +01:00
David Sidrane
bf0de997cb
Adds a board common way of retriving the SoC' Unique identifier
...
This abstraction will support mcu's with longer ID's then the
stm32 family.
It provids a common interface for byte and 32 bit word access
to the UUID data and a facility to reorder it.
2017-01-25 07:43:11 +01:00
David Sidrane
ec90bfb8a5
zubaxgnss-v1 use board common reset interface
2017-01-24 21:17:06 +01:00
David Sidrane
a29d7091c4
px4flow-v2 use board common reset interface
2017-01-24 21:17:06 +01:00
David Sidrane
dde2a0164e
s2740vc-v1 use board common reset interface
2017-01-24 21:17:06 +01:00
David Sidrane
571ffb7652
px4nucleoF767ZI-v1 use board common reset interface
2017-01-24 21:17:06 +01:00
David Sidrane
6653bfc3c9
px4esc-v1 use board common reset interface
2017-01-24 21:17:06 +01:00
David Sidrane
1aad48c869
px4cannode-v1 use board common reset interface
2017-01-24 21:17:06 +01:00
David Sidrane
999ecb84d0
tap-v1 use board common reset interface
2017-01-24 21:17:06 +01:00
David Sidrane
327d45165d
crazyflie use board common reset interface
2017-01-24 21:17:06 +01:00
David Sidrane
cde6b0ac07
posix builds define BOARD_HAS_NO_RESET and BOARD_HAS_NO_BOOTLOADER
2017-01-24 21:17:06 +01:00
David Sidrane
4b99426736
px4-stm32f4discovery use board common reset interface
2017-01-24 21:17:06 +01:00
David Sidrane
4bbcb9a768
px4-stm32f4discovery use board common reset interface
2017-01-24 21:17:06 +01:00
David Sidrane
e68532a86e
mindpx-v2 use board common reset interface
2017-01-24 21:17:06 +01:00
David Sidrane
844f753881
px4fmu-v5 use board common reset interface
2017-01-24 21:17:06 +01:00
David Sidrane
ab3a0ba025
px4fmu-v4pro use board common reset interface
2017-01-24 21:17:06 +01:00
David Sidrane
eb72b49507
px4fmu-v4 use board common reset interface
2017-01-24 21:17:06 +01:00
David Sidrane
b01e03bf4f
px4fmu-v2 use board common reset interface
2017-01-24 21:17:06 +01:00
David Sidrane
a5d1290398
px4fmu-v1 use board common reset interface
2017-01-24 21:17:06 +01:00
David Sidrane
bcba37b71c
auav-x21 use board common reset interface
2017-01-24 21:17:06 +01:00
David Sidrane
a89a51cb9b
aerofc-v1 use board common reset interface
2017-01-24 21:17:06 +01:00
David Sidrane
c2c8962765
board_crashdump uses board_system_reset API
2017-01-24 21:17:06 +01:00
David Sidrane
3692a62c35
Move board reset and entering bootloader to to board_common api
...
Define modes of reset and way to tell the system to enter
the bootloader via an api defined in board_common.h
If hardware or simulation deo not support the reset or
bootloader API and can define BOARD_HAS_NO_RESET and
BOARD_HAS_NO_BOOTLOADER respectivly.
2017-01-24 21:17:06 +01:00
José Roberto de Souza
523688e43c
aerofc: Reboot after crash
2017-01-24 00:06:12 +01:00
David Sidrane
e31dfba4d0
Include up_internal.h to pickup extern _sdata definition
...
Fixes CI error
2017-01-23 22:10:38 +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
24f9a53f60
drivers: common: stm32: Do not call stm32_bbsram_savepanic() if not implemented
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
José Roberto de Souza
0b3fa7bfbb
aerofc: Remove call to board_dma_alloc_init()
...
This commit will only remove the error message from serial console as
this board don't define BOARD_DMA_ALLOC_POOL_SIZE.
2017-01-23 22:10:38 +01:00
Lorenz Meier
99450c05f5
FMU driver: Fix code style
2017-01-21 12:47:39 +01:00
Andrew C. Smith
12a34c9fcf
Minor changes made to FMU module and the DSM code to properly catch Spekrum DSM data.
2017-01-21 12:13:40 +01:00
David Sidrane
27abc4fe6b
Moved BOARD_EEPROM_WP_CTRL further down in file (from rebase)
2017-01-21 11:45:36 +01:00
David Sidrane
e3698e6853
Use the PX4IO_FW_SEARCH_PATHS to set path for PX4IO FW update
2017-01-21 11:45:36 +01:00
David Sidrane
daba952ba9
Use the BOARD_USES_PX4IO_VERSION to set an overridable FW search path
...
1) Key the exsitance of the PX4IO HW based on BOARD_USES_PX4IO_VERSION
2) Set default PX4IO_FW_SEARCH_PATHS based on verions of the PXPIO HW
3) allow PX4IO_FW_SEARCH_PATHS to be overwritten if a board provides
BOARD_PX4IO_FW_SEARCH_PATHS
2017-01-21 11:45:36 +01:00
David Sidrane
7b4f048ca3
px4fmu-v4pro Add PX4IO HW version
2017-01-21 11:45:36 +01:00
David Sidrane
edd0b46887
px4fmu-v2 Add PX4IO HW version
2017-01-21 11:45:36 +01:00
David Sidrane
d4097a0e29
px4fmu-v1 Add PX4IO HW version
2017-01-21 11:45:36 +01:00
David Sidrane
eb25358aac
auav-x21 Add PX4IO HW version
2017-01-21 11:45:36 +01:00
David Sidrane
df1ed22cf9
Distribute sitl and board based assets for posix targets
...
This adds a src/board/<bebop|eagle|excelsior|rpi|sitl>/board_config.h
to configure the build as is done with the Nuttx targets
src/platforms/posix/include/board_config.h has been renamed to
src/platforms/posix/include/system_config.h to allow the common
posix defines to be included with the board specific defines.
2017-01-21 11:45:36 +01:00
David Sidrane
df6b46d0ba
FMUV1 Moved magic numbers for battery V div and A per V to board_config.h
2017-01-21 11:45:36 +01:00
David Sidrane
894b41e313
AEROCORE Moved magic numbers for battery V div and A per V to board_config.h
2017-01-21 11:45:36 +01:00
David Sidrane
f86a8c0e5e
MINDPX_V2 Moved magic numbers for battery V div and A per V to board_config.h
2017-01-21 11:45:36 +01:00
David Sidrane
e0fa53f444
FMUV2 Moved magic numbers for battery V div and A per V to board_config.h
2017-01-21 11:45:36 +01:00
David Sidrane
0baefec09f
FMUV4 Moved magic numbers for battery V div and A per V to board_config.h
2017-01-21 11:45:36 +01:00
David Sidrane
e9ca626e19
TAP_V1 Moved magic numbers for battery V div and A per V to board_config.h
2017-01-21 11:45:36 +01:00
David Sidrane
fd25f0a594
AEROFC_V1 Moved magic numbers for battery V div and A per V to board_config.h
2017-01-21 11:45:36 +01:00
David Sidrane
a8b9c906f6
Board_config.h will provide the BOARD_BATTERYx_V_DIV
...
Prep to distrubte the magic numbers assgined in parameters.cpp
to the board_config.h
common/board_common.h will define:
1) BOARD_BATTERY[1|2]_V_DIV as 0.0f if not defined to ensure
the missing default trips a low voltage lockdown
2) BOARD_BATTERY[1|2]_A_PER_V as 0.0f if not defined to ensure
the default leads to an unrealistic current value.
2017-01-21 11:45:36 +01:00
David Sidrane
07d7ff5f38
Removed all CONFIG_ARCH_BOARD_xxx usage in drv_gpio.h
...
Removed remaining entries that had no fmu or pio GPIO
defined
2017-01-21 11:45:36 +01:00
David Sidrane
0fe915bdfd
aerofc-v1 Removed empty GPIO table
...
aerofc-v1 does not used any user GPIO via the FMU Driver
2017-01-21 11:45:36 +01:00