mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
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>
18 lines
379 B
Bash
Executable File
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
|