David Sidrane
42a8a6ffac
omnibus-f4sd:Added Logical BOARD specific LED mapping
...
Define the logical LED that are uses on omnibus-f4sd
2018-11-19 14:32:47 -05:00
David Sidrane
1da0021be9
nxphlite-v3:Added Logical BOARD specific LED mapping
...
Define the logical LED that are uses on nxphlite-v3
2018-11-19 14:32:47 -05:00
David Sidrane
a12f26aee0
mindpx-v2:Added Logical BOARD specific LED mapping
...
Define the logical LED that are uses on mindpx-v2
2018-11-19 14:32:47 -05:00
David Sidrane
3c6539257f
crazyflie:Added Logical BOARD specific LED mapping
...
Define the logical LED that are uses on crazyflie
2018-11-19 14:32:47 -05:00
David Sidrane
e960978296
auav-x21:Added Logical BOARD specific LED mapping
...
Define the logical LED that are uses on auav-x21
2018-11-19 14:32:47 -05:00
David Sidrane
aa30560d68
aerofc-v1:Added Logical BOARD specific LED mapping
...
Define the logical LED that are uses on aerofc-v1
2018-11-19 14:32:47 -05:00
David Sidrane
96ba6c1174
sitl led:Support logical LED operations in commander
...
add support for all the LEDS to support
BOARD_HAS_CONTROL_STATUS_LEDS
2018-11-19 14:32:47 -05:00
David Sidrane
0a1dd24af6
omnibus-f4sd:led clean up code and prevent out of bounds indexing
2018-11-19 14:32:47 -05:00
David Sidrane
dc29820bd9
Document the LED colors used
2018-11-19 14:32:47 -05:00
David Sidrane
98394afcc7
board common:Define default CONTROL_STATUS LED mapping
...
This commit is the groundwork to fix the power LED
blinking on V5
Background:
----------
Early boards only had an AMBER LED that was used to
indicate a High Load condition.
This change defines the new logical inteface
the LED_<color> should not be used in application
code moving forward, only the minipulator macros
should be used.
Logical usage Legacy default
------------------------+-------------
BOARD_OVERLOAD_LED | LED_RED
Later boards defined BOARD_HAS_CONTROL_STATUS_LEDS
and added the use of a BLUE and GREEN LED that were
used as follows:
Logical usage Legacy default
------------------------+-------------
BOARD_ARMED_LED | LED_BLUE
BOARD_ARMED_STATE_LED | LED_GREEN
With this PR a board may now define _only_ a subset
the leds and map them at the board level to the
color LED it wants to use.
Logical usage Legacy default
------------------------+-------------
BOARD_OVERLOAD_LED | LED_RED
when BOARD_HAS_CONTROL_STATUS_LEDS is defined
BOARD_ARMED_LED | LED_BLUE
BOARD_ARMED_STATE_LED | LED_GREEN
If any of the BOARD_{OVERLOAD|ARMED|ARMED_STATE}_LED are not
defined. The code output generates a null action for that
LED.
2018-11-19 14:32:47 -05: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
CarlOlsson
6499a4ffc7
board_config: fixed typo
2018-10-22 09:26:06 -04: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
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
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
Beat Küng
b9a99969a7
board_get_uuid: fix alignment issues
...
board_get_px4_guid() called board_get_uuid() with a 2 bytes offset into an
uint8_t array. This gives no guarantees on alignment, and board_get_uuid()
casts it to an uint32_t array, leading to potentially unaligned accesses.
2018-10-03 10:30:10 +02:00
David Sidrane
a934d6e3f2
samv7:Fixed incorrect index populating px4_guid
2018-10-03 10:30:10 +02:00
David Sidrane
03948c1ad3
kinetis:Fixed incorrect index populating px4_guid
2018-10-03 10:30:10 +02:00
Beat Küng
daf05b3854
board_common: add PX4_SOC_ARCH_ID_UNUSED = 0 to PX4_SOC_ARCH_ID_t
...
Just to make sure we never have an UUID == 0
2018-10-03 10:30:10 +02:00
David Sidrane
0b17995e81
eagle:revert CMakeLists.txt to wrong sitl, add board identity API
...
This file was clearly clearly but built.
2018-10-03 10:30:10 +02:00
David Sidrane
bdaff018b7
samv7:Add PX4 GUID API
2018-10-03 10:30:10 +02:00
David Sidrane
43f6c4df77
kinetis:Add PX4 GUID API
2018-10-03 10:30:10 +02:00
David Sidrane
4e32ca45f1
sitl:Use PX4_SOC_ARCH_ID_t from board common
2018-10-03 10:30:10 +02:00
David Sidrane
d85452863d
rpi:Use PX4_SOC_ARCH_ID_t from board common
2018-10-03 10:30:10 +02:00
David Sidrane
3d96e2ef60
ocpoc:Use PX4_SOC_ARCH_ID_t from board common
2018-10-03 10:30:10 +02:00
David Sidrane
5fea494a2d
eagle:Use PX4_SOC_ARCH_ID_t from board common
2018-10-03 10:30:10 +02:00
David Sidrane
dc59e19bbb
Moved PX4_SOC_ARCH_ID from px4_micro_hal to board_common
2018-10-03 10:30:10 +02:00
David Sidrane
695a7f6839
board_common:Added missing END_DECLS from rebase
2018-10-03 10:30:10 +02:00
David Sidrane
594da6247b
board_common:Make board indenty API required.
2018-10-03 10:30:10 +02:00
David Sidrane
73552bdd64
sim:Use Non Arch specific Board identity API
2018-10-03 10:30:10 +02:00