Skip to content

Commit 0cb7b8b

Browse files
authored
voxl2: Changed from old CONFIG_BOARD_ROOTFSDIR to new CONFIG_BOARD_ROOT_PATH in Posix builds (#24392)
1 parent e6b80d8 commit 0cb7b8b

File tree

3 files changed

+2
-9
lines changed

3 files changed

+2
-9
lines changed

Diff for: Kconfig

-7
Original file line numberDiff line numberDiff line change
@@ -73,13 +73,6 @@ menu "Toolchain"
7373
help
7474
relative path to the ROMFS root directory
7575

76-
config BOARD_ROOTFSDIR
77-
string "Root directory"
78-
depends on PLATFORM_POSIX
79-
default "."
80-
help
81-
Configure the root directory in the file system for PX4 files
82-
8376
config BOARD_IO
8477
string "IO board name"
8578
default "px4_io-v2_default"

Diff for: boards/modalai/voxl2/default.px4board

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
CONFIG_PLATFORM_POSIX=y
22
CONFIG_BOARD_LINUX_TARGET=y
33
CONFIG_BOARD_TOOLCHAIN="aarch64-linux-gnu"
4-
CONFIG_BOARD_ROOTFSDIR="/data/px4"
4+
CONFIG_BOARD_ROOT_PATH="/data/px4"
55
CONFIG_DRIVERS_ACTUATORS_VOXL_ESC=y
66
CONFIG_DRIVERS_GPS=y
77
CONFIG_DRIVERS_OSD_MSP_OSD=y

Diff for: platforms/common/include/px4_platform_common/defines.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ __BEGIN_DECLS
9797
extern long PX4_TICKS_PER_SEC;
9898
__END_DECLS
9999

100-
#define PX4_ROOTFSDIR CONFIG_BOARD_ROOTFSDIR
100+
#define PX4_ROOTFSDIR CONFIG_BOARD_ROOT_PATH
101101

102102
// Qurt doesn't have an SD card for storage
103103
#ifndef __PX4_QURT

0 commit comments

Comments
 (0)