Tools: add Robsense PhenixPro Devkit Board support

This commit is contained in:
HeBin 2017-10-30 17:03:04 +08:00 committed by Lucas De Marchi
parent 1918b07705
commit c700e69541
2 changed files with 13 additions and 1 deletions

View File

@ -443,6 +443,16 @@ class aero(linux):
CONFIG_HAL_BOARD_SUBTYPE = 'HAL_BOARD_SUBTYPE_LINUX_AERO',
)
class rst_zynq(linux):
toolchain = 'arm-linux-gnueabihf'
def configure_env(self, cfg, env):
super(rst_zynq, self).configure_env(cfg, env)
env.DEFINES.update(
CONFIG_HAL_BOARD_SUBTYPE = 'HAL_BOARD_SUBTYPE_LINUX_RST_ZYNQ',
)
class px4(Board):
abstract = True
toolchain = 'arm-none-eabi'

View File

@ -54,9 +54,11 @@ imu_types = {
0x12 : "DEVTYPE_ACC_BMA180",
0x13 : "DEVTYPE_ACC_MPU6000",
0x16 : "DEVTYPE_ACC_MPU9250",
0x17 : "DEVTYPE_ACC_IIS328DQ",
0x21 : "DEVTYPE_GYR_MPU6000",
0x22 : "DEVTYPE_GYR_L3GD20",
0x24 : "DEVTYPE_GYR_MPU9250"
0x24 : "DEVTYPE_GYR_MPU9250",
0x25 : "DEVTYPE_GYR_I3G4250D"
}
decoded_devname = ""