PX4-Autopilot/Tools/linux_run.sh
Mark Charlebois 2cd44a24ea Linux: Added linker script support for param and added mc_att_control
Added linker script to resolve __param_start and __param_end.

Added mc_att_control to list of supported builtins.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-20 11:16:26 -07:00

18 lines
379 B
Bash
Executable File

#!/bin/bash
if [ ! -c /tmp/ttyS0 ] || [ ! -c /tmp/ttyS1 ]
then
echo "Need to create /tmp/ttyS[01]"
echo "socat PTY,link=/tmp/ttyS0 PTY,link=/tmp/ttyS1"
exit 1
fi
if [ ! -d /fs/msdcard ] && [ ! -w /fs/msdcard ]
then
echo "Need to create/mount writable /fs/microsd"
echo "sudo mkdir -p /fs/msdcard"
echo "sudo chmod 777 /fs/msdcard"
fi
Build/linux_default.build/mainapp