# Adding ll40ls driver to px4 build

Source: https://forum.modalai.com/topic/4208/adding-ll40ls-driver-to-px4-build
Category: General Questions (https://forum.modalai.com/category/2/general-questions)
Posted: 2025-02-25 20:07:53 UTC by jon
Replies: 4 · Views: 867

## jon · 2025-02-25 20:07:53 UTC

Hi, we need to use a garmin lidar-lite v3 with a VOXL 2 and need to add that driver into the build. The driver itself is included in the modalai branch, I guess it's just not built with the rest of the firmware? How do I add it to the build?

Thanks!

## Reply by Eric Katzfey (ModalAI staff) · 2025-02-25 22:16:38 UTC

@jonathankampia You would need to add `DRIVERS_DISTANCE_SENSOR_LL40LS` to `boards/modalai/voxl2-slpi/default.px4board` and then rebuild.

## Reply by jon · 2025-02-26 17:15:58 UTC (in reply to Eric Katzfey)

@Eric-Katzfey Thank you! I'm assuming I just follow the build instructions [here](https://gitlab.com/voxl-public/voxl-sdk/services/voxl-px4/-/tree/master), right?

## Reply by Eric Katzfey (ModalAI staff) · 2025-02-26 18:13:23 UTC (in reply to jon)

@jonathankampia Yes, that should work except there is one command missing right before `./build-apps.sh`. You need to run `./build-deps.sh` before that.

## Reply by Eric Katzfey (ModalAI staff) · 2025-02-26 18:13:47 UTC (in reply to jon)

@jonathankampia Unfortunately, the hard part is creating the build Docker.
