frdm-kw41z: Add FXOS8700CQ configuration

This commit is contained in:
Joakim Nohlgård 2018-06-27 21:41:14 +02:00
parent 8163e285ac
commit 95c04efe7c

View File

@ -86,6 +86,14 @@ extern "C"
#define FRDM_NOR_SPI_CS SPI_HWCS(0) /**< Flash CS pin */
/** @} */
/**
* @name FXOS8700CQ 3-axis accelerometer and magnetometer bus configuration
* @{
*/
#define FXOS8700_PARAM_I2C I2C_DEV(1)
#define FXOS8700_PARAM_ADDR 0x1F
/** @} */
/**
* @brief Initialize board specific hardware, including clock, LEDs and standard I/O
*/