Page 1 of 1

vl53l0x.c ??

Posted: Sat Sep 14, 2019 3:18 pm
by geoffrey.brown
There's a vl53l0x.h file in

ChibiOS/os/ex/devices/ST/vl53l0x.h

But I don't see the corresponding .c file. Did this never get created ?

Geoffrey

Re: vl53l0x.c ??

Posted: Sat Sep 14, 2019 4:10 pm
by RoccoMarco
Hi,
me and Edoardo, we started porting vl53l0x in ChibiOS/EX some time ago. The task is particularly complex because there is no documentation about the internal registers of this device.

Edoardo has some working code but still unaligned with EX and untested. The porting is currently queued due to a lack of spare time. It will be resumed soon.

Re: vl53l0x.c ??

Posted: Wed Nov 17, 2021 7:13 pm
by electronic_eel
I don't know if there is still interest in this.

I'm currently working with a VL53L0. The official api provided by ST, while you can get it to work... let's just say that their expertise lies in hardware and not software...

But there is a quite nice complete reimplementation for Arduino available from Pololu: https://github.com/pololu/vl53l0x-arduino
This has been ported to plain C without Arduino here: https://github.com/MarcelMG/VL53L0X-STM32F103

Adapting the latter to ChibiOS was quite easy. This is what I'm using now.