Skip to content
Snippets Groups Projects
Commit d1da46ef authored by Claudio Micheli's avatar Claudio Micheli Committed by Beat Küng
Browse files

Added generic UART configuration.

parent ca0cd27c
No related branches found
No related tags found
No related merge requests found
......@@ -93,20 +93,6 @@ then
sf1xx start -a
fi
# Lanbao PSK-CM8JL65-CC5 distance sensor
if param greater SENS_EN_CM8JL65 0
then
if param compare SENS_EN_CM8JL65 1
then
cm8jl65 start
fi
if param compare SENS_EN_CM8JL65 2
then
cm8jl65 start -d "/dev/ttyS1"
fi
fi
# Heater driver for temperature regulated IMUs.
if param compare SENS_EN_THERMAL 1
then
......
......@@ -36,5 +36,6 @@ px4_add_module(
SRCS
cm8jl65.cpp
cm8jl65_parser.cpp
DEPENDS
MODULE_CONFIG
module.yaml
)
module_name: Lanbao PSK-CM8JL65-CC5
serial_config:
- command: cm8jl65 start -d ${SERIAL_DEV}
port_config_param:
name: SENS_CM8JL65_CFG
group: Sensors
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment