This is the default configuration of the middleware.
When any of the settings shall be modified, it shall be done in dedicated application config
Check Getting started for guidelines on how to create and use configuration file.
- group LWMEM_OPT
0operating system support in the library.
LWMEM_CFG_OSis enabled, user must implement functions in System functions group.
Mutex handle type.
This value must be set in case LWMEM_CFG_OS is set to
1. If data type is not known to compiler, include header file with definition before you define handle type
Number of bits to align memory address and memory size.
Some CPUs do not offer unaligned memory access (Cortex-M0 as an example) therefore it is important to have alignment of data addresses and potentialy length of data
This value must be a power of
2for number of bytes. Usually alignment of
4bytes fits to all processors.
0memory cleanup on free operation (or realloc).
It resets unused memory to
0x00and prevents other applications seeing old data. It is disabled by default since it has performance penalties.
0statistics in the library.