Browse Source

Cut over commander app to new build system

sbg
Lorenz Meier 12 years ago
parent
commit
9169ceb3f4
  1. 0
      apps/commander/.context
  2. 6
      makefiles/config_px4fmu_default.mk
  3. 5
      makefiles/config_px4fmuv2_default.mk
  4. 0
      src/modules/commander/calibration_routines.c
  5. 0
      src/modules/commander/calibration_routines.h
  6. 0
      src/modules/commander/commander.c
  7. 0
      src/modules/commander/commander.h
  8. 16
      src/modules/commander/module.mk
  9. 0
      src/modules/commander/state_machine_helper.c
  10. 0
      src/modules/commander/state_machine_helper.h

0
apps/commander/.context

6
makefiles/config_px4fmu_default.mk

@ -17,6 +17,11 @@ MODULES += drivers/l3gd20
MODULES += drivers/ardrone_interface MODULES += drivers/ardrone_interface
MODULES += systemcmds/eeprom MODULES += systemcmds/eeprom
#
# General system control
#
MODULES += modules/commander
# #
# Estimation modules (EKF / other filters) # Estimation modules (EKF / other filters)
# #
@ -41,7 +46,6 @@ BUILTIN_COMMANDS := \
$(call _B, blinkm, , 2048, blinkm_main ) \ $(call _B, blinkm, , 2048, blinkm_main ) \
$(call _B, bma180, , 2048, bma180_main ) \ $(call _B, bma180, , 2048, bma180_main ) \
$(call _B, boardinfo, , 2048, boardinfo_main ) \ $(call _B, boardinfo, , 2048, boardinfo_main ) \
$(call _B, commander, SCHED_PRIORITY_MAX-30, 2048, commander_main ) \
$(call _B, control_demo, , 2048, control_demo_main ) \ $(call _B, control_demo, , 2048, control_demo_main ) \
$(call _B, delay_test, , 2048, delay_test_main ) \ $(call _B, delay_test, , 2048, delay_test_main ) \
$(call _B, fixedwing_att_control, SCHED_PRIORITY_MAX-30, 2048, fixedwing_att_control_main ) \ $(call _B, fixedwing_att_control, SCHED_PRIORITY_MAX-30, 2048, fixedwing_att_control_main ) \

5
makefiles/config_px4fmuv2_default.mk

@ -17,6 +17,11 @@ MODULES += drivers/px4fmu
MODULES += drivers/rgbled MODULES += drivers/rgbled
MODULES += systemcmds/ramtron MODULES += systemcmds/ramtron
#
# General system control
#
MODULES += modules/commander
# #
# Estimation modules (EKF / other filters) # Estimation modules (EKF / other filters)
# #

0
apps/commander/calibration_routines.c → src/modules/commander/calibration_routines.c

0
apps/commander/calibration_routines.h → src/modules/commander/calibration_routines.h

0
apps/commander/commander.c → src/modules/commander/commander.c

0
apps/commander/commander.h → src/modules/commander/commander.h

16
apps/commander/Makefile → src/modules/commander/module.mk

@ -1,6 +1,6 @@
############################################################################ ############################################################################
# #
# Copyright (C) 2012 PX4 Development Team. All rights reserved. # Copyright (C) 2012-2013 PX4 Development Team. All rights reserved.
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions # modification, are permitted provided that the following conditions
@ -32,14 +32,10 @@
############################################################################ ############################################################################
# #
# Commander application # Main system state machine
# #
APPNAME = commander MODULE_COMMAND = commander
PRIORITY = SCHED_PRIORITY_MAX - 30 SRCS = commander.c \
STACKSIZE = 2048 state_machine_helper.c \
calibration_routines.c
INCLUDES = $(TOPDIR)/../mavlink/include/mavlink
include $(APPDIR)/mk/app.mk

0
apps/commander/state_machine_helper.c → src/modules/commander/state_machine_helper.c

0
apps/commander/state_machine_helper.h → src/modules/commander/state_machine_helper.h

Loading…
Cancel
Save