Cleanup of module building.

This commit is contained in:
James Goppert
2015-09-09 23:00:58 -04:00
parent a529153062
commit bf18c84652
36 changed files with 151 additions and 291 deletions
-40
View File
@@ -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 -1
View File
@@ -62,7 +62,7 @@
/** Copy the 96bit MCU Unique ID into the provided pointer */
void mcu_unique_id(uint32_t *uid_96_bit)
{
#ifdef __PX4_NUTTX
#ifdef CONFIG_ARCH_CHIP_STM32
uid_96_bit[0] = getreg32(UNIQUE_ID);
uid_96_bit[1] = getreg32(UNIQUE_ID + 4);
uid_96_bit[2] = getreg32(UNIQUE_ID + 8);
+4
View File
@@ -261,7 +261,11 @@ void print_load(uint64_t t, int fd, struct print_load_s *print_state)
stack_size - stack_free,
stack_size,
system_load.tasks[i].tcb->sched_priority,
#if CONFIG_ARCH_BOARD_SIM
0);
#else
system_load.tasks[i].tcb->base_priority);
#endif
#if CONFIG_RR_INTERVAL > 0
/* print scheduling info with RR time slice */