Robin Mueller
e6d8d24cd5
Some checks failed
EIVE/eive-obsw/pipeline/head There was a failure building this commit
77 lines
3.8 KiB
C++
77 lines
3.8 KiB
C++
#ifndef BSP_Q7S_BOARDCONFIG_BUSCONF_H_
|
|
#define BSP_Q7S_BOARDCONFIG_BUSCONF_H_
|
|
|
|
namespace q7s {
|
|
|
|
static constexpr char SPI_DEFAULT_DEV[] = "/dev/spidev2.0";
|
|
static constexpr char SPI_RW_DEV[] = "/dev/spidev3.0";
|
|
|
|
static constexpr char I2C_DEFAULT_DEV[] = "/dev/i2c-1";
|
|
|
|
static constexpr char UART_GNSS_DEV[] = "/dev/ttyUL0";
|
|
static constexpr char UART_PLOC_MPSOC_DEV[] = "/dev/ttyUL2";
|
|
static constexpr char UART_PLOC_SUPERVSIOR_DEV[] = "/dev/ttyUL3";
|
|
static constexpr char UART_SYRLINKS_DEV[] = "/dev/ttyUL4";
|
|
static constexpr char UART_STAR_TRACKER_DEV[] = "/dev/ttyUL7";
|
|
|
|
static constexpr char UIO_PDEC_REGISTERS[] = "/dev/uio0";
|
|
static constexpr char UIO_PDEC_CONFIG_MEMORY[] = "/dev/uio2";
|
|
static constexpr char UIO_PDEC_RAM[] = "/dev/uio3";
|
|
|
|
namespace gpioNames {
|
|
static constexpr char GYRO_0_ADIS_CS[] = "gyro_0_adis_chip_select";
|
|
static constexpr char GYRO_1_L3G_CS[] = "gyro_1_l3g_chip_select";
|
|
static constexpr char GYRO_2_ADIS_CS[] = "gyro_2_adis_chip_select";
|
|
static constexpr char GYRO_3_L3G_CS[] = "gyro_3_l3g_chip_select";
|
|
static constexpr char MGM_0_CS[] = "mgm_0_lis3_chip_select";
|
|
static constexpr char MGM_1_CS[] = "mgm_1_rm3100_chip_select";
|
|
static constexpr char MGM_2_CS[] = "mgm_2_lis3_chip_select";
|
|
static constexpr char MGM_3_CS[] = "mgm_3_rm3100_chip_select";
|
|
static constexpr char RESET_GNSS_0[] = "reset_gnss_0";
|
|
static constexpr char RESET_GNSS_1[] = "reset_gnss_1";
|
|
static constexpr char GNSS_0_ENABLE[] = "enable_gnss_0";
|
|
static constexpr char GNSS_1_ENABLE[] = "enable_gnss_1";
|
|
static constexpr char GYRO_0_ENABLE[] = "enable_gyro_0";
|
|
static constexpr char GYRO_2_ENABLE[] = "enable_gyro_2";
|
|
static constexpr char HEATER_0[] = "heater0";
|
|
static constexpr char HEATER_1[] = "heater1";
|
|
static constexpr char HEATER_2[] = "heater2";
|
|
static constexpr char HEATER_3[] = "heater3";
|
|
static constexpr char HEATER_4[] = "heater4";
|
|
static constexpr char HEATER_5[] = "heater5";
|
|
static constexpr char HEATER_6[] = "heater6";
|
|
static constexpr char HEATER_7[] = "heater7";
|
|
static constexpr char SA_DPL_PIN_0[] = "sa_dpl_0";
|
|
static constexpr char SA_DPL_PIN_1[] = "sa_dpl_1";
|
|
static constexpr char SPI_MUX_BIT_1_PIN[] = "spi_mux_bit_1";
|
|
static constexpr char SPI_MUX_BIT_2_PIN[] = "spi_mux_bit_2";
|
|
static constexpr char SPI_MUX_BIT_3_PIN[] = "spi_mux_bit_3";
|
|
static constexpr char SPI_MUX_BIT_4_PIN[] = "spi_mux_bit_4";
|
|
static constexpr char SPI_MUX_BIT_5_PIN[] = "spi_mux_bit_5";
|
|
static constexpr char SPI_MUX_BIT_6_PIN[] = "spi_mux_bit_6";
|
|
static constexpr char EN_RW_CS[] = "en_rw_cs";
|
|
static constexpr char EN_RW_1[] = "enable_rw_1";
|
|
static constexpr char EN_RW_2[] = "enable_rw_2";
|
|
static constexpr char EN_RW_3[] = "enable_rw_3";
|
|
static constexpr char EN_RW_4[] = "enable_rw_4";
|
|
static constexpr char GNSS_MUX_SELECT[] = "gnss_mux_select";
|
|
static constexpr char RAD_SENSOR_CHIP_SELECT[] = "rad_sensor_chip_select";
|
|
static constexpr char PAPB_BUSY_SIGNAL_VC0[] = "papb_busy_signal_vc0";
|
|
static constexpr char PAPB_EMPTY_SIGNAL_VC0[] = "papb_empty_signal_vc0";
|
|
static constexpr char PAPB_BUSY_SIGNAL_VC1[] = "papb_busy_signal_vc1";
|
|
static constexpr char PAPB_EMPTY_SIGNAL_VC1[] = "papb_empty_signal_vc1";
|
|
static constexpr char PAPB_BUSY_SIGNAL_VC2[] = "papb_busy_signal_vc2";
|
|
static constexpr char PAPB_EMPTY_SIGNAL_VC2[] = "papb_empty_signal_vc2";
|
|
static constexpr char PAPB_BUSY_SIGNAL_VC3[] = "papb_busy_signal_vc3";
|
|
static constexpr char PAPB_EMPTY_SIGNAL_VC3[] = "papb_empty_signal_vc3";
|
|
static constexpr char RS485_EN_TX_CLOCK[] = "tx_clock_enable_ltc2872";
|
|
static constexpr char RS485_EN_TX_DATA[] = "tx_data_enable_ltc2872";
|
|
static constexpr char RS485_EN_RX_CLOCK[] = "rx_clock_enable_ltc2872";
|
|
static constexpr char RS485_EN_RX_DATA[] = "rx_data_enable_ltc2872";
|
|
static constexpr char PDEC_RESET[] = "pdec_reset";
|
|
static constexpr char BIT_RATE_SEL[] = "bit_rate_sel";
|
|
} // namespace gpioNames
|
|
} // namespace q7s
|
|
|
|
#endif /* BSP_Q7S_BOARDCONFIG_BUSCONF_H_ */
|