mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
* Made voxl2 apps processor and slpi dsp processor builds into separate board builds so that they can more easily be configured independently. * Removed board specific link library command from px4_config.cmake and moved it to a more generic board specific solution that can be used by any board that needs custom link libraries. * Removed redundant cmake command for Qurt * Removed unused definition from Qurt cmake file * Removed unnecessary QURT_LIB cmake function * Reorganized the voxl2 build structure to avoid 4 level board directories. * Reverted cmake files to remove 4 level board naming code * Updated documentation
20 lines
582 B
Bash
Executable File
20 lines
582 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Push slpi image to voxl2
|
|
adb push build/modalai_voxl2-slpi_default/platforms/qurt/libpx4.so /usr/lib/rfsa/adsp
|
|
|
|
# Push apps processor image to voxl2
|
|
adb push build/modalai_voxl2_default/bin/px4 /usr/bin
|
|
|
|
# Push scripts to voxl2
|
|
adb push build/modalai_voxl2_default/bin/px4-alias.sh /usr/bin
|
|
adb push boards/modalai/voxl2/target/voxl-px4 /usr/bin
|
|
adb shell chmod a+x /usr/bin/px4-alias.sh
|
|
adb shell chmod a+x /usr/bin/voxl-px4
|
|
|
|
# Push configuration file
|
|
adb shell mkdir -p /etc/modalai
|
|
adb push boards/modalai/voxl2/target/voxl-px4.config /etc/modalai
|
|
|
|
adb shell sync
|