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>
20 lines
350 B
Makefile
20 lines
350 B
Makefile
COINES_INSTALL_PATH ?= ../../../..
|
|
|
|
EXAMPLE_FILE ?= fifo_watermark_header_mode.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 |