You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
523 B
28 lines
523 B
#!/bin/sh |
|
# |
|
# ModalAI FC-v2 specific board sensors init |
|
#------------------------------------------------------------------------------ |
|
|
|
# VOXL ESC - TODO |
|
#if param greater UART_ESC_CONFIG 0 |
|
#then |
|
# modalai_esc -d /dev/ttyS4 start |
|
#fi |
|
|
|
board_adc start |
|
|
|
# VOXL Power Module |
|
voxlpm -X -b 3 -k -T VBATT start |
|
voxlpm -X -b 3 -T P5VDC start |
|
|
|
# Internal SPI1 ICM-42688 |
|
icm42688p -s -b 1 -R 12 start |
|
|
|
# Internal SPI2 ICM-42688 |
|
icm42688p -s -b 2 -R 12 start |
|
|
|
# Internal I2C mag |
|
bmm150 -I start |
|
|
|
# Internal I2C baro |
|
bmp388 -I start
|
|
|