more improvements for RPi code
All checks were successful
EIVE/eive-obsw/pipeline/head This commit looks good
All checks were successful
EIVE/eive-obsw/pipeline/head This commit looks good
This commit is contained in:
@ -45,14 +45,15 @@ private:
|
||||
|
||||
/* ACS board specific variables */
|
||||
#ifdef RASPBERRY_PI
|
||||
uint8_t mgm0Lis3mdlChipSelect = 2;
|
||||
uint8_t mgm1Rm3100ChipSelect = 3;
|
||||
uint8_t gyro0AdisChipSelect = 4;
|
||||
uint8_t gyro1L3gd20ChipSelect = 5;
|
||||
int8_t gyro2AdisChipSelect = 6;
|
||||
uint8_t gyro3L3gd20ChipSelect = 16;
|
||||
uint8_t mgm2Lis3mdlChipSelect = 17;
|
||||
uint8_t mgm3Rm3100ChipSelect = 27;
|
||||
uint8_t mgm0Lis3mdlChipSelect = gpio::MGM_0_BCM_PIN;
|
||||
uint8_t mgm1Rm3100ChipSelect = gpio::MGM_1_BCM_PIN;
|
||||
uint8_t mgm2Lis3mdlChipSelect = gpio::MGM_2_BCM_PIN;
|
||||
uint8_t mgm3Rm3100ChipSelect = gpio::MGM_3_BCM_PIN;
|
||||
|
||||
uint8_t gyro0AdisChipSelect = gpio::GYRO_0_BCM_PIN;
|
||||
uint8_t gyro1L3gd20ChipSelect = gpio::GYRO_1_BCM_PIN;
|
||||
uint8_t gyro2AdisChipSelect = gpio::GYRO_2_BCM_PIN;
|
||||
uint8_t gyro3L3gd20ChipSelect = gpio::GYRO_3_BCM_PIN;
|
||||
#elif defined(XIPHOS_Q7S)
|
||||
uint8_t mgm0Lis3mdlChipSelect = q7s::GPIO_MGM_0_LIS3_CS;
|
||||
uint8_t mgm1Rm3100ChipSelect = q7s::GPIO_MGM_1_RM3100_CS;
|
||||
|
Reference in New Issue
Block a user