Skip to content

Commit eb63ada

Browse files
committed
feat: add BMI270 for component
1 parent d20cdc4 commit eb63ada

File tree

8 files changed

+2745
-1
lines changed

8 files changed

+2745
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# ChangeLog
22

3-
## v0.0.1 Initial Version
3+
## v1.0.1 Initial Version
44

55
* Added sensor bmi_270.

test_apps/CMakeLists.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# The following lines of boilerplate have to be in your project's CMakeLists
2+
# in this exact order for cmake to work correctly
3+
cmake_minimum_required(VERSION 3.5)
4+
5+
set(EXTRA_COMPONENT_DIRS "$ENV{IDF_PATH}/tools/unit-test-app/components")
6+
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
7+
project(bmi270_test)
8+

test_apps/main/CMakeLists.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
idf_component_register(
2+
SRC_DIRS "."
3+
INCLUDE_DIRS "."
4+
)
5+
6+
include(package_manager)
7+
cu_pkg_define_version(${CMAKE_CURRENT_LIST_DIR})

test_apps/main/Kconfig.projbuild

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
menu "Example Configuration"
2+
3+
config I2C_MASTER_SCL
4+
int "SCL GPIO Num"
5+
default 5
6+
help
7+
GPIO number for I2C Master clock line.
8+
9+
config I2C_MASTER_SDA
10+
int "SDA GPIO Num"
11+
default 4
12+
help
13+
GPIO number for I2C Master data line.
14+
15+
endmenu

0 commit comments

Comments
 (0)