diff --git a/boards/frdm-k22f/include/board.h b/boards/frdm-k22f/include/board.h index 072c2624dc..b85afc797a 100644 --- a/boards/frdm-k22f/include/board.h +++ b/boards/frdm-k22f/include/board.h @@ -54,6 +54,14 @@ extern "C" #define LED2_TOGGLE (GPIOD->PTOR = LED2_MASK) /** @} */ +/** + * @name FXOS8700CQ 3-axis accelerometer and magnetometer bus configuration + * @{ + */ +#define FXOS8700_PARAM_I2C I2C_DEV(0) +#define FXOS8700_PARAM_ADDR 0x1C +/** @} */ + /** * @brief Initialize board specific hardware, including clock, LEDs and std-IO */