Skip to content
Commit c1a13340 authored by Arnaud Pouliquen's avatar Arnaud Pouliquen Committed by Benjamin Cabé
Browse files

driver: ipm: introduce IPM_MAX_DATA_SIZE build configuration



The ipm_send() allows transferring data through the IPM device.
However, depending on the platform, the mailbox peripheral may either
transmit a limited amount of data or not transfer data at all.
Introducing this configuration allows exposing the IPM capability to the
application.
This commit defines a default value of 1024 bytes to avoid impacting
existing IPM drivers and sets the value to 0 for the STM32 IPCC and
STM32 HSEM devices.

This allows, in a next step, other devices to use this configuration to
expose their capabilities instead of using proprietary configuration or
a static definition.

Signed-off-by: default avatarArnaud Pouliquen <arnaud.pouliquen@foss.st.com>
parent 1b849323
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment