It doesn't work unless USB is connected or occasionally while the
debug port is enabled. It's mystic.
Signed-off-by: Keith Packard <keithp@keithp.com>
ALTOS_SRC = \
ao_interrupt.c \
ao_product.c \
ALTOS_SRC = \
ao_interrupt.c \
ao_product.c \
ao_exti_stm.c \
ao_report.c \
ao_i2c_stm.c \
ao_exti_stm.c \
ao_report.c \
ao_i2c_stm.c \
ao_mpu6000.c \
ao_convert_pa.c \
ao_log.c \
ao_mpu6000.c \
ao_convert_pa.c \
ao_log.c \
* Mag sensor (hmc5883)
*/
* Mag sensor (hmc5883)
*/
#define AO_HMC5883_INT_PORT (&stm_gpioc)
#define AO_HMC5883_INT_PIN 12
#define AO_HMC5883_I2C_INDEX STM_I2C_INDEX(1)
#define AO_HMC5883_INT_PORT (&stm_gpioc)
#define AO_HMC5883_INT_PIN 12
#define AO_HMC5883_I2C_INDEX STM_I2C_INDEX(1)