#ifndef USER_ASM330LHH #define USER_ASM330LHH #define SPI1_CS_PORT GPIOA #define SPI1_CS_PIN GPIO_PIN_4 #include #include #include "asm330lhh_reg.h" #include "stm32f1xx_hal.h" #include "rtklib.h" #define IMU_READY 1 #define IMU_NOT_READY 1 #define IMU_LOCK 1 #define IMU_UNLOCK 0 void user_dev_init(); extern uint8_t rx_uart2; extern stmdev_ctx_t spi1_dev; #endif