aboutsummaryrefslogtreecommitdiffstats
path: root/src/drivers/TwiMaster.cpp
diff options
context:
space:
mode:
authorJean-François Milants <jf@codingfield.com>2023-03-26 14:49:03 +0200
committerJF <JF002@users.noreply.github.com>2023-05-18 19:58:09 +0200
commit1911e2d9285cb5b0a6ecd3bf3de864783f2b0e3e (patch)
tree055bdd2a889c0492ee0807f8c140067b1ba34d40 /src/drivers/TwiMaster.cpp
parent9e808a65ec38a3b6f465b6d6b2ec93160c942076 (diff)
Unify all heaps (stdlib + LVGL + FreeRTOS) into a single heap managed by FreeRTOS and heap_4_infinitime.c.
LVGL supports custom implementation of malloc() and free() so using pvPortMalloc() and vPortFree() is just a matter of setting the right variables. Other libraries (NimBLE, LittleFS) and InfiniTime code (new) call malloc() and free() from stdlib. InfiniTime now provides the file stdlib.c that provides a custom implementation for malloc(), free(), calloc() and realloc(). This ensures that all calls to the standard allocator are redirected to the FreeRTOS memory manager. Note that realloc() is needed by NimBLE.
Diffstat (limited to 'src/drivers/TwiMaster.cpp')
0 files changed, 0 insertions, 0 deletions