Skip to content

Commit 29d84d6

Browse files
HerePro: add support for publishing IMU data
1 parent 1dc46b2 commit 29d84d6

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

HerePro/hwdef.dat

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,11 +146,13 @@ PB4 SPI1_MISO SPI1
146146
PD7 SPI1_MOSI SPI1
147147
PE9 MAG_CS CS
148148
SPIDEV rm3100 SPI1 DEVID1 MAG_CS MODE0 1*MHZ 1*MHZ
149+
SPIDEV icm45686 SPI4 DEVID4 MPU_CS MODE0 2*MHZ 8*MHZ
149150

150151

151152
define HAL_DEFAULT_INS_FAST_SAMPLE 5
152153

153154
COMPASS RM3100 SPI:rm3100 false ROTATION_PITCH_180
155+
IMU Invensensev3 SPI:icm45686 ROTATION_NONE
154156

155157
# Now setup the pins for the microSD card, if available.
156158
PC8 SDMMC1_D0 SDMMC1 SPEED_HIGH
@@ -253,3 +255,6 @@ define HAL_UART_MIN_RX_SIZE 8192
253255
define HAL_UART_STATS_ENABLED 1
254256

255257
define SERIAL_USB_BUFFERS_SIZE 4096
258+
259+
define AP_PERIPH_IMU_ENABLED TRUE
260+
define HAL_DEFAULT_INS_FAST_SAMPLE 5

0 commit comments

Comments
 (0)