i2/3c_burst_write comes with a warning where this combined write synthesized by thsi API may not be supported by all I2/3C devices. Replace with i2c_write instead with a buffer combining the address and data. The Kconfig STMEMSC_I2C_WRITE_BUFFER_SIZE was added to set the size of the buffer pushed to the stack. Signed-off-by: Ryan McClelland <ryanmcclelland@meta.com>
14 lines
377 B
Plaintext
14 lines
377 B
Plaintext
# ST MEMS sensor configuration options
|
|
|
|
# Copyright (c) 2025 Meta Platforms
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config STMEMSC_I3C_I2C_WRITE_BUFFER_SIZE
|
|
int "ST memsc I2C write buffer size"
|
|
default 16
|
|
depends on I2C || I3C
|
|
depends on HAS_STMEMSC
|
|
help
|
|
The size of the buffer pushed on the stack used to copy
|
|
the data to be written along with the register address.
|