boards: bluerobotics: Add navigator board support (#24018)

This commit is contained in:
João Mário Lago
2025-04-09 19:14:06 -03:00
committed by GitHub
parent 151c548838
commit 3968b35ac5
15 changed files with 661 additions and 2 deletions
@@ -0,0 +1,13 @@
#!/bin/sh
#
# board specific defaults
#------------------------------------------------------------------------------
# system_power not implemented
param set CBRK_SUPPLY_CHK 894281
# 1K + 4.7K
param set BAT1_V_DIV 5.7
# Always keep current config
param set SYS_AUTOCONFIG 0
@@ -0,0 +1,7 @@
#!/bin/sh
#
# board specific extras init
#------------------------------------------------------------------------------
rc_input start -d /dev/ttyAMA1
rc_update start
@@ -0,0 +1,39 @@
#!/bin/sh
#
# Navigator specific board sensors init
#------------------------------------------------------------------------------
if ! mmc5983ma start -s -m 0 -R 4
then
echo "mmc5983ma not found."
fi
if ! ak09916 start -I -R 6
then
echo "AK09916 not found."
fi
if ! icm20602 start -s -m 0 -R 14
then
echo "ICM20602 not found."
fi
if ! bmp280 start -I
then
echo "bmp280 not found."
fi
if ! ads1115 start -I
then
echo "ads1115 not found."
fi
if ! pca9685_pwm_out start -a 0x40 -b 4
then
echo "pca9685_pwm_out not found."
fi
if ! neopixel start
then
echo "neopixel not found."
fi