aboutsummaryrefslogtreecommitdiff
path: root/src/zjs_common.h
diff options
context:
space:
mode:
authorJimmy Huang <jimmy.huang@intel.com>2017-10-12 14:45:08 -0700
committerGeoff Gustafson <geoff@linux.intel.com>2017-10-31 09:56:49 -0700
commite3f2f43c4931d7611551b0ba0e9e714f28e833c3 (patch)
tree095cbe4cd56e443347171a9c0fd9c523a45f739d /src/zjs_common.h
parent2d41bb5e89dee3628e039ffe0b80fe2769401513 (diff)
[aio] Added FRDM-K64F support
Fixes #544 Signed-off-by: Jimmy Huang <jimmy.huang@intel.com>
Diffstat (limited to 'src/zjs_common.h')
-rw-r--r--src/zjs_common.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/zjs_common.h b/src/zjs_common.h
index 966d843..1f611ed 100644
--- a/src/zjs_common.h
+++ b/src/zjs_common.h
@@ -146,11 +146,10 @@ int zjs_get_ms(void);
#define GYRO_DEVICE_NAME BMI160_NAME
#define TEMP_DEVICE_NAME BMI160_NAME
#elif CONFIG_BOARD_FRDM_K64F
-#define ADC_DEVICE_NAME "ADC_0"
-#define ADC_BUFFER_SIZE 2
-#define AIO_MIN 9
-#define AIO_MAX 14
-#define AIO_LEN 6
+#define ADC_BUFFER_SIZE 5
+#define AIO_MIN 12
+#define AIO_MAX 15
+#define AIO_LEN 4
#define ACCEL_DEVICE_NAME CONFIG_FXOS8700_NAME
#define MAGN_DEVICE_NAME CONFIG_FXOS8700_NAME
#endif