diff options
author | Aswath Govindraju | 2020-11-24 15:59:34 +0530 |
---|---|---|
committer | Lokesh Vutla | 2021-01-12 10:21:41 +0530 |
commit | ba904727690532b21b4be886831cb259a34f27ca (patch) | |
tree | 18145d854752010599f6705dcf48c4e279b025c2 /include/fat.h | |
parent | 62be2367f5f8f2e83cedbe2189263b73d5f57834 (diff) |
configs: am65x_evm: Define the maximum file size for DFU
In include/dfu.h, if CONFIG_SYS_DFU_MAX_FILE_SIZE is not defined then it is
defined as CONFIG_SYS_DFU_DATA_BUF_SIZE. This is 128 KiB for a53 core and
20 KiB for r5 core. If a larger file is transferred using dfu then it
fails.
CONFIG_SYS_DFU_DATA_BUF_SIZE can not be increased as there is not enough
heap memory to be allocated for the buffer in case of R5 spl.
Fix this by defining CONFIG_SYS_DFU_MAX_FILE_SIZE as the default
CONFIG_SYS_DFU_DATA_BUF_SIZE value.
Signed-off-by: Aswath Govindraju <a-govindraju@ti.com>
Diffstat (limited to 'include/fat.h')
0 files changed, 0 insertions, 0 deletions