mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-24 13:23:34 +08:00
posix: enable ROMFSROOT
This will copy the ROMFS into the build directory under etc/, and thus needs a change of the PX4 startup parameters and mixer paths.
This commit is contained in:
@@ -28,7 +28,7 @@ while [ $n -lt $sitl_num ]; do
|
||||
|
||||
pushd "$working_dir" &>/dev/null
|
||||
echo "starting instance $n in $(pwd)"
|
||||
../bin/px4 -i $n -d "$src_path/ROMFS/px4fmu_common" -s etc/init.d-posix/rcS >out.log 2>err.log &
|
||||
../bin/px4 -i $n -d "$build_path/etc" -s etc/init.d-posix/rcS >out.log 2>err.log &
|
||||
popd &>/dev/null
|
||||
|
||||
n=$(($n + 1))
|
||||
|
||||
Reference in New Issue
Block a user