boards: holybro can-gps-v1 create separate default and debug variants

This commit is contained in:
Daniel Agar 2021-03-28 11:55:53 -04:00
parent 86b831b019
commit e58af90bac
2 changed files with 46 additions and 8 deletions

View File

@ -0,0 +1,36 @@
include (${CMAKE_CURRENT_LIST_DIR}/uavcan_board_identity)
px4_add_board(
PLATFORM nuttx
VENDOR holybro
MODEL can-gps-v1
LABEL debug
TOOLCHAIN arm-none-eabi
ARCHITECTURE cortex-m4
CONSTRAINED_MEMORY
ROMFSROOT cannode
UAVCAN_INTERFACES 2
DRIVERS
adc/board_adc
barometer/bmp388
bootloaders
gps
imu/bosch/bmi088
lights/rgbled_ncp5623c
magnetometer/bosch/bmm150
uavcannode
MODULES
ekf2
load_mon
sensors
SYSTEMCMDS
i2cdetect
param
perf
reboot
top
topic_listener
uorb
ver
work_queue
)

View File

@ -8,6 +8,7 @@ px4_add_board(
TOOLCHAIN arm-none-eabi
ARCHITECTURE cortex-m4
CONSTRAINED_MEMORY
CONSTRAINED_FLASH
ROMFSROOT cannode
UAVCAN_INTERFACES 2
DRIVERS
@ -20,14 +21,15 @@ px4_add_board(
magnetometer/bosch/bmm150
uavcannode
MODULES
load_mon
#ekf2
sensors
SYSTEMCMDS
i2cdetect
#i2cdetect
param
perf
reboot
top
topic_listener
ver
work_queue
#perf
#top
#topic_listener
#uorb
#ver
#work_queue
)