forked from Archive/PX4-Autopilot
boards: CUAV CAN GPS enable safety button
- the circuit breaker was changed to set by default (disabling the safety button)
This commit is contained in:
parent
e9409e59e6
commit
a86e854a3b
|
@ -1,22 +1,5 @@
|
||||||
|
include (${CMAKE_CURRENT_LIST_DIR}/uavcan_board_identity)
|
||||||
|
|
||||||
|
|
||||||
# UAVCAN boot loadable Module ID
|
|
||||||
set(uavcanblid_sw_version_major 0)
|
|
||||||
set(uavcanblid_sw_version_minor 1)
|
|
||||||
add_definitions(
|
|
||||||
-DAPP_VERSION_MAJOR=${uavcanblid_sw_version_major}
|
|
||||||
-DAPP_VERSION_MINOR=${uavcanblid_sw_version_minor}
|
|
||||||
)
|
|
||||||
|
|
||||||
set(uavcanblid_hw_version_major 1)
|
|
||||||
set(uavcanblid_hw_version_minor 0)
|
|
||||||
set(uavcanblid_name "\"org.cuav.can-gps-v1\"")
|
|
||||||
|
|
||||||
add_definitions(
|
|
||||||
-DHW_UAVCAN_NAME=${uavcanblid_name}
|
|
||||||
-DHW_VERSION_MAJOR=${uavcanblid_hw_version_major}
|
|
||||||
-DHW_VERSION_MINOR=${uavcanblid_hw_version_minor}
|
|
||||||
)
|
|
||||||
add_definitions(-DUSE_S_RGB_LED_DMA)
|
add_definitions(-DUSE_S_RGB_LED_DMA)
|
||||||
|
|
||||||
px4_add_board(
|
px4_add_board(
|
||||||
|
@ -26,6 +9,7 @@ px4_add_board(
|
||||||
LABEL debug
|
LABEL debug
|
||||||
TOOLCHAIN arm-none-eabi
|
TOOLCHAIN arm-none-eabi
|
||||||
ARCHITECTURE cortex-m4
|
ARCHITECTURE cortex-m4
|
||||||
|
CONSTRAINED_MEMORY
|
||||||
ROMFSROOT cannode
|
ROMFSROOT cannode
|
||||||
UAVCAN_INTERFACES 1
|
UAVCAN_INTERFACES 1
|
||||||
DRIVERS
|
DRIVERS
|
||||||
|
@ -48,6 +32,7 @@ px4_add_board(
|
||||||
top
|
top
|
||||||
topic_listener
|
topic_listener
|
||||||
tune_control
|
tune_control
|
||||||
|
uorb
|
||||||
ver
|
ver
|
||||||
work_queue
|
work_queue
|
||||||
)
|
)
|
||||||
|
|
|
@ -22,17 +22,17 @@ px4_add_board(
|
||||||
tone_alarm
|
tone_alarm
|
||||||
uavcannode
|
uavcannode
|
||||||
MODULES
|
MODULES
|
||||||
load_mon
|
#load_mon
|
||||||
SYSTEMCMDS
|
SYSTEMCMDS
|
||||||
i2cdetect
|
#i2cdetect
|
||||||
led_control
|
#led_control
|
||||||
param
|
param
|
||||||
perf
|
#perf
|
||||||
reboot
|
#reboot
|
||||||
top
|
#top
|
||||||
topic_listener
|
#topic_listener
|
||||||
tune_control
|
#tune_control
|
||||||
uorb
|
#uorb
|
||||||
ver
|
#ver
|
||||||
work_queue
|
#work_queue
|
||||||
)
|
)
|
||||||
|
|
|
@ -3,6 +3,8 @@
|
||||||
# board specific defaults
|
# board specific defaults
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
param set-default CBRK_IO_SAFETY 0
|
||||||
|
|
||||||
neopixel start
|
neopixel start
|
||||||
safety_button start
|
safety_button start
|
||||||
tone_alarm start
|
tone_alarm start
|
||||||
|
|
Loading…
Reference in New Issue