Probe and configure the sensor when present; log and continue boot if init fails so boards without BMA456 still run normally. Co-authored-by: Cursor <cursoragent@cursor.com>
8 lines
113 B
CMake
8 lines
113 B
CMake
idf_component_register(
|
|
SRCS
|
|
"bma456h.c"
|
|
"bma4.c"
|
|
INCLUDE_DIRS "."
|
|
REQUIRES driver
|
|
)
|