2018-11-25 10:45 PM
Hi,
I am porting the one of legacy VL53L1 stack (STM api ver 1.1.37.12156 ) for one of the project. This stack is stable and well tested. However, i am surprised to see the RAM consumption(5.43KB) of the VL53L1_Dev_t object. This is different in new STM api ver 1.2.11.1840 (932B). I can understand that new api might have optimized or deprecated some of implementations.
Why is VL53L1_Dev_t object consuming RAM memory of 5.43KB? It will really help me if any change list file is available to download or can provide here.
2019-04-24 10:47 AM
In the file:
vl53l1_platform_user_config.h
is the line:
#define VL53L1_MAX_USER_ZONES 16
By lowering the number of zones, the data structure is GREATLY reduced.
What you are seeing is the result of the lower number of zones.