Skip to content
This repository has been archived by the owner on Dec 20, 2023. It is now read-only.

Add an option to allocate logging buffers on heap #519

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Mar 13, 2020

  1. Add an option to allocate logging buffers on heap

    There is limit data segment on some FreeRTOS platform, because the
    logging buffer is very large, we may want to move logging buffers
    from static data segment to dynamic allocated heap.
    
    The patch introduced an new define option:
    
    WEAVE_DEVICE_CONFIG_EVENT_LOGGING_BUFFER_STATIC
    
    When it is defined, the logging buffer will be allocated statically
    on data segment; when it is not defined, the logging buffers will be
    allocated dynamically on heap.
    
    Signed-off-by: Zang MingJie <mingjiez@google.com>
    kghost committed Mar 13, 2020
    Configuration menu
    Copy the full SHA
    3058622 View commit details
    Browse the repository at this point in the history