Add optional BMA456 accelerometer init on shared I2C bus.

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>
This commit is contained in:
2026-05-18 22:51:32 +02:00
co-authored by Cursor
parent 755bdd92d7
commit e5db0b21c7
168 changed files with 42062 additions and 2 deletions
@@ -0,0 +1,20 @@
COINES_INSTALL_PATH ?= ../../../..
EXAMPLE_FILE ?= accelerometer_hw_int.c
API_LOCATION ?= ../..
COMMON_LOCATION ?= ..
C_SRCS += \
$(API_LOCATION)/bma4.c \
$(API_LOCATION)/bma456w.c \
$(COMMON_LOCATION)/common/common.c
INCLUDEPATHS += \
$(API_LOCATION) \
$(COMMON_LOCATION)/common
TARGET = MCU_APP30
include $(COINES_INSTALL_PATH)/coines.mk