diff --git a/Kconfig b/Kconfig index f9f2e5e8ec..20ee4a2266 100644 --- a/Kconfig +++ b/Kconfig @@ -73,13 +73,6 @@ menu "Toolchain" help relative path to the ROMFS root directory - config BOARD_ROOTFSDIR - string "Root directory" - depends on PLATFORM_POSIX - default "." - help - Configure the root directory in the file system for PX4 files - config BOARD_IO string "IO board name" default "px4_io-v2_default" diff --git a/boards/modalai/voxl2/default.px4board b/boards/modalai/voxl2/default.px4board index 20860e3fce..63023ff4b9 100644 --- a/boards/modalai/voxl2/default.px4board +++ b/boards/modalai/voxl2/default.px4board @@ -1,7 +1,7 @@ CONFIG_PLATFORM_POSIX=y CONFIG_BOARD_LINUX_TARGET=y CONFIG_BOARD_TOOLCHAIN="aarch64-linux-gnu" -CONFIG_BOARD_ROOTFSDIR="/data/px4" +CONFIG_BOARD_ROOT_PATH="/data/px4" CONFIG_DRIVERS_ACTUATORS_VOXL_ESC=y CONFIG_DRIVERS_GPS=y CONFIG_DRIVERS_OSD_MSP_OSD=y diff --git a/platforms/common/include/px4_platform_common/defines.h b/platforms/common/include/px4_platform_common/defines.h index 3b420f95f1..eba5e944d9 100644 --- a/platforms/common/include/px4_platform_common/defines.h +++ b/platforms/common/include/px4_platform_common/defines.h @@ -97,7 +97,7 @@ __BEGIN_DECLS extern long PX4_TICKS_PER_SEC; __END_DECLS -#define PX4_ROOTFSDIR CONFIG_BOARD_ROOTFSDIR +#define PX4_ROOTFSDIR CONFIG_BOARD_ROOT_PATH // Qurt doesn't have an SD card for storage #ifndef __PX4_QURT