diff --git a/boards/cuav/can-gps-v1/debug.px4board b/boards/cuav/can-gps-v1/debug.px4board index 45b59b7c261..227e63b5f0b 100644 --- a/boards/cuav/can-gps-v1/debug.px4board +++ b/boards/cuav/can-gps-v1/debug.px4board @@ -1,5 +1,3 @@ -CONFIG_BOARD_ARCHITECTURE="cortex-m4" -CONFIG_BOARD_TOOLCHAIN="arm-none-eabi" CONFIG_MODULES_LOAD_MON=y CONFIG_SYSTEMCMDS_I2CDETECT=y CONFIG_SYSTEMCMDS_LED_CONTROL=y diff --git a/boards/px4/fmu-v4/cannode.px4board b/boards/px4/fmu-v4/cannode.px4board index fa88a3efd59..ed556707ecf 100644 --- a/boards/px4/fmu-v4/cannode.px4board +++ b/boards/px4/fmu-v4/cannode.px4board @@ -1,3 +1,4 @@ +CONFIG_DRIVERS_UAVCAN=n CONFIG_BOARD_ROMFSROOT="cannode" CONFIG_DRIVERS_BOOTLOADERS=y CONFIG_DRIVERS_UAVCANNODE=y diff --git a/boards/px4/fmu-v4/uavcan_board_identity b/boards/px4/fmu-v4/uavcan_board_identity new file mode 100644 index 00000000000..0905752e495 --- /dev/null +++ b/boards/px4/fmu-v4/uavcan_board_identity @@ -0,0 +1,17 @@ +# 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.px4.fmu-v4_cannode\"") + +add_definitions( + -DHW_UAVCAN_NAME=${uavcanblid_name} + -DHW_VERSION_MAJOR=${uavcanblid_hw_version_major} + -DHW_VERSION_MINOR=${uavcanblid_hw_version_minor} +)