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
+3 -1
View File
@@ -19,6 +19,7 @@ idf_component_register(
"client_registry.c"
"esp_now_comm.c"
"esp_now_proto.c"
"bosch456.c"
"proto/uart_messages.pb.c"
"proto/esp_now_messages.pb.c"
"proto/pb_encode.c"
@@ -36,7 +37,8 @@ idf_component_register(
esp_driver_gpio
esp_driver_uart
esp_driver_i2c
app_update)
app_update
bma456)
target_compile_definitions(${COMPONENT_LIB}
PRIVATE "POWERPOD_GIT_HASH=\"${POWERPOD_GIT_HASH}\"")