Skip to content
Permalink
Browse files

samples: sensors: fxos8700: add support for twr-ke18f board

Add support for the FXOS8700CQ present on the NXP TWR-KE18F
development board. The FXOS8700CQ IRQ lines are not connected by
default on the TWR-KE18F, so only polling (no trigger) is supported.

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
  • Loading branch information...
henrikbrixandersen authored and MaureenHelm committed Jun 30, 2019
1 parent 506256c commit 917890a54465fd331d41ebea7f44f714d47c15d5
@@ -14,10 +14,11 @@ Building and Running
********************

This project outputs sensor data to the console. FXOS8700
sensor is present on the :ref:`frdm_k64f`, :ref:`frdm_kw41z`, and
:ref:`hexiwear_k64` boards. Accelerometer only devices are
present on the :ref:`frdm_kl25z`, :ref:`bbc_microbit`, and
:ref:`reel_board` boards. It does not work on QEMU.
sensor is present on the :ref:`frdm_k64f`, :ref:`frdm_kw41z`,
:ref:`hexiwear_k64`, and :ref:`twr_ke18f` boards.
Accelerometer only devices are present on the :ref:`frdm_kl25z`,
:ref:`bbc_microbit`, and :ref:`reel_board` boards. It does not work on
QEMU.

Building and Running for FRDM-K64F
==================================
@@ -39,6 +40,20 @@ Example building for the FRDM-K64F with motion detection support:
:goals: build flash
:compact:

Building and Running for TWR-KE18F
==================================
TWR-KE18F is equipped with FXOS8700CQ accelerometer and magnetometer.
The FXOS8700CQ IRQ lines, however, are not connected by default, so
motion detection is not supported.

Sample can be built and executed for the TWR-KE18F as follows:

.. zephyr-app-commands::
:zephyr-app: samples/sensor/fxos8700
:board: twr_ke18f
:goals: build flash
:compact:

Building and Running for FRDM-KL25Z
===================================
FRDM-KL25Z is equipped with MMA8451Q accelerometer.
@@ -0,0 +1,2 @@
CONFIG_FXOS8700_TRIGGER_OWN_THREAD=n
CONFIG_FXOS8700_TRIGGER_NONE=y
@@ -5,6 +5,7 @@ tests:
harness: sensor
platform_whitelist: frdm_k64f hexiwear_k64 warp7_m4 bbc_microbit
frdm_kl25z frdm_kw41z reel_board rv32m1_vega_ri5cy
twr_ke18f
tags: sensors
depends_on: i2c gpio
extra_configs:

0 comments on commit 917890a

Please sign in to comment.
You can’t perform that action at this time.