mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-06 16:49:51 +08:00
px4cannode-v1 use board common reset interface
This commit is contained in:
committed by
Lorenz Meier
parent
999ecb84d0
commit
1aad48c869
@@ -555,7 +555,15 @@ CONFIG_ARCH_HAVE_IRQBUTTONS=y
|
||||
#
|
||||
# Board-Specific Options
|
||||
#
|
||||
# CONFIG_LIB_BOARDCTL is not set
|
||||
CONFIG_LIB_BOARDCTL=y
|
||||
CONFIG_BOARDCTL_RESET=y
|
||||
# CONFIG_BOARDCTL_UNIQUEID is not set
|
||||
# CONFIG_BOARDCTL_USBDEVCTRL is not set
|
||||
# CONFIG_BOARDCTL_TSCTEST is not set
|
||||
# CONFIG_BOARDCTL_ADCTEST is not set
|
||||
# CONFIG_BOARDCTL_PWMTEST is not set
|
||||
# CONFIG_BOARDCTL_GRAPHICS is not set
|
||||
# CONFIG_BOARDCTL_IOCTL is not set
|
||||
CONFIG_BOARD_HAS_PROBES=y
|
||||
# CONFIG_BOARD_USE_PROBES is not set
|
||||
|
||||
|
||||
@@ -35,6 +35,7 @@ include_directories(../../bootloaders/include)
|
||||
|
||||
set(SRCS)
|
||||
list(APPEND SRCS
|
||||
../common/stm32/board_reset.c
|
||||
px4cannode_can.c
|
||||
px4cannode_buttons.c
|
||||
px4cannode_init.c
|
||||
|
||||
Reference in New Issue
Block a user