cancel
Showing results for 
Search instead for 
Did you mean: 

VL53L5CX -- Does libGesturesMZ_m4.a support Cortex-M4F processors?

hx
Associate

I want to operate the VL53L5CX to accomplish gesture recognition operations using an ARM Cortex-M4F microcontroller chip. So can libGesturesMZ_m4.a be used with Cortex-M4F?

I am trying to port the en.STSW-IMG035_F401 project to an ARM Cortex-M4F controller chip and the HT_set_square_resolution() function returns -5 at runtime.
Operation flow: lmz_platform_init -> vl53lmz_init -> gesture_library_init_configure(Err -5, HT_set_square_resolution() failed).

3 REPLIES 3
hx
Associate

Can a friend help?

Hi hx,

the error code -5 means that your resolution is not a square. Are you sure to input the value 64 ?

Regarding the ARM core, the library has been compiled for Cortex-M4, I have no idea if it's compatible with your Cortex-M4F (and I didn't know it before your post).

Thanks, Yann


Our community relies on fruitful exchanges and good quality content. You can thank and reward helpful and positive contributions by marking them as 'Accept as Solution'. When marking a solution, make sure it answers your original question or issue that you raised.

ST Employees that act as moderators have the right to accept the solution, judging by their expertise. This helps other community members identify useful discussions and refrain from raising the same question. If you notice any false behavior or abuse of the action, do not hesitate to 'Report Inappropriate Content'
labussiy
ST Employee

Hi hx,

the error code -5 means that your resolution is not a square. Are you sure to input the value 64 ?

Regarding the ARM core, the library has been compiled for Cortex-M4, I have no idea if it's compatible with your Cortex-M4F (and I didn't know it before your post).

Thanks, Yann


Our community relies on fruitful exchanges and good quality content. You can thank and reward helpful and positive contributions by marking them as 'Accept as Solution'. When marking a solution, make sure it answers your original question or issue that you raised.

ST Employees that act as moderators have the right to accept the solution, judging by their expertise. This helps other community members identify useful discussions and refrain from raising the same question. If you notice any false behavior or abuse of the action, do not hesitate to 'Report Inappropriate Content'