Linux_HAL_Essentials: ERLEBOARD legacy support

This config referred to the legacy Erle-Board
https://erlerobotics.com/blog/product/erle-board/
The configuration is preserved to support the
existing boards.
This commit is contained in:
Víctor Mayoral Vilches 2015-09-06 23:42:00 +02:00 committed by Andrew Tridgell
parent 6d762f62b3
commit 5036be6771
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@
# This script allows you to select which sensors you can use. For now it's resctricted to IMU use
# Coded by Víctor Mayoral Vilches <victor@erlerobot.com>
IMU_CONFIG=$(grep -A 5 "#elif CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_PXF || CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_ERLE" ../../libraries/AP_HAL/AP_HAL_Boards.h| grep HAL_INS_DEFAULT)
IMU_CONFIG=$(grep -A 5 "#elif CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_PXF || CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_ERLEBOARD" ../../libraries/AP_HAL/AP_HAL_Boards.h| grep HAL_INS_DEFAULT)
echo "Current setup is: "$IMU_CONFIG
if [ $# -eq 0 ]