Skip to content

Commit

Permalink
lsm6dsxx test succeeded on feather
Browse files Browse the repository at this point in the history
  • Loading branch information
Miquel-HAW committed Nov 30, 2023
1 parent 79a199b commit e97f9a7
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 105 deletions.
9 changes: 8 additions & 1 deletion boards/feather-nrf52840-sense/include/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,14 @@ extern "C" {
#define SHT3X_PARAM_I2C_ADDR (SHT3X_I2C_ADDR_1) /**< I2C address */
/** @} */

#ifdef __cplusplus
/**
* @name Adress parameter for lsm6ds33 sensor
* @{
*/
#define LSM6DSXX_PARAM_ADDR (0x6A)
/** @} */

#ifdef __cplusplus
}
#endif

Expand Down
2 changes: 1 addition & 1 deletion drivers/lsm6ds33/include/lsm6ds33_params.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ extern "C" {
#define LSM6DS33_PARAM_I2C I2C_DEV(0)
#endif
#ifndef LSM6DS33_PARAM_ADDR
#define LSM6DS33_PARAM_ADDR (0x6B) /* (0x6A) */
#define LSM6DS33_PARAM_ADDR (0x6A) /* (0x6B) */
#endif
#ifndef LSM6DS33_PARAM_ACC_ODR
#define LSM6DS33_PARAM_ACC_ODR (LSM6DS33_DATA_RATE_52HZ)
Expand Down
20 changes: 0 additions & 20 deletions drivers/lsm6dsxx/include/lsm6dsxx_internal.h
Original file line number Diff line number Diff line change
@@ -1,23 +1,3 @@
/*
* Copyright (C) 2017 OTA keys S.A.
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*
*/

/**
* @ingroup drivers_lsm6ds33
* @{
*
* @file
* @brief Internal configuration for LSM6DS33 devices
*
* @author Vincent Dupont <[email protected]>
* @author Sebastian Meiling <[email protected]>
*
*/

#ifndef LSM6DSXX_INTERNAL_H
#define LSM6DSXX_INTERNAL_H
Expand Down
21 changes: 1 addition & 20 deletions drivers/lsm6dsxx/include/lsm6dsxx_params.h
Original file line number Diff line number Diff line change
@@ -1,22 +1,3 @@
/*
* Copyright (C) 2017 OTA keys S.A.
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*
*/

/**
* @ingroup drivers_lsm6dsxx
* @{
*
* @file
* @brief Default configuration for LSM6DSXX devices
*
* @author Vincent Dupont <[email protected]>
*
*/

#ifndef LSM6DSXX_PARAMS_H
#define LSM6DSXX_PARAMS_H
Expand All @@ -37,7 +18,7 @@ extern "C" {
#define LSM6DSXX_PARAM_I2C I2C_DEV(0)
#endif
#ifndef LSM6DSXX_PARAM_ADDR
#define LSM6DSXX_PARAM_ADDR (0x6B) /* (0x6A) */
#define LSM6DSXX_PARAM_ADDR (0x6B) /* (0x6B) for b-l475e-iot01a (0x6A) for feather-sense*/
#endif
#ifndef LSM6DSXX_PARAM_ACC_ODR
#define LSM6DSXX_PARAM_ACC_ODR (LSM6DSXX_DATA_RATE_52HZ)
Expand Down
21 changes: 0 additions & 21 deletions drivers/lsm6dsxx/lsm6dsxx.c
Original file line number Diff line number Diff line change
@@ -1,24 +1,3 @@
/*
* Copyright (C) 2017 OTA keys S.A.
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*
*/

/**
* @ingroup drivers_lsm6dsxx
* @{
*
* @file
* @brief Device driver implementation for the LSM6DSXX 3D accelerometer/gyroscope.
*
* @author Vincent Dupont <[email protected]>
* @author Sebastian Meiling <[email protected]>
*
* @}
*/

#include <assert.h>

Expand Down
21 changes: 0 additions & 21 deletions drivers/lsm6dsxx/lsm6dsxx_saul.c
Original file line number Diff line number Diff line change
@@ -1,24 +1,3 @@
/*
* Copyright (C) 2017 OTA keys S.A.
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*
*/

/**
* @ingroup drivers_lsm6dsxx
* @{
*
* @file
* @brief SAUL implementation for the LSM6DSXX 3D accelerometer/gyroscope.
*
* @author Vincent Dupont <[email protected]>
* @author Sebastian Meiling <[email protected]>
*
* @}
*/

#include "lsm6dsxx.h"
#include "saul.h"
Expand Down
21 changes: 0 additions & 21 deletions tests/drivers/lsm6dsxx/main.c
Original file line number Diff line number Diff line change
@@ -1,24 +1,3 @@
/*
* Copyright (C) 2017 OTA keys S.A.
* 2017 HAW Hamburg
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/

/**
* @ingroup tests
* @{
*
* @file
* @brief Test application for the LSM6DSXX accelerometer/gyroscope driver.
*
* @author Vincent Dupont <[email protected]>
* @author Sebastian Meiling <[email protected]>
*
* @}
*/

#include <stdio.h>

Expand Down

0 comments on commit e97f9a7

Please sign in to comment.