mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-31 02:16:53 +08:00
delete unused drivers/lights/blinkm
This commit is contained in:
@@ -77,14 +77,6 @@ unset BOARD_RC_DEFAULTS
|
|||||||
rgbled start -X -q
|
rgbled start -X -q
|
||||||
rgbled_ncp5623c start -X -q
|
rgbled_ncp5623c start -X -q
|
||||||
|
|
||||||
if param greater -s LIGHT_EN_BLINKM 0
|
|
||||||
then
|
|
||||||
if blinkm start -X
|
|
||||||
then
|
|
||||||
blinkm systemstate
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# board sensors: rc.sensors
|
# board sensors: rc.sensors
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -239,14 +239,6 @@ else
|
|||||||
rgbled start -X -q
|
rgbled start -X -q
|
||||||
rgbled_ncp5623c start -X -q
|
rgbled_ncp5623c start -X -q
|
||||||
|
|
||||||
if param greater -s LIGHT_EN_BLINKM 0
|
|
||||||
then
|
|
||||||
if blinkm start -X
|
|
||||||
then
|
|
||||||
blinkm systemstate
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Set parameters and env variables for selected AUTOSTART.
|
# Set parameters and env variables for selected AUTOSTART.
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -46,6 +46,7 @@ px4_add_board(
|
|||||||
rpm
|
rpm
|
||||||
safety_button
|
safety_button
|
||||||
telemetry # all available telemetry drivers
|
telemetry # all available telemetry drivers
|
||||||
|
#test_ppm # NOT Portable YET
|
||||||
tone_alarm
|
tone_alarm
|
||||||
uavcan
|
uavcan
|
||||||
MODULES
|
MODULES
|
||||||
|
|||||||
@@ -15,6 +15,7 @@ px4_add_board(
|
|||||||
TEL1:/dev/ttyS4
|
TEL1:/dev/ttyS4
|
||||||
TEL2:/dev/ttyS1
|
TEL2:/dev/ttyS1
|
||||||
DRIVERS
|
DRIVERS
|
||||||
|
adc/ads1115
|
||||||
adc/board_adc
|
adc/board_adc
|
||||||
barometer # all available barometer drivers
|
barometer # all available barometer drivers
|
||||||
barometer/mpl3115a2
|
barometer/mpl3115a2
|
||||||
@@ -25,26 +26,24 @@ px4_add_board(
|
|||||||
distance_sensor # all available distance sensor drivers
|
distance_sensor # all available distance sensor drivers
|
||||||
distance_sensor/srf05 # Specific driver
|
distance_sensor/srf05 # Specific driver
|
||||||
gps
|
gps
|
||||||
#heater
|
|
||||||
#imu # all available imu drivers
|
#imu # all available imu drivers
|
||||||
imu/bosch/bmi088
|
imu/bosch/bmi088
|
||||||
imu/invensense/icm42688p
|
imu/invensense/icm42688p
|
||||||
irlock
|
irlock
|
||||||
lights/blinkm
|
lights # all available light drivers
|
||||||
lights/rgbled
|
|
||||||
lights/rgbled_ncp5623c
|
|
||||||
lights/rgbled_pwm
|
lights/rgbled_pwm
|
||||||
magnetometer # all available magnetometer drivers
|
magnetometer # all available magnetometer drivers
|
||||||
#optical_flow # all available optical flow drivers
|
optical_flow # all available optical flow drivers
|
||||||
optical_flow/px4flow
|
osd
|
||||||
#osd
|
|
||||||
pca9685
|
pca9685
|
||||||
|
pca9685_pwm_out
|
||||||
power_monitor/ina226
|
power_monitor/ina226
|
||||||
#protocol_splitter
|
#protocol_splitter
|
||||||
pwm_out_sim
|
pwm_out_sim
|
||||||
pwm_out
|
pwm_out
|
||||||
rc_input
|
rc_input
|
||||||
roboclaw
|
roboclaw
|
||||||
|
rpm
|
||||||
safety_button
|
safety_button
|
||||||
telemetry # all available telemetry drivers
|
telemetry # all available telemetry drivers
|
||||||
#test_ppm # NOT Portable YET
|
#test_ppm # NOT Portable YET
|
||||||
@@ -58,10 +57,13 @@ px4_add_board(
|
|||||||
commander
|
commander
|
||||||
dataman
|
dataman
|
||||||
ekf2
|
ekf2
|
||||||
|
esc_battery
|
||||||
events
|
events
|
||||||
flight_mode_manager
|
flight_mode_manager
|
||||||
fw_att_control
|
fw_att_control
|
||||||
fw_pos_control_l1
|
fw_pos_control_l1
|
||||||
|
gyro_calibration
|
||||||
|
gyro_fft
|
||||||
land_detector
|
land_detector
|
||||||
landing_target_estimator
|
landing_target_estimator
|
||||||
load_mon
|
load_mon
|
||||||
@@ -79,14 +81,16 @@ px4_add_board(
|
|||||||
sensors
|
sensors
|
||||||
sih
|
sih
|
||||||
temperature_compensation
|
temperature_compensation
|
||||||
|
#uuv_att_control
|
||||||
|
#uuv_pos_control
|
||||||
vmount
|
vmount
|
||||||
vtol_att_control
|
vtol_att_control
|
||||||
SYSTEMCMDS
|
SYSTEMCMDS
|
||||||
bl_update
|
#bl_update
|
||||||
#dmesg
|
#dmesg
|
||||||
dumpfile
|
dumpfile
|
||||||
esc_calib
|
esc_calib
|
||||||
#hardfault_log # Needs bbsrm
|
#gpio
|
||||||
i2cdetect
|
i2cdetect
|
||||||
led_control
|
led_control
|
||||||
mft
|
mft
|
||||||
@@ -101,6 +105,7 @@ px4_add_board(
|
|||||||
reboot
|
reboot
|
||||||
reflect
|
reflect
|
||||||
sd_bench
|
sd_bench
|
||||||
|
serial_test
|
||||||
system_time
|
system_time
|
||||||
tests # tests and test runner
|
tests # tests and test runner
|
||||||
top
|
top
|
||||||
@@ -112,6 +117,8 @@ px4_add_board(
|
|||||||
work_queue
|
work_queue
|
||||||
EXAMPLES
|
EXAMPLES
|
||||||
fake_gps
|
fake_gps
|
||||||
|
fake_gyro
|
||||||
|
fake_magnetometer
|
||||||
fixedwing_control # Tutorial code from https://px4.io/dev/example_fixedwing_control
|
fixedwing_control # Tutorial code from https://px4.io/dev/example_fixedwing_control
|
||||||
hello
|
hello
|
||||||
hwtest # Hardware test
|
hwtest # Hardware test
|
||||||
|
|||||||
@@ -15,6 +15,7 @@ px4_add_board(
|
|||||||
TEL1:/dev/ttyS4
|
TEL1:/dev/ttyS4
|
||||||
TEL2:/dev/ttyS1
|
TEL2:/dev/ttyS1
|
||||||
DRIVERS
|
DRIVERS
|
||||||
|
adc/ads1115
|
||||||
adc/board_adc
|
adc/board_adc
|
||||||
barometer # all available barometer drivers
|
barometer # all available barometer drivers
|
||||||
barometer/mpl3115a2
|
barometer/mpl3115a2
|
||||||
@@ -23,27 +24,26 @@ px4_add_board(
|
|||||||
camera_trigger
|
camera_trigger
|
||||||
differential_pressure # all available differential pressure drivers
|
differential_pressure # all available differential pressure drivers
|
||||||
distance_sensor # all available distance sensor drivers
|
distance_sensor # all available distance sensor drivers
|
||||||
|
distance_sensor/srf05 # Specific driver
|
||||||
gps
|
gps
|
||||||
#heater
|
|
||||||
#imu # all available imu drivers
|
#imu # all available imu drivers
|
||||||
imu/bosch/bmi088
|
imu/bosch/bmi088
|
||||||
imu/invensense/icm42688p
|
imu/invensense/icm42688p
|
||||||
irlock
|
irlock
|
||||||
lights/blinkm
|
lights # all available light drivers
|
||||||
lights/rgbled
|
|
||||||
lights/rgbled_ncp5623c
|
|
||||||
lights/rgbled_pwm
|
lights/rgbled_pwm
|
||||||
magnetometer # all available magnetometer drivers
|
magnetometer # all available magnetometer drivers
|
||||||
#optical_flow # all available optical flow drivers
|
optical_flow # all available optical flow drivers
|
||||||
optical_flow/px4flow
|
osd
|
||||||
#osd
|
|
||||||
pca9685
|
pca9685
|
||||||
|
pca9685_pwm_out
|
||||||
power_monitor/ina226
|
power_monitor/ina226
|
||||||
#protocol_splitter
|
#protocol_splitter
|
||||||
pwm_out_sim
|
pwm_out_sim
|
||||||
pwm_out
|
pwm_out
|
||||||
rc_input
|
rc_input
|
||||||
roboclaw
|
roboclaw
|
||||||
|
rpm
|
||||||
safety_button
|
safety_button
|
||||||
telemetry # all available telemetry drivers
|
telemetry # all available telemetry drivers
|
||||||
#test_ppm # NOT Portable YET
|
#test_ppm # NOT Portable YET
|
||||||
@@ -57,6 +57,7 @@ px4_add_board(
|
|||||||
commander
|
commander
|
||||||
dataman
|
dataman
|
||||||
ekf2
|
ekf2
|
||||||
|
esc_battery
|
||||||
events
|
events
|
||||||
flight_mode_manager
|
flight_mode_manager
|
||||||
fw_att_control
|
fw_att_control
|
||||||
@@ -73,20 +74,23 @@ px4_add_board(
|
|||||||
mc_hover_thrust_estimator
|
mc_hover_thrust_estimator
|
||||||
mc_pos_control
|
mc_pos_control
|
||||||
mc_rate_control
|
mc_rate_control
|
||||||
|
#micrortps_bridge
|
||||||
navigator
|
navigator
|
||||||
rc_update
|
rc_update
|
||||||
rover_pos_control
|
rover_pos_control
|
||||||
sensors
|
sensors
|
||||||
sih
|
sih
|
||||||
temperature_compensation
|
temperature_compensation
|
||||||
|
#uuv_att_control
|
||||||
|
#uuv_pos_control
|
||||||
vmount
|
vmount
|
||||||
vtol_att_control
|
vtol_att_control
|
||||||
SYSTEMCMDS
|
SYSTEMCMDS
|
||||||
bl_update
|
#bl_update
|
||||||
#dmesg
|
#dmesg
|
||||||
dumpfile
|
dumpfile
|
||||||
esc_calib
|
esc_calib
|
||||||
#hardfault_log # Needs bbsrm
|
#gpio
|
||||||
i2cdetect
|
i2cdetect
|
||||||
led_control
|
led_control
|
||||||
mft
|
mft
|
||||||
@@ -101,6 +105,7 @@ px4_add_board(
|
|||||||
reboot
|
reboot
|
||||||
reflect
|
reflect
|
||||||
sd_bench
|
sd_bench
|
||||||
|
serial_test
|
||||||
system_time
|
system_time
|
||||||
tests # tests and test runner
|
tests # tests and test runner
|
||||||
top
|
top
|
||||||
@@ -112,6 +117,8 @@ px4_add_board(
|
|||||||
work_queue
|
work_queue
|
||||||
EXAMPLES
|
EXAMPLES
|
||||||
fake_gps
|
fake_gps
|
||||||
|
fake_gyro
|
||||||
|
fake_magnetometer
|
||||||
fixedwing_control # Tutorial code from https://px4.io/dev/example_fixedwing_control
|
fixedwing_control # Tutorial code from https://px4.io/dev/example_fixedwing_control
|
||||||
hello
|
hello
|
||||||
hwtest # Hardware test
|
hwtest # Hardware test
|
||||||
|
|||||||
@@ -15,6 +15,7 @@ px4_add_board(
|
|||||||
TEL1:/dev/ttyS4
|
TEL1:/dev/ttyS4
|
||||||
TEL2:/dev/ttyS1
|
TEL2:/dev/ttyS1
|
||||||
DRIVERS
|
DRIVERS
|
||||||
|
adc/ads1115
|
||||||
adc/board_adc
|
adc/board_adc
|
||||||
barometer # all available barometer drivers
|
barometer # all available barometer drivers
|
||||||
barometer/mpl3115a2
|
barometer/mpl3115a2
|
||||||
@@ -23,30 +24,28 @@ px4_add_board(
|
|||||||
camera_trigger
|
camera_trigger
|
||||||
differential_pressure # all available differential pressure drivers
|
differential_pressure # all available differential pressure drivers
|
||||||
distance_sensor # all available distance sensor drivers
|
distance_sensor # all available distance sensor drivers
|
||||||
|
distance_sensor/srf05 # Specific driver
|
||||||
gps
|
gps
|
||||||
#heater
|
|
||||||
#imu # all available imu drivers
|
#imu # all available imu drivers
|
||||||
imu/fxas21002c
|
imu/fxas21002c
|
||||||
imu/fxos8701cq
|
imu/fxos8701cq
|
||||||
irlock
|
irlock
|
||||||
lights/blinkm
|
lights # all available light drivers
|
||||||
lights/rgbled
|
|
||||||
lights/rgbled_ncp5623c
|
|
||||||
lights/rgbled_pwm
|
lights/rgbled_pwm
|
||||||
magnetometer # all available magnetometer drivers
|
magnetometer # all available magnetometer drivers
|
||||||
#optical_flow # all available optical flow drivers
|
optical_flow # all available optical flow drivers
|
||||||
optical_flow/px4flow
|
osd
|
||||||
#osd
|
|
||||||
pca9685
|
pca9685
|
||||||
|
pca9685_pwm_out
|
||||||
power_monitor/ina226
|
power_monitor/ina226
|
||||||
#protocol_splitter
|
#protocol_splitter
|
||||||
pwm_out_sim
|
pwm_out_sim
|
||||||
pwm_out
|
pwm_out
|
||||||
rc_input
|
rc_input
|
||||||
roboclaw
|
roboclaw
|
||||||
|
rpm
|
||||||
safety_button
|
safety_button
|
||||||
telemetry # all available telemetry drivers
|
telemetry # all available telemetry drivers
|
||||||
#test_ppm # NOT Portable YET
|
|
||||||
tone_alarm
|
tone_alarm
|
||||||
uavcan
|
uavcan
|
||||||
MODULES
|
MODULES
|
||||||
@@ -57,6 +56,7 @@ px4_add_board(
|
|||||||
commander
|
commander
|
||||||
dataman
|
dataman
|
||||||
ekf2
|
ekf2
|
||||||
|
esc_battery
|
||||||
events
|
events
|
||||||
flight_mode_manager
|
flight_mode_manager
|
||||||
fw_att_control
|
fw_att_control
|
||||||
@@ -80,14 +80,16 @@ px4_add_board(
|
|||||||
sensors
|
sensors
|
||||||
sih
|
sih
|
||||||
temperature_compensation
|
temperature_compensation
|
||||||
|
#uuv_att_control
|
||||||
|
#uuv_pos_control
|
||||||
vmount
|
vmount
|
||||||
vtol_att_control
|
vtol_att_control
|
||||||
SYSTEMCMDS
|
SYSTEMCMDS
|
||||||
bl_update
|
#bl_update
|
||||||
#dmesg
|
#dmesg
|
||||||
dumpfile
|
dumpfile
|
||||||
esc_calib
|
esc_calib
|
||||||
#hardfault_log # Needs bbsrm
|
#gpio
|
||||||
i2cdetect
|
i2cdetect
|
||||||
led_control
|
led_control
|
||||||
mft
|
mft
|
||||||
@@ -102,6 +104,7 @@ px4_add_board(
|
|||||||
reboot
|
reboot
|
||||||
reflect
|
reflect
|
||||||
sd_bench
|
sd_bench
|
||||||
|
serial_test
|
||||||
system_time
|
system_time
|
||||||
tests # tests and test runner
|
tests # tests and test runner
|
||||||
top
|
top
|
||||||
@@ -113,6 +116,8 @@ px4_add_board(
|
|||||||
work_queue
|
work_queue
|
||||||
EXAMPLES
|
EXAMPLES
|
||||||
fake_gps
|
fake_gps
|
||||||
|
fake_gyro
|
||||||
|
fake_magnetometer
|
||||||
fixedwing_control # Tutorial code from https://px4.io/dev/example_fixedwing_control
|
fixedwing_control # Tutorial code from https://px4.io/dev/example_fixedwing_control
|
||||||
hello
|
hello
|
||||||
hwtest # Hardware test
|
hwtest # Hardware test
|
||||||
|
|||||||
@@ -15,6 +15,7 @@ px4_add_board(
|
|||||||
TEL1:/dev/ttyS4
|
TEL1:/dev/ttyS4
|
||||||
TEL2:/dev/ttyS1
|
TEL2:/dev/ttyS1
|
||||||
DRIVERS
|
DRIVERS
|
||||||
|
adc/ads1115
|
||||||
adc/board_adc
|
adc/board_adc
|
||||||
barometer # all available barometer drivers
|
barometer # all available barometer drivers
|
||||||
barometer/mpl3115a2
|
barometer/mpl3115a2
|
||||||
@@ -23,30 +24,28 @@ px4_add_board(
|
|||||||
camera_trigger
|
camera_trigger
|
||||||
differential_pressure # all available differential pressure drivers
|
differential_pressure # all available differential pressure drivers
|
||||||
distance_sensor # all available distance sensor drivers
|
distance_sensor # all available distance sensor drivers
|
||||||
|
distance_sensor/srf05 # Specific driver
|
||||||
gps
|
gps
|
||||||
#heater
|
|
||||||
#imu # all available imu drivers
|
#imu # all available imu drivers
|
||||||
imu/fxas21002c
|
imu/fxas21002c
|
||||||
imu/fxos8701cq
|
imu/fxos8701cq
|
||||||
irlock
|
irlock
|
||||||
lights/blinkm
|
lights # all available light drivers
|
||||||
lights/rgbled
|
|
||||||
lights/rgbled_ncp5623c
|
|
||||||
lights/rgbled_pwm
|
lights/rgbled_pwm
|
||||||
magnetometer # all available magnetometer drivers
|
magnetometer # all available magnetometer drivers
|
||||||
#optical_flow # all available optical flow drivers
|
optical_flow # all available optical flow drivers
|
||||||
optical_flow/px4flow
|
osd
|
||||||
#osd
|
|
||||||
pca9685
|
pca9685
|
||||||
|
pca9685_pwm_out
|
||||||
power_monitor/ina226
|
power_monitor/ina226
|
||||||
#protocol_splitter
|
#protocol_splitter
|
||||||
pwm_out_sim
|
pwm_out_sim
|
||||||
pwm_out
|
pwm_out
|
||||||
rc_input
|
rc_input
|
||||||
roboclaw
|
roboclaw
|
||||||
|
rpm
|
||||||
safety_button
|
safety_button
|
||||||
telemetry # all available telemetry drivers
|
telemetry # all available telemetry drivers
|
||||||
#test_ppm # NOT Portable YET
|
|
||||||
tone_alarm
|
tone_alarm
|
||||||
uavcan_v1
|
uavcan_v1
|
||||||
MODULES
|
MODULES
|
||||||
@@ -57,6 +56,7 @@ px4_add_board(
|
|||||||
commander
|
commander
|
||||||
dataman
|
dataman
|
||||||
ekf2
|
ekf2
|
||||||
|
esc_battery
|
||||||
events
|
events
|
||||||
flight_mode_manager
|
flight_mode_manager
|
||||||
fw_att_control
|
fw_att_control
|
||||||
@@ -73,20 +73,23 @@ px4_add_board(
|
|||||||
mc_hover_thrust_estimator
|
mc_hover_thrust_estimator
|
||||||
mc_pos_control
|
mc_pos_control
|
||||||
mc_rate_control
|
mc_rate_control
|
||||||
|
#micrortps_bridge
|
||||||
navigator
|
navigator
|
||||||
rc_update
|
rc_update
|
||||||
rover_pos_control
|
rover_pos_control
|
||||||
sensors
|
sensors
|
||||||
sih
|
sih
|
||||||
temperature_compensation
|
temperature_compensation
|
||||||
|
#uuv_att_control
|
||||||
|
#uuv_pos_control
|
||||||
vmount
|
vmount
|
||||||
vtol_att_control
|
vtol_att_control
|
||||||
SYSTEMCMDS
|
SYSTEMCMDS
|
||||||
bl_update
|
#bl_update
|
||||||
#dmesg
|
#dmesg
|
||||||
dumpfile
|
dumpfile
|
||||||
esc_calib
|
esc_calib
|
||||||
#hardfault_log # Needs bbsrm
|
#gpio
|
||||||
i2cdetect
|
i2cdetect
|
||||||
led_control
|
led_control
|
||||||
mft
|
mft
|
||||||
@@ -101,6 +104,7 @@ px4_add_board(
|
|||||||
reboot
|
reboot
|
||||||
reflect
|
reflect
|
||||||
sd_bench
|
sd_bench
|
||||||
|
serial_test
|
||||||
system_time
|
system_time
|
||||||
tests # tests and test runner
|
tests # tests and test runner
|
||||||
top
|
top
|
||||||
@@ -112,6 +116,8 @@ px4_add_board(
|
|||||||
work_queue
|
work_queue
|
||||||
EXAMPLES
|
EXAMPLES
|
||||||
fake_gps
|
fake_gps
|
||||||
|
fake_gyro
|
||||||
|
fake_magnetometer
|
||||||
fixedwing_control # Tutorial code from https://px4.io/dev/example_fixedwing_control
|
fixedwing_control # Tutorial code from https://px4.io/dev/example_fixedwing_control
|
||||||
hello
|
hello
|
||||||
hwtest # Hardware test
|
hwtest # Hardware test
|
||||||
|
|||||||
@@ -42,7 +42,6 @@ px4_add_board(
|
|||||||
#imu/invensense/mpu9250
|
#imu/invensense/mpu9250
|
||||||
#iridiumsbd
|
#iridiumsbd
|
||||||
#irlock
|
#irlock
|
||||||
#lights/blinkm
|
|
||||||
lights/rgbled
|
lights/rgbled
|
||||||
#magnetometer # all available magnetometer drivers
|
#magnetometer # all available magnetometer drivers
|
||||||
magnetometer/hmc5883
|
magnetometer/hmc5883
|
||||||
|
|||||||
@@ -16,8 +16,8 @@ px4_add_board(
|
|||||||
TEL2:/dev/ttyS2
|
TEL2:/dev/ttyS2
|
||||||
TEL4:/dev/ttyS3
|
TEL4:/dev/ttyS3
|
||||||
DRIVERS
|
DRIVERS
|
||||||
adc/board_adc
|
|
||||||
adc/ads1115
|
adc/ads1115
|
||||||
|
adc/board_adc
|
||||||
barometer # all available barometer drivers
|
barometer # all available barometer drivers
|
||||||
batt_smbus
|
batt_smbus
|
||||||
camera_capture
|
camera_capture
|
||||||
@@ -33,13 +33,11 @@ px4_add_board(
|
|||||||
imu/invensense/icm20602
|
imu/invensense/icm20602
|
||||||
imu/invensense/icm20689
|
imu/invensense/icm20689
|
||||||
irlock
|
irlock
|
||||||
lights/blinkm
|
lights # all available light drivers
|
||||||
lights/rgbled
|
|
||||||
lights/rgbled_ncp5623c
|
|
||||||
lights/rgbled_pwm
|
lights/rgbled_pwm
|
||||||
magnetometer # all available magnetometer drivers
|
magnetometer # all available magnetometer drivers
|
||||||
optical_flow # all available optical flow drivers
|
optical_flow # all available optical flow drivers
|
||||||
#osd
|
osd
|
||||||
pca9685
|
pca9685
|
||||||
pca9685_pwm_out
|
pca9685_pwm_out
|
||||||
power_monitor/ina226
|
power_monitor/ina226
|
||||||
@@ -115,6 +113,7 @@ px4_add_board(
|
|||||||
reboot
|
reboot
|
||||||
reflect
|
reflect
|
||||||
sd_bench
|
sd_bench
|
||||||
|
serial_test
|
||||||
system_time
|
system_time
|
||||||
tests # tests and test runner
|
tests # tests and test runner
|
||||||
top
|
top
|
||||||
|
|||||||
@@ -17,6 +17,7 @@ px4_add_board(
|
|||||||
TEL2:/dev/ttyS2
|
TEL2:/dev/ttyS2
|
||||||
TEL4:/dev/ttyS3
|
TEL4:/dev/ttyS3
|
||||||
DRIVERS
|
DRIVERS
|
||||||
|
#adc/ads1115
|
||||||
adc/board_adc
|
adc/board_adc
|
||||||
#barometer # all available barometer drivers
|
#barometer # all available barometer drivers
|
||||||
barometer/ms5611
|
barometer/ms5611
|
||||||
@@ -29,30 +30,26 @@ px4_add_board(
|
|||||||
gps
|
gps
|
||||||
#heater
|
#heater
|
||||||
#imu # all available imu drivers
|
#imu # all available imu drivers
|
||||||
#imu/analog_devices/adis16448
|
|
||||||
#imu/adis16477
|
|
||||||
#imu/adis16497
|
|
||||||
#imu/bosch/bmi055
|
#imu/bosch/bmi055
|
||||||
#imu/invensense/icm20602
|
#imu/invensense/icm20602
|
||||||
imu/invensense/icm20689
|
imu/invensense/icm20689
|
||||||
#irlock
|
#irlock
|
||||||
#lights/blinkm
|
lights # all available light drivers
|
||||||
lights/rgbled
|
|
||||||
lights/rgbled_ncp5623c
|
|
||||||
lights/rgbled_pwm
|
lights/rgbled_pwm
|
||||||
magnetometer # all available magnetometer drivers
|
magnetometer # all available magnetometer drivers
|
||||||
optical_flow # all available optical flow drivers
|
optical_flow # all available optical flow drivers
|
||||||
#osd
|
#osd
|
||||||
#pca9685
|
#pca9685
|
||||||
|
#pca9685_pwm_out
|
||||||
#power_monitor/ina226
|
#power_monitor/ina226
|
||||||
#protocol_splitter
|
#protocol_splitter
|
||||||
pwm_input
|
#pwm_input
|
||||||
pwm_out_sim
|
pwm_out_sim
|
||||||
pwm_out
|
pwm_out
|
||||||
px4io
|
px4io
|
||||||
rc_input
|
rc_input
|
||||||
#roboclaw
|
#roboclaw
|
||||||
rpm
|
#rpm
|
||||||
safety_button
|
safety_button
|
||||||
telemetry # all available telemetry drivers
|
telemetry # all available telemetry drivers
|
||||||
test_ppm
|
test_ppm
|
||||||
@@ -90,6 +87,8 @@ px4_add_board(
|
|||||||
sensors
|
sensors
|
||||||
#sih
|
#sih
|
||||||
#temperature_compensation
|
#temperature_compensation
|
||||||
|
#uuv_att_control
|
||||||
|
#uuv_pos_control
|
||||||
#vmount
|
#vmount
|
||||||
vtol_att_control
|
vtol_att_control
|
||||||
SYSTEMCMDS
|
SYSTEMCMDS
|
||||||
@@ -113,6 +112,7 @@ px4_add_board(
|
|||||||
reboot
|
reboot
|
||||||
reflect
|
reflect
|
||||||
sd_bench
|
sd_bench
|
||||||
|
#serial_test
|
||||||
system_time
|
system_time
|
||||||
tests # tests and test runner
|
tests # tests and test runner
|
||||||
top
|
top
|
||||||
@@ -124,6 +124,7 @@ px4_add_board(
|
|||||||
work_queue
|
work_queue
|
||||||
EXAMPLES
|
EXAMPLES
|
||||||
#fake_gps
|
#fake_gps
|
||||||
|
#fake_gyro
|
||||||
#fake_magnetometer
|
#fake_magnetometer
|
||||||
#fixedwing_control # Tutorial code from https://px4.io/dev/example_fixedwing_control
|
#fixedwing_control # Tutorial code from https://px4.io/dev/example_fixedwing_control
|
||||||
#hello
|
#hello
|
||||||
|
|||||||
@@ -23,20 +23,28 @@ px4_add_board(
|
|||||||
differential_pressure # all available differential pressure drivers
|
differential_pressure # all available differential pressure drivers
|
||||||
distance_sensor # all available distance sensor drivers
|
distance_sensor # all available distance sensor drivers
|
||||||
gps
|
gps
|
||||||
imu/analog_devices/adis16448
|
#heater
|
||||||
#imu # all available imu drivers
|
#imu # all available imu drivers
|
||||||
|
imu/analog_devices/adis16448
|
||||||
imu/bosch/bmi055
|
imu/bosch/bmi055
|
||||||
imu/invensense/icm20602
|
imu/invensense/icm20602
|
||||||
imu/invensense/icm20689
|
imu/invensense/icm20689
|
||||||
lights/rgbled
|
lights # all available light drivers
|
||||||
lights/rgbled_ncp5623c
|
|
||||||
lights/rgbled_pwm
|
lights/rgbled_pwm
|
||||||
magnetometer # all available magnetometer drivers
|
magnetometer # all available magnetometer drivers
|
||||||
|
optical_flow # all available optical flow drivers
|
||||||
|
osd
|
||||||
|
pca9685
|
||||||
|
pca9685_pwm_out
|
||||||
|
power_monitor/ina226
|
||||||
|
#protocol_splitter
|
||||||
pwm_input
|
pwm_input
|
||||||
pwm_out_sim
|
pwm_out_sim
|
||||||
pwm_out
|
pwm_out
|
||||||
px4io
|
px4io
|
||||||
rc_input
|
rc_input
|
||||||
|
roboclaw
|
||||||
|
rpm
|
||||||
safety_button
|
safety_button
|
||||||
telemetry # all available telemetry drivers
|
telemetry # all available telemetry drivers
|
||||||
tone_alarm
|
tone_alarm
|
||||||
@@ -48,6 +56,7 @@ px4_add_board(
|
|||||||
commander
|
commander
|
||||||
dataman
|
dataman
|
||||||
ekf2
|
ekf2
|
||||||
|
esc_battery
|
||||||
events
|
events
|
||||||
fw_att_control
|
fw_att_control
|
||||||
fw_pos_control_l1
|
fw_pos_control_l1
|
||||||
@@ -67,6 +76,7 @@ px4_add_board(
|
|||||||
dmesg
|
dmesg
|
||||||
dumpfile
|
dumpfile
|
||||||
esc_calib
|
esc_calib
|
||||||
|
gpio
|
||||||
hardfault_log
|
hardfault_log
|
||||||
i2cdetect
|
i2cdetect
|
||||||
led_control
|
led_control
|
||||||
@@ -82,6 +92,7 @@ px4_add_board(
|
|||||||
reboot
|
reboot
|
||||||
reflect
|
reflect
|
||||||
sd_bench
|
sd_bench
|
||||||
|
serial_test
|
||||||
system_time
|
system_time
|
||||||
top
|
top
|
||||||
topic_listener
|
topic_listener
|
||||||
|
|||||||
@@ -24,24 +24,29 @@ px4_add_board(
|
|||||||
distance_sensor # all available distance sensor drivers
|
distance_sensor # all available distance sensor drivers
|
||||||
dshot
|
dshot
|
||||||
gps
|
gps
|
||||||
imu/analog_devices/adis16448
|
#heater
|
||||||
#imu # all available imu drivers
|
#imu # all available imu drivers
|
||||||
|
imu/analog_devices/adis16448
|
||||||
imu/bosch/bmi055
|
imu/bosch/bmi055
|
||||||
imu/invensense/icm20602
|
imu/invensense/icm20602
|
||||||
imu/invensense/icm20689
|
imu/invensense/icm20689
|
||||||
irlock
|
irlock
|
||||||
lights/blinkm
|
lights # all available light drivers
|
||||||
lights/rgbled
|
|
||||||
lights/rgbled_ncp5623c
|
|
||||||
lights/rgbled_pwm
|
lights/rgbled_pwm
|
||||||
magnetometer # all available magnetometer drivers
|
magnetometer # all available magnetometer drivers
|
||||||
optical_flow # all available optical flow drivers
|
optical_flow # all available optical flow drivers
|
||||||
|
osd
|
||||||
|
pca9685
|
||||||
|
pca9685_pwm_out
|
||||||
|
power_monitor/ina226
|
||||||
|
#protocol_splitter
|
||||||
pwm_input
|
pwm_input
|
||||||
pwm_out_sim
|
pwm_out_sim
|
||||||
pwm_out
|
pwm_out
|
||||||
px4io
|
px4io
|
||||||
rc_input
|
rc_input
|
||||||
roboclaw
|
roboclaw
|
||||||
|
rpm
|
||||||
safety_button
|
safety_button
|
||||||
telemetry # all available telemetry drivers
|
telemetry # all available telemetry drivers
|
||||||
tone_alarm
|
tone_alarm
|
||||||
@@ -53,8 +58,10 @@ px4_add_board(
|
|||||||
commander
|
commander
|
||||||
dataman
|
dataman
|
||||||
ekf2
|
ekf2
|
||||||
|
esc_battery
|
||||||
events
|
events
|
||||||
flight_mode_manager
|
flight_mode_manager
|
||||||
|
gyro_calibration
|
||||||
gyro_fft
|
gyro_fft
|
||||||
land_detector
|
land_detector
|
||||||
landing_target_estimator
|
landing_target_estimator
|
||||||
@@ -77,6 +84,7 @@ px4_add_board(
|
|||||||
dmesg
|
dmesg
|
||||||
dumpfile
|
dumpfile
|
||||||
esc_calib
|
esc_calib
|
||||||
|
gpio
|
||||||
hardfault_log
|
hardfault_log
|
||||||
i2cdetect
|
i2cdetect
|
||||||
led_control
|
led_control
|
||||||
@@ -92,6 +100,7 @@ px4_add_board(
|
|||||||
reboot
|
reboot
|
||||||
reflect
|
reflect
|
||||||
sd_bench
|
sd_bench
|
||||||
|
serial_test
|
||||||
system_time
|
system_time
|
||||||
top
|
top
|
||||||
topic_listener
|
topic_listener
|
||||||
|
|||||||
@@ -20,6 +20,7 @@ px4_add_board(
|
|||||||
TEL2:/dev/ttyS2
|
TEL2:/dev/ttyS2
|
||||||
TEL4:/dev/ttyS3
|
TEL4:/dev/ttyS3
|
||||||
DRIVERS
|
DRIVERS
|
||||||
|
adc/ads1115
|
||||||
adc/board_adc
|
adc/board_adc
|
||||||
barometer # all available barometer drivers
|
barometer # all available barometer drivers
|
||||||
batt_smbus
|
batt_smbus
|
||||||
@@ -29,24 +30,29 @@ px4_add_board(
|
|||||||
distance_sensor # all available distance sensor drivers
|
distance_sensor # all available distance sensor drivers
|
||||||
dshot
|
dshot
|
||||||
gps
|
gps
|
||||||
|
#heater
|
||||||
#imu # all available imu drivers
|
#imu # all available imu drivers
|
||||||
imu/bosch/bmi055
|
imu/bosch/bmi055
|
||||||
imu/invensense/icm20602
|
imu/invensense/icm20602
|
||||||
imu/invensense/icm20689
|
imu/invensense/icm20689
|
||||||
irlock
|
irlock
|
||||||
#lights/blinkm
|
lights # all available light drivers
|
||||||
lights/rgbled
|
|
||||||
lights/rgbled_ncp5623c
|
|
||||||
#lights/rgbled_pwm
|
#lights/rgbled_pwm
|
||||||
#magnetometer # all available magnetometer drivers
|
#magnetometer # all available magnetometer drivers
|
||||||
magnetometer/isentek/ist8310
|
magnetometer/isentek/ist8310
|
||||||
optical_flow # all available optical flow drivers
|
optical_flow # all available optical flow drivers
|
||||||
#pwm_input
|
#osd
|
||||||
|
#pca9685
|
||||||
|
#pca9685_pwm_out
|
||||||
|
#power_monitor/ina226
|
||||||
|
#protocol_splitter
|
||||||
|
pwm_input
|
||||||
pwm_out_sim
|
pwm_out_sim
|
||||||
pwm_out
|
pwm_out
|
||||||
px4io
|
px4io
|
||||||
rc_input
|
rc_input
|
||||||
#roboclaw
|
#roboclaw
|
||||||
|
#rpm
|
||||||
safety_button
|
safety_button
|
||||||
#telemetry # all available telemetry drivers
|
#telemetry # all available telemetry drivers
|
||||||
test_ppm
|
test_ppm
|
||||||
@@ -60,6 +66,7 @@ px4_add_board(
|
|||||||
commander
|
commander
|
||||||
dataman
|
dataman
|
||||||
ekf2
|
ekf2
|
||||||
|
#esc_battery
|
||||||
events
|
events
|
||||||
flight_mode_manager
|
flight_mode_manager
|
||||||
fw_att_control
|
fw_att_control
|
||||||
@@ -84,6 +91,7 @@ px4_add_board(
|
|||||||
#sih
|
#sih
|
||||||
temperature_compensation
|
temperature_compensation
|
||||||
#uuv_att_control
|
#uuv_att_control
|
||||||
|
#uuv_pos_control
|
||||||
#vmount
|
#vmount
|
||||||
vtol_att_control
|
vtol_att_control
|
||||||
SYSTEMCMDS
|
SYSTEMCMDS
|
||||||
@@ -91,6 +99,7 @@ px4_add_board(
|
|||||||
dmesg
|
dmesg
|
||||||
dumpfile
|
dumpfile
|
||||||
#esc_calib
|
#esc_calib
|
||||||
|
#gpio
|
||||||
hardfault_log
|
hardfault_log
|
||||||
i2cdetect
|
i2cdetect
|
||||||
led_control
|
led_control
|
||||||
@@ -106,6 +115,7 @@ px4_add_board(
|
|||||||
reboot
|
reboot
|
||||||
reflect
|
reflect
|
||||||
sd_bench
|
sd_bench
|
||||||
|
#serial_test
|
||||||
system_time
|
system_time
|
||||||
tests # tests and test runner
|
tests # tests and test runner
|
||||||
top
|
top
|
||||||
|
|||||||
@@ -32,9 +32,7 @@ px4_add_board(
|
|||||||
imu/invensense/icm20602
|
imu/invensense/icm20602
|
||||||
imu/invensense/icm20689
|
imu/invensense/icm20689
|
||||||
irlock
|
irlock
|
||||||
lights/blinkm
|
lights # all available light drivers
|
||||||
lights/rgbled
|
|
||||||
lights/rgbled_ncp5623c
|
|
||||||
lights/rgbled_pwm
|
lights/rgbled_pwm
|
||||||
magnetometer # all available magnetometer drivers
|
magnetometer # all available magnetometer drivers
|
||||||
optical_flow # all available optical flow drivers
|
optical_flow # all available optical flow drivers
|
||||||
|
|||||||
@@ -36,9 +36,7 @@ px4_add_board(
|
|||||||
#imu/invensense/icm20602
|
#imu/invensense/icm20602
|
||||||
imu/invensense/icm20689
|
imu/invensense/icm20689
|
||||||
#irlock
|
#irlock
|
||||||
#lights/blinkm
|
lights # all available light drivers
|
||||||
lights/rgbled
|
|
||||||
#lights/rgbled_ncp5623c
|
|
||||||
lights/rgbled_pwm
|
lights/rgbled_pwm
|
||||||
magnetometer # all available magnetometer drivers
|
magnetometer # all available magnetometer drivers
|
||||||
optical_flow # all available optical flow drivers
|
optical_flow # all available optical flow drivers
|
||||||
|
|||||||
@@ -37,9 +37,7 @@ px4_add_board(
|
|||||||
imu/invensense/icm20602
|
imu/invensense/icm20602
|
||||||
imu/invensense/icm20689
|
imu/invensense/icm20689
|
||||||
#irlock
|
#irlock
|
||||||
#lights/blinkm
|
lights # all available light drivers
|
||||||
lights/rgbled
|
|
||||||
lights/rgbled_ncp5623c
|
|
||||||
lights/rgbled_pwm
|
lights/rgbled_pwm
|
||||||
magnetometer # all available magnetometer drivers
|
magnetometer # all available magnetometer drivers
|
||||||
optical_flow # all available optical flow drivers
|
optical_flow # all available optical flow drivers
|
||||||
|
|||||||
@@ -16,8 +16,8 @@ px4_add_board(
|
|||||||
TEL2:/dev/ttyS2
|
TEL2:/dev/ttyS2
|
||||||
TEL4:/dev/ttyS3
|
TEL4:/dev/ttyS3
|
||||||
DRIVERS
|
DRIVERS
|
||||||
adc/board_adc
|
|
||||||
adc/ads1115
|
adc/ads1115
|
||||||
|
adc/board_adc
|
||||||
barometer # all available barometer drivers
|
barometer # all available barometer drivers
|
||||||
batt_smbus
|
batt_smbus
|
||||||
camera_capture
|
camera_capture
|
||||||
@@ -33,9 +33,7 @@ px4_add_board(
|
|||||||
imu/invensense/icm20602
|
imu/invensense/icm20602
|
||||||
imu/invensense/icm20689
|
imu/invensense/icm20689
|
||||||
irlock
|
irlock
|
||||||
lights/blinkm
|
lights # all available light drivers
|
||||||
lights/rgbled
|
|
||||||
lights/rgbled_ncp5623c
|
|
||||||
lights/rgbled_pwm
|
lights/rgbled_pwm
|
||||||
magnetometer # all available magnetometer drivers
|
magnetometer # all available magnetometer drivers
|
||||||
optical_flow # all available optical flow drivers
|
optical_flow # all available optical flow drivers
|
||||||
@@ -114,6 +112,7 @@ px4_add_board(
|
|||||||
reboot
|
reboot
|
||||||
reflect
|
reflect
|
||||||
sd_bench
|
sd_bench
|
||||||
|
serial_test
|
||||||
system_time
|
system_time
|
||||||
#tests # tests and test runner
|
#tests # tests and test runner
|
||||||
top
|
top
|
||||||
|
|||||||
@@ -33,9 +33,7 @@ px4_add_board(
|
|||||||
imu/invensense/icm20602
|
imu/invensense/icm20602
|
||||||
imu/invensense/icm42605
|
imu/invensense/icm42605
|
||||||
irlock
|
irlock
|
||||||
lights/blinkm
|
lights # all available light drivers
|
||||||
lights/rgbled
|
|
||||||
lights/rgbled_ncp5623c
|
|
||||||
magnetometer # all available magnetometer drivers
|
magnetometer # all available magnetometer drivers
|
||||||
optical_flow # all available optical flow drivers
|
optical_flow # all available optical flow drivers
|
||||||
osd
|
osd
|
||||||
|
|||||||
@@ -32,9 +32,7 @@ px4_add_board(
|
|||||||
imu/invensense/icm20602
|
imu/invensense/icm20602
|
||||||
#imu/mpu9250
|
#imu/mpu9250
|
||||||
#irlock
|
#irlock
|
||||||
lights/blinkm
|
lights # all available light drivers
|
||||||
lights/rgbled
|
|
||||||
lights/rgbled_ncp5623c
|
|
||||||
magnetometer # all available magnetometer drivers
|
magnetometer # all available magnetometer drivers
|
||||||
optical_flow # all available optical flow drivers
|
optical_flow # all available optical flow drivers
|
||||||
osd
|
osd
|
||||||
|
|||||||
@@ -1,70 +0,0 @@
|
|||||||
/****************************************************************************
|
|
||||||
*
|
|
||||||
* Copyright (c) 2012-2015 PX4 Development Team. All rights reserved.
|
|
||||||
*
|
|
||||||
* Redistribution and use in source and binary forms, with or without
|
|
||||||
* modification, are permitted provided that the following conditions
|
|
||||||
* are met:
|
|
||||||
*
|
|
||||||
* 1. Redistributions of source code must retain the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimer.
|
|
||||||
* 2. Redistributions in binary form must reproduce the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimer in
|
|
||||||
* the documentation and/or other materials provided with the
|
|
||||||
* distribution.
|
|
||||||
* 3. Neither the name PX4 nor the names of its contributors may be
|
|
||||||
* used to endorse or promote products derived from this software
|
|
||||||
* without specific prior written permission.
|
|
||||||
*
|
|
||||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
||||||
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
||||||
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
|
||||||
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
|
||||||
* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
|
||||||
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
|
||||||
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
|
|
||||||
* OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
|
|
||||||
* AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
||||||
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
|
|
||||||
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
|
||||||
* POSSIBILITY OF SUCH DAMAGE.
|
|
||||||
*
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @file drv_blinkm.h
|
|
||||||
*
|
|
||||||
* BlinkM driver API
|
|
||||||
*
|
|
||||||
* This could probably become a more generalised API for multi-colour LED
|
|
||||||
* driver systems, or be merged with the generic LED driver.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#include <px4_platform_common/defines.h>
|
|
||||||
#include <stdint.h>
|
|
||||||
#include <sys/ioctl.h>
|
|
||||||
|
|
||||||
#define BLINKM0_DEVICE_PATH "/dev/blinkm0"
|
|
||||||
|
|
||||||
/*
|
|
||||||
* ioctl() definitions
|
|
||||||
*/
|
|
||||||
|
|
||||||
#define _BLINKMIOCBASE (0x2900)
|
|
||||||
#define _BLINKMIOC(_n) (_PX4_IOC(_BLINKMIOCBASE, _n))
|
|
||||||
|
|
||||||
/** play the named script in *(char *)arg, repeating forever */
|
|
||||||
#define BLINKM_PLAY_SCRIPT_NAMED _BLINKMIOC(1)
|
|
||||||
|
|
||||||
/** play the numbered script in (arg), repeating forever */
|
|
||||||
#define BLINKM_PLAY_SCRIPT _BLINKMIOC(2)
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Set the user script; (arg) is a pointer to an array of script lines,
|
|
||||||
* where each line is an array of four bytes giving <duration>, <command>, arg[0-2]
|
|
||||||
*
|
|
||||||
* The script is terminated by a zero command.
|
|
||||||
*/
|
|
||||||
#define BLINKM_SET_USER_SCRIPT _BLINKMIOC(3)
|
|
||||||
@@ -142,7 +142,7 @@
|
|||||||
#define DRV_DIST_DEVTYPE_VL53L0X 0x76
|
#define DRV_DIST_DEVTYPE_VL53L0X 0x76
|
||||||
#define DRV_POWER_DEVTYPE_INA226 0x77
|
#define DRV_POWER_DEVTYPE_INA226 0x77
|
||||||
#define DRV_POWER_DEVTYPE_VOXLPM 0x78
|
#define DRV_POWER_DEVTYPE_VOXLPM 0x78
|
||||||
#define DRV_LED_DEVTYPE_BLINKM 0x79
|
|
||||||
#define DRV_LED_DEVTYPE_RGBLED 0x7a
|
#define DRV_LED_DEVTYPE_RGBLED 0x7a
|
||||||
#define DRV_LED_DEVTYPE_RGBLED_NCP5623C 0x7b
|
#define DRV_LED_DEVTYPE_RGBLED_NCP5623C 0x7b
|
||||||
#define DRV_BAT_DEVTYPE_SMBUS 0x7c
|
#define DRV_BAT_DEVTYPE_SMBUS 0x7c
|
||||||
|
|||||||
@@ -31,7 +31,6 @@
|
|||||||
#
|
#
|
||||||
############################################################################
|
############################################################################
|
||||||
|
|
||||||
add_subdirectory(blinkm)
|
|
||||||
#add_subdirectory(neopixel) # requires board support (BOARD_HAS_N_S_RGB_LED)
|
#add_subdirectory(neopixel) # requires board support (BOARD_HAS_N_S_RGB_LED)
|
||||||
add_subdirectory(rgbled)
|
add_subdirectory(rgbled)
|
||||||
add_subdirectory(rgbled_ncp5623c)
|
add_subdirectory(rgbled_ncp5623c)
|
||||||
|
|||||||
@@ -1,42 +0,0 @@
|
|||||||
############################################################################
|
|
||||||
#
|
|
||||||
# Copyright (c) 2015 PX4 Development Team. All rights reserved.
|
|
||||||
#
|
|
||||||
# Redistribution and use in source and binary forms, with or without
|
|
||||||
# modification, are permitted provided that the following conditions
|
|
||||||
# are met:
|
|
||||||
#
|
|
||||||
# 1. Redistributions of source code must retain the above copyright
|
|
||||||
# notice, this list of conditions and the following disclaimer.
|
|
||||||
# 2. Redistributions in binary form must reproduce the above copyright
|
|
||||||
# notice, this list of conditions and the following disclaimer in
|
|
||||||
# the documentation and/or other materials provided with the
|
|
||||||
# distribution.
|
|
||||||
# 3. Neither the name PX4 nor the names of its contributors may be
|
|
||||||
# used to endorse or promote products derived from this software
|
|
||||||
# without specific prior written permission.
|
|
||||||
#
|
|
||||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
||||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
||||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
|
||||||
# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
|
||||||
# COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
|
||||||
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
|
||||||
# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
|
|
||||||
# OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
|
|
||||||
# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
||||||
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
|
|
||||||
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
|
||||||
# POSSIBILITY OF SUCH DAMAGE.
|
|
||||||
#
|
|
||||||
############################################################################
|
|
||||||
px4_add_module(
|
|
||||||
MODULE drivers__blinkm
|
|
||||||
MAIN blinkm
|
|
||||||
STACK_MAIN 1240
|
|
||||||
COMPILE_FLAGS
|
|
||||||
SRCS
|
|
||||||
blinkm.cpp
|
|
||||||
DEPENDS
|
|
||||||
)
|
|
||||||
|
|
||||||
File diff suppressed because it is too large
Load Diff
@@ -1,42 +0,0 @@
|
|||||||
/****************************************************************************
|
|
||||||
*
|
|
||||||
* Copyright (c) 2019 PX4 Development Team. All rights reserved.
|
|
||||||
*
|
|
||||||
* Redistribution and use in source and binary forms, with or without
|
|
||||||
* modification, are permitted provided that the following conditions
|
|
||||||
* are met:
|
|
||||||
*
|
|
||||||
* 1. Redistributions of source code must retain the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimer.
|
|
||||||
* 2. Redistributions in binary form must reproduce the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimer in
|
|
||||||
* the documentation and/or other materials provided with the
|
|
||||||
* distribution.
|
|
||||||
* 3. Neither the name PX4 nor the names of its contributors may be
|
|
||||||
* used to endorse or promote products derived from this software
|
|
||||||
* without specific prior written permission.
|
|
||||||
*
|
|
||||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
||||||
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
||||||
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
|
||||||
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
|
||||||
* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
|
||||||
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
|
||||||
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
|
|
||||||
* OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
|
|
||||||
* AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
||||||
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
|
|
||||||
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
|
||||||
* POSSIBILITY OF SUCH DAMAGE.
|
|
||||||
*
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* BlinkM LED
|
|
||||||
*
|
|
||||||
* @reboot_required true
|
|
||||||
*
|
|
||||||
* @boolean
|
|
||||||
* @group Peripheral
|
|
||||||
*/
|
|
||||||
PARAM_DEFINE_INT32(LIGHT_EN_BLINKM, 0);
|
|
||||||
Reference in New Issue
Block a user