James Goppert
10 years ago
36 changed files with 151 additions and 291 deletions
@ -0,0 +1,23 @@
@@ -0,0 +1,23 @@
|
||||
include(nuttx/px4_impl_nuttx) |
||||
|
||||
function(px4_set_config_modules out_module_list) |
||||
|
||||
set(config_module_list |
||||
platforms/nuttx |
||||
platforms/nuttx/px4_layer |
||||
platforms/common |
||||
drivers/led |
||||
drivers/device |
||||
modules/systemlib |
||||
modules/uORB |
||||
examples/px4_simple_app |
||||
drivers/boards/px4fmu-v2 |
||||
drivers/stm32 |
||||
lib/mathlib/math/filter |
||||
lib/conversion |
||||
) |
||||
|
||||
set(${out_module_list} ${config_module_list} PARENT_SCOPE) |
||||
|
||||
endfunction() |
||||
|
@ -1,31 +0,0 @@
@@ -1,31 +0,0 @@
|
||||
#============================================================================= |
||||
# |
||||
# px4_create_git_hash_header |
||||
# |
||||
# Create a header file containing the git hash of the current tree |
||||
# |
||||
# Usage: |
||||
# px4_create_git_hash_header(HEADER ${CMAKE_BUILD_DIR}/git_hash.h) |
||||
# |
||||
# Input: |
||||
# HEADER : path of the header file to generate |
||||
# |
||||
# Example: |
||||
# px4_create_git_hash_header(HEADER ${CMAKE_BUILD_DIR}/git_hash.h) |
||||
# |
||||
function(px4_create_git_hash_header) |
||||
px4_parse_function_args( |
||||
NAME px4_create_git_hash_header |
||||
ONE_VALUE HEADER |
||||
REQUIRED HEADER |
||||
ARGN ${ARGN}) |
||||
execute_process( |
||||
COMMAND git log -n 1 --pretty=format:"%H" |
||||
OUTPUT_VARIABLE git_desc |
||||
OUTPUT_STRIP_TRAILING_WHITESPACE |
||||
) |
||||
message(STATUS "GIT_DESC = ${git_desc}") |
||||
set(git_desc_short) |
||||
string(SUBSTRING ${git_desc} 1 16 git_desc_short) |
||||
configure_file(${CMAKE_SOURCE_DIR}/cmake/build_git_version.h.in ${HEADER} @ONLY) |
||||
endfunction() |
@ -1,9 +0,0 @@
@@ -1,9 +0,0 @@
|
||||
add_subdirectory(./lib) |
||||
add_subdirectory(./drivers) |
||||
add_subdirectory(./platforms) |
||||
add_subdirectory(./systemcmds) |
||||
add_subdirectory(./examples) |
||||
add_subdirectory(./modules) |
||||
add_subdirectory(./firmware/${OS}) |
||||
|
||||
# vim: set noet ft=cmake fenc=utf-8 ff=unix : |
@ -1,55 +0,0 @@
@@ -1,55 +0,0 @@
|
||||
set(directories |
||||
./roboclaw |
||||
./device |
||||
./px4io |
||||
./boards/px4fmu-v2 |
||||
./boards/px4-stm32f4discovery |
||||
./boards/px4io-v2 |
||||
./boards/px4io-v1 |
||||
./boards/px4fmu-v1 |
||||
./boards/aerocore |
||||
./boards/sitl |
||||
./mpu6000 |
||||
./gimbal |
||||
./camera_trigger |
||||
./pwm_input |
||||
./pwm_out_sim |
||||
./pca9685 |
||||
./mkblctrl |
||||
./sf0x |
||||
./hott/hott_telemetry |
||||
./hott/hott_sensors |
||||
./hott |
||||
./ms5611 |
||||
./led |
||||
./irlock |
||||
./bma180 |
||||
./l3gd20 |
||||
./blinkm |
||||
./md25 |
||||
./lsm303d |
||||
./pca8574 |
||||
./mb12xx |
||||
./trone |
||||
./airspeed |
||||
./rgbled |
||||
./frsky_telemetry |
||||
./meas_airspeed |
||||
./px4flow |
||||
./mpu9250 |
||||
./gps |
||||
./ets_airspeed |
||||
./ll40ls |
||||
./ardrone_interface |
||||
./hmc5883 |
||||
./px4fmu |
||||
./stm32/tone_alarm |
||||
./stm32/adc |
||||
./stm32 |
||||
./oreoled |
||||
./batt_smbus |
||||
) |
||||
|
||||
foreach(directory ${directories}) |
||||
add_subdirectory(${directory} EXCLUDE_FROM_ALL) |
||||
endforeach() |
@ -1,16 +0,0 @@
@@ -1,16 +0,0 @@
|
||||
set(directories |
||||
./px4_simple_app |
||||
./fixedwing_control |
||||
./rover_steering_control |
||||
./px4_mavlink_debug |
||||
./px4_daemon_app |
||||
./flow_position_estimator |
||||
./matlab_csv_serial |
||||
./subscriber |
||||
./hwtest |
||||
./publisher |
||||
) |
||||
|
||||
foreach(directory ${directories}) |
||||
add_subdirectory(${directory} EXCLUDE_FROM_ALL) |
||||
endforeach() |
@ -1,15 +0,0 @@
@@ -1,15 +0,0 @@
|
||||
set(directories |
||||
./external_lgpl |
||||
./geo |
||||
./launchdetection |
||||
./mathlib/math/filter |
||||
./mathlib |
||||
./rc |
||||
./geo_lookup |
||||
./ecl |
||||
./conversion |
||||
) |
||||
|
||||
foreach(directory ${directories}) |
||||
add_subdirectory(${directory} EXCLUDE_FROM_ALL) |
||||
endforeach() |
@ -1,40 +0,0 @@
@@ -1,40 +0,0 @@
|
||||
set(directories |
||||
./navigator |
||||
./segway |
||||
./fw_pos_control_l1 |
||||
./uavcan |
||||
./position_estimator_inav |
||||
./px4iofirmware |
||||
./gpio_led |
||||
./dataman |
||||
./fixedwing_backside |
||||
./uORB |
||||
./land_detector |
||||
./muorb/krait |
||||
./muorb/adsp |
||||
./simulator |
||||
./ekf_att_pos_estimator |
||||
./mc_pos_control |
||||
./attitude_estimator_ekf |
||||
./sensors |
||||
./vtol_att_control |
||||
./fw_att_control |
||||
./unit_test |
||||
./mc_att_control_multiplatform |
||||
./commander/commander_tests |
||||
./commander |
||||
./mavlink/mavlink_tests |
||||
./mavlink |
||||
./mc_att_control |
||||
./bottle_drop |
||||
./systemlib/mixer |
||||
./systemlib |
||||
./mc_pos_control_multiplatform |
||||
./sdlog2 |
||||
./controllib |
||||
./attitude_estimator_q |
||||
) |
||||
|
||||
foreach(directory ${directories}) |
||||
add_subdirectory(${directory} EXCLUDE_FROM_ALL) |
||||
endforeach() |
@ -1,26 +0,0 @@
@@ -1,26 +0,0 @@
|
||||
set(directories |
||||
./posix/tests/hrt_test |
||||
./posix/tests/wqueue |
||||
./posix/tests/hello |
||||
./posix/tests/muorb |
||||
./posix/tests/vcdev_test |
||||
./posix/work_queue |
||||
./posix/px4_layer |
||||
./posix/drivers/adcsim |
||||
./posix/drivers/gpssim |
||||
./posix/drivers/tonealrmsim |
||||
./posix/drivers/accelsim |
||||
./posix/drivers/airspeedsim |
||||
./posix/drivers/barosim |
||||
./posix/drivers/gyrosim |
||||
./qurt/tests/hello |
||||
./qurt/tests/muorb |
||||
./qurt/px4_layer |
||||
./common |
||||
./nuttx/px4_layer |
||||
./nuttx |
||||
) |
||||
|
||||
foreach(directory ${directories}) |
||||
add_subdirectory(${directory} EXCLUDE_FROM_ALL) |
||||
endforeach() |
@ -1,26 +0,0 @@
@@ -1,26 +0,0 @@
|
||||
|
||||
set(directories |
||||
./mtd |
||||
./ver |
||||
./mixer |
||||
./tests |
||||
./nshterm |
||||
./config |
||||
./top |
||||
./bl_update |
||||
./reboot |
||||
./i2c |
||||
./param |
||||
./reflect |
||||
./usb_connected |
||||
./motor_test |
||||
./esc_calib |
||||
./perf |
||||
./topic_listener |
||||
./dumpfile |
||||
./pwm |
||||
) |
||||
|
||||
foreach(directory ${directories}) |
||||
add_subdirectory(${directory} EXCLUDE_FROM_ALL) |
||||
endforeach() |
Loading…
Reference in new issue