mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-17 04:53:34 +08:00
Cleanup of module building.
This commit is contained in:
@@ -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()
|
||||
@@ -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);
|
||||
|
||||
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user