mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-04 22:17:01 +08:00
+7
-7
@@ -51,12 +51,12 @@ ifneq ($(SIM_TYPE),JSBSIM)
|
||||
INCLUDES += -I `ocamlc -where`
|
||||
endif
|
||||
|
||||
CFLAGS = \
|
||||
-W -Wall \
|
||||
$(INCLUDES) \
|
||||
$($(TARGET).CFLAGS) \
|
||||
$(LOCAL_CFLAGS) \
|
||||
-O2 \
|
||||
CFLAGS = -W -Wall
|
||||
CFLAGS += $(INCLUDES)
|
||||
CFLAGS += $($(TARGET).CFLAGS)
|
||||
CFLAGS += $(LOCAL_CFLAGS)
|
||||
CFLAGS += -O2
|
||||
CFLAGS += -std=gnu99
|
||||
|
||||
# meschach prototypes trigger numerous warnings
|
||||
ifneq ($(SIM_TYPE),BOOZ)
|
||||
@@ -66,7 +66,7 @@ endif
|
||||
endif
|
||||
|
||||
|
||||
LDFLAGS = -lm \
|
||||
LDFLAGS = -lm
|
||||
|
||||
ifeq ($(SIM_TYPE),BOOZ)
|
||||
LDFLAGS += $($(TARGET).LDFLAGS)
|
||||
|
||||
@@ -179,8 +179,8 @@ include $(PAPARAZZI_SRC)/conf/autopilot/tiny.makefile
|
||||
|
||||
FLASH_MODE=IAP
|
||||
|
||||
ap.CFLAGS += -DFBW -DAP -DBOARD_CONFIG=\"tiny_0_99.h\" -DUSE_LED -DTIME_LED=1
|
||||
ap.srcs = sys_time.c $(SRC_ARCH)/sys_time_hw.c $(SRC_ARCH)/armVIC.c main_fbw.c main_ap.c main.c
|
||||
ap.CFLAGS += -DFBW -DAP -DBOARD_CONFIG=\"tiny_0_99.h\" -DUSE_LED -DSYS_TIME_LED=1
|
||||
ap.srcs = mcu_periph/sys_time.c $(SRC_ARCH)/mcu_periph/sys_time_arch.c $(SRC_ARCH)/armVIC.c main_fbw.c main_ap.c main.c
|
||||
|
||||
ap.srcs += commands.c
|
||||
|
||||
|
||||
@@ -225,8 +225,8 @@ include $(PAPARAZZI_SRC)/conf/autopilot/tiny.makefile
|
||||
|
||||
FLASH_MODE=IAP
|
||||
|
||||
ap.CFLAGS += -DFBW -DAP -DBOARD_CONFIG=$(CONFIG) -DUSE_LED -DTIME_LED=1
|
||||
ap.srcs = sys_time.c $(SRC_ARCH)/sys_time_hw.c $(SRC_ARCH)/armVIC.c main_fbw.c main_ap.c main.c
|
||||
ap.CFLAGS += -DFBW -DAP -DBOARD_CONFIG=$(CONFIG) -DUSE_LED -DSYS_TIME_LED=1
|
||||
ap.srcs = mcu_periph/sys_time.c $(SRC_ARCH)/mcu_periph/sys_time_arch.c $(SRC_ARCH)/armVIC.c main_fbw.c main_ap.c main.c
|
||||
|
||||
ap.CFLAGS += -DINTER_MCU
|
||||
ap.srcs += inter_mcu.c
|
||||
@@ -299,7 +299,7 @@ ap.CFLAGS += -DUSE_MODULES
|
||||
|
||||
sim.ARCHDIR = $(ARCHI)
|
||||
sim.CFLAGS += -DSITL -DAP -DFBW -DRADIO_CONTROL -DINTER_MCU -DDOWNLINK -DDOWNLINK_TRANSPORT=IvyTransport -DUSE_INFRARED -DNAV -DUSE_LED -DWIND_INFO
|
||||
sim.srcs = latlong.c radio_control.c subsystems/datalink/downlink.c commands.c gps.c inter_mcu.c infrared.c fw_h_ctl_a.c fw_v_ctl_n.c subsystems/nav.c estimator.c sys_time.c main_fbw.c main_ap.c datalink.c $(SRC_ARCH)/ppm_hw.c $(SRC_ARCH)/sim_gps.c $(SRC_ARCH)/sim_ir.c $(SRC_ARCH)/sim_ap.c $(SRC_ARCH)/ivy_transport.c $(SRC_ARCH)/sim_adc_generic.c $(SRC_ARCH)/led_hw.c
|
||||
sim.srcs = latlong.c radio_control.c subsystems/datalink/downlink.c commands.c gps.c inter_mcu.c infrared.c fw_h_ctl_a.c fw_v_ctl_n.c subsystems/nav.c estimator.c mcu_periph/sys_time.c main_fbw.c main_ap.c datalink.c $(SRC_ARCH)/ppm_hw.c $(SRC_ARCH)/sim_gps.c $(SRC_ARCH)/sim_ir.c $(SRC_ARCH)/sim_ap.c $(SRC_ARCH)/ivy_transport.c $(SRC_ARCH)/sim_adc_generic.c $(SRC_ARCH)/led_hw.c
|
||||
|
||||
sim.CFLAGS += -DBOARD_CONFIG=\"tiny.h\" -DAGR_CLIMB -DPITCH_TRIM -DALT_KALMAN
|
||||
|
||||
|
||||
@@ -110,7 +110,7 @@ main_stm32.srcs = $(SRC_BETH)/main_stm32.c \
|
||||
main_stm32.CFLAGS += -DUSE_LED
|
||||
main_stm32.srcs += $(SRC_ARCH)/led_hw.c
|
||||
main_stm32.CFLAGS += -DUSE_SYS_TIME -DSYS_TIME_LED=1
|
||||
main_stm32.CFLAGS += -DPERIODIC_TASK_PERIOD='SYS_TICS_OF_SEC(1./512.)'
|
||||
main_stm32.CFLAGS += -DPERIODIC_FREQUENCY='512.'
|
||||
main_stm32.srcs += sys_time.c $(SRC_ARCH)/sys_time_hw.c
|
||||
|
||||
main_stm32.CFLAGS += -DUSE_UART2 -DUART2_BAUD=B57600
|
||||
@@ -182,7 +182,7 @@ main_coders.srcs = $(SRC_BETH)/main_coders.c \
|
||||
main_coders.CFLAGS += -DUSE_LED
|
||||
main_coders.srcs += $(SRC_ARCH)/led_hw.c
|
||||
main_coders.CFLAGS += -DUSE_SYS_TIME -DSYS_TIME_LED=7
|
||||
main_coders.CFLAGS += -DPERIODIC_TASK_PERIOD='SYS_TICS_OF_SEC(1./512.)'
|
||||
main_coders.CFLAGS += -DPERIODIC_FREQUENCY='512.'
|
||||
main_coders.srcs += sys_time.c $(SRC_ARCH)/sys_time_hw.c
|
||||
|
||||
main_coders.CFLAGS += -DUSE_UART1 -DUART1_BAUD=B57600
|
||||
|
||||
@@ -23,11 +23,11 @@ LOCK_FUSE = ff
|
||||
main.CFLAGS += -DBOARD_CONFIG=\"conf_bl_mc.h\"
|
||||
main.srcs = main_bl_mc.c
|
||||
|
||||
main.CFLAGS += -DPERIODIC_TASK_PERIOD='SYS_TICS_OF_SEC(1e-2)'
|
||||
main.srcs += sys_time.c $(SRC_ARCH)/sys_time_hw.c
|
||||
main.CFLAGS += -DPERIODIC_FREQUENCY='100.' -DUSE_SYS_TIME
|
||||
main.srcs += mcu_periph/sys_time.c $(SRC_ARCH)/mcu_periph/sys_time_arch.c
|
||||
|
||||
main.CFLAGS += -DUSE_LED
|
||||
#-DTIME_LED=1
|
||||
#-DSYS_TIME_LED=1
|
||||
|
||||
main.CFLAGS += -DUSE_UART1 -DUART1_BAUD=B38400
|
||||
main.srcs += $(SRC_ARCH)/mcu_periph/uart_arch.c
|
||||
|
||||
@@ -159,8 +159,8 @@ include $(PAPARAZZI_SRC)/conf/autopilot/tiny.makefile
|
||||
|
||||
FLASH_MODE=IAP
|
||||
|
||||
ap.CFLAGS += -DFBW -DAP -DBOARD_CONFIG=$(CONFIG) -DUSE_LED -DTIME_LED=1
|
||||
ap.srcs = sys_time.c $(SRC_ARCH)/sys_time_hw.c $(SRC_ARCH)/armVIC.c main_fbw.c main_ap.c main.c
|
||||
ap.CFLAGS += -DFBW -DAP -DBOARD_CONFIG=$(CONFIG) -DUSE_LED -DSYS_TIME_LED=1
|
||||
ap.srcs = mcu_periph/sys_time.c $(SRC_ARCH)/mcu_periph/sys_time_arch.c $(SRC_ARCH)/armVIC.c main_fbw.c main_ap.c main.c
|
||||
|
||||
ap.srcs += commands.c
|
||||
|
||||
|
||||
@@ -13,9 +13,8 @@ main.ARCHDIR = $(ARCH)
|
||||
main.CFLAGS += -DBOARD_CONFIG=\"conf_motor_bench.h\" -I$(MB)
|
||||
main.srcs = $(MB)/main_motor_bench.c
|
||||
|
||||
main.CFLAGS += -DPERIODIC_TASK_FREQ='250.'
|
||||
main.CFLAGS += -DPERIODIC_TASK_PERIOD='SYS_TICS_OF_SEC(1./PERIODIC_TASK_FREQ)'
|
||||
main.srcs += sys_time.c $(SRC_ARCH)/sys_time_hw.c
|
||||
main.CFLAGS += -DPERIODIC_FREQUENCY='250.' -DUSE_SYS_TIME
|
||||
main.srcs += mcu_periph/sys_time.c $(SRC_ARCH)/mcu_periph/sys_time_arch.c
|
||||
|
||||
main.CFLAGS += -DUSE_LED
|
||||
|
||||
@@ -57,9 +56,8 @@ foo.ARCHDIR = $(ARCH)
|
||||
foo.CFLAGS += -DBOARD_CONFIG=\"conf_motor_bench.h\" -I$(MB)
|
||||
foo.srcs = $(MB)/main_foo.c
|
||||
|
||||
foo.CFLAGS += -DPERIODIC_TASK_FREQ='250.'
|
||||
foo.CFLAGS += -DPERIODIC_TASK_PERIOD='SYS_TICS_OF_SEC(1./PERIODIC_TASK_FREQ)'
|
||||
foo.srcs += sys_time.c $(SRC_ARCH)/sys_time_hw.c
|
||||
foo.CFLAGS += -DPERIODIC_FREQUENCY='250.' -DUSE_SYS_TIME
|
||||
foo.srcs += mcu_periph/sys_time.c $(SRC_ARCH)/mcu_periph/sys_time_arch.c
|
||||
|
||||
foo.CFLAGS += -DUSE_LED
|
||||
foo.srcs += $(SRC_ARCH)/armVIC.c
|
||||
@@ -76,9 +74,8 @@ bar.ARCHDIR = $(ARCH)
|
||||
bar.CFLAGS += -DBOARD_CONFIG=\"conf_motor_bench.h\" -I$(MB)
|
||||
bar.srcs = $(MB)/main_bar.c
|
||||
|
||||
bar.CFLAGS += -DPERIODIC_TASK_FREQ='250.'
|
||||
bar.CFLAGS += -DPERIODIC_TASK_PERIOD='SYS_TICS_OF_SEC(1./PERIODIC_TASK_FREQ)'
|
||||
bar.srcs += sys_time.c $(SRC_ARCH)/sys_time_hw.c
|
||||
bar.CFLAGS += -DPERIODIC_FREQUENCY='250.' -DUSE_SYS_TIME
|
||||
bar.srcs += mcu_periph/sys_time.c $(SRC_ARCH)/mcu_periph/sys_time_arch.c
|
||||
|
||||
bar.CFLAGS += -DUSE_LED
|
||||
bar.srcs += $(SRC_ARCH)/armVIC.c
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
|
||||
tunnel.ARCHDIR = $(ARCH)
|
||||
|
||||
tunnel.CFLAGS += -DFBW -DBOARD_CONFIG=\"conf_demo.h\" -DUSE_LED -DTIME_LED=1
|
||||
tunnel.CFLAGS += -DFBW -DBOARD_CONFIG=\"conf_demo.h\" -DUSE_LED -DSYS_TIME_LED=1
|
||||
tunnel.srcs += $(SRC_ARCH)/uart_tunnel.c
|
||||
|
||||
ARCH=lpc21
|
||||
@@ -23,8 +23,8 @@ main.ARCHDIR = $(ARCH)
|
||||
main.CFLAGS += -DBOARD_CONFIG=\"conf_demo.h\" -I$(PT_ANT)
|
||||
main.srcs = $(PT_ANT)/pt_ant_main.c
|
||||
|
||||
main.CFLAGS += -DPERIODIC_TASK_PERIOD='SYS_TICS_OF_SEC(1.66666667e-2)'
|
||||
main.srcs += sys_time.c $(SRC_ARCH)/sys_time_hw.c
|
||||
main.CFLAGS += -DPERIODIC_FREQUENCY='60.' -DUSE_SYS_TIME
|
||||
main.srcs += mcu_periph/sys_time.c $(SRC_ARCH)/mcu_periph/sys_time_arch.c
|
||||
|
||||
main.CFLAGS += -DUSE_LED
|
||||
|
||||
|
||||
@@ -17,8 +17,8 @@ main.srcs += mcu.c
|
||||
main.srcs += $(SRC_ARCH)/mcu_arch.c
|
||||
|
||||
main.CFLAGS += -DUSE_LED
|
||||
main.CFLAGS += -DPERIODIC_TASK_PERIOD='SYS_TICS_OF_SEC((1./512.))' -DTIME_LED=1
|
||||
main.srcs += sys_time.c $(MB)/turntable_systime.c
|
||||
main.CFLAGS += -DPERIODIC_FREQUENCY='512.' -DSYS_TIME_LED=1
|
||||
main.srcs += mcu_periph/sys_time.c $(MB)/turntable_systime.c
|
||||
|
||||
#main.CFLAGS += -DUSE_USB_SERIAL
|
||||
#main.srcs += $(SRC_ARCH)/usb_ser_hw.c
|
||||
|
||||
@@ -223,8 +223,8 @@ include $(PAPARAZZI_SRC)/conf/autopilot/tiny.makefile
|
||||
|
||||
FLASH_MODE=IAP
|
||||
|
||||
ap.CFLAGS += -DFBW -DAP -DBOARD_CONFIG=$(CONFIG) -DUSE_LED -DTIME_LED=2
|
||||
ap.srcs = sys_time.c $(SRC_ARCH)/sys_time_hw.c $(SRC_ARCH)/armVIC.c main_fbw.c main_ap.c main.c
|
||||
ap.CFLAGS += -DFBW -DAP -DBOARD_CONFIG=$(CONFIG) -DUSE_LED -DSYS_TIME_LED=2
|
||||
ap.srcs = mcu_periph/sys_time.c $(SRC_ARCH)/mcu_periph/sys_time_arch.c $(SRC_ARCH)/armVIC.c main_fbw.c main_ap.c main.c
|
||||
|
||||
ap.srcs += commands.c
|
||||
|
||||
|
||||
+12
-12
@@ -23,8 +23,8 @@ demo2.ARCHDIR = $(ARCH)
|
||||
demo2.CFLAGS += -DBOARD_CONFIG=\"conf_demo.h\"
|
||||
demo2.srcs = main_demo2.c
|
||||
|
||||
demo2.CFLAGS += -DPERIODIC_TASK_PERIOD='SYS_TICS_OF_SEC(10e-2)'
|
||||
demo2.srcs += sys_time.c $(SRC_ARCH)/sys_time_hw.c
|
||||
demo2.CFLAGS += -DPERIODIC_FREQUENCY='100.' -DUSE_SYS_TIME
|
||||
demo2.srcs += mcu_periph/sys_time.c $(SRC_ARCH)/mcu_periph/sys_time_arch.c
|
||||
|
||||
demo2.CFLAGS += -DUSE_LED
|
||||
|
||||
@@ -36,8 +36,8 @@ demo3.ARCHDIR = $(ARCH)
|
||||
demo3.CFLAGS += -DBOARD_CONFIG=\"conf_demo.h\"
|
||||
demo3.srcs = main_demo3.c
|
||||
|
||||
demo3.CFLAGS += -DPERIODIC_TASK_PERIOD='SYS_TICS_OF_SEC(1e-1)'
|
||||
demo3.srcs += sys_time.c $(SRC_ARCH)/sys_time_hw.c
|
||||
demo3.CFLAGS += -DPERIODIC_FREQUENCY='10.' -DUSE_SYS_TIME
|
||||
demo3.srcs += mcu_periph/sys_time.c $(SRC_ARCH)/mcu_periph/sys_time_arch.c
|
||||
|
||||
demo3.CFLAGS += -DUSE_LED
|
||||
|
||||
@@ -55,8 +55,8 @@ demo4.ARCHDIR = $(ARCH)
|
||||
demo4.CFLAGS += -DBOARD_CONFIG=\"conf_demo.h\"
|
||||
demo4.srcs = main_demo4.c
|
||||
|
||||
demo4.CFLAGS += -DPERIODIC_TASK_PERIOD='SYS_TICS_OF_SEC(10e-2)'
|
||||
demo4.srcs += sys_time.c $(SRC_ARCH)/sys_time_hw.c
|
||||
demo4.CFLAGS += -DPERIODIC_FREQUENCY='100.' -DUSE_SYS_TIME
|
||||
demo4.srcs += mcu_periph/sys_time.c $(SRC_ARCH)/mcu_periph/sys_time_arch.c
|
||||
|
||||
demo4.CFLAGS += -DUSE_LED
|
||||
|
||||
@@ -78,8 +78,8 @@ demo5.ARCHDIR = $(ARCH)
|
||||
demo5.CFLAGS += -DBOARD_CONFIG=\"conf_demo.h\"
|
||||
demo5.srcs = main_demo5.c
|
||||
|
||||
demo5.CFLAGS += -DPERIODIC_TASK_PERIOD='SYS_TICS_OF_SEC(10e-2)'
|
||||
demo5.srcs += sys_time.c $(SRC_ARCH)/sys_time_hw.c
|
||||
demo5.CFLAGS += -DPERIODIC_FREQUENCY='100.' -DUSE_SYS_TIME
|
||||
demo5.srcs += mcu_periph/sys_time.c $(SRC_ARCH)/mcu_periph/sys_time_arch.c
|
||||
|
||||
demo5.CFLAGS += -DUSE_LED
|
||||
|
||||
@@ -102,8 +102,8 @@ demo6.ARCHDIR = $(ARCH)
|
||||
demo6.CFLAGS += -DBOARD_CONFIG=\"conf_demo.h\"
|
||||
demo6.srcs = main_demo6.c
|
||||
|
||||
demo6.CFLAGS += -DPERIODIC_TASK_PERIOD='SYS_TICS_OF_SEC(10e-2)'
|
||||
demo6.srcs += sys_time.c $(SRC_ARCH)/sys_time_hw.c
|
||||
demo6.CFLAGS += -DPERIODIC_FREQUENCY='100.'
|
||||
demo6.srcs += mcu_periph/sys_time.c $(SRC_ARCH)/mcu_periph/sys_time_arch.c
|
||||
|
||||
demo6.CFLAGS += -DUSE_LED
|
||||
|
||||
@@ -129,8 +129,8 @@ test_spk.ARCHDIR = $(ARCH)
|
||||
test_spk.CFLAGS += -DBOARD_CONFIG=\"booz2_board_usb.h\"
|
||||
test_spk.srcs = main_test_spk.c
|
||||
|
||||
test_spk.CFLAGS += -DPERIODIC_TASK_PERIOD='SYS_TICS_OF_SEC(1./512.)'
|
||||
test_spk.srcs += sys_time.c $(SRC_ARCH)/sys_time_hw.c
|
||||
test_spk.CFLAGS += -DPERIODIC_FREQUENCY='512.'
|
||||
test_spk.srcs += mcu_periph/sys_time.c $(SRC_ARCH)/mcu_periph/sys_time_arch.c
|
||||
|
||||
test_spk.CFLAGS += -DUSE_LED
|
||||
|
||||
|
||||
@@ -164,8 +164,8 @@ include $(PAPARAZZI_SRC)/conf/autopilot/tiny.makefile
|
||||
|
||||
FLASH_MODE=IAP
|
||||
|
||||
ap.CFLAGS += -DFBW -DAP -DBOARD_CONFIG=$(CONFIG) -DUSE_LED -DTIME_LED=1
|
||||
ap.srcs = sys_time.c $(SRC_ARCH)/sys_time_hw.c $(SRC_ARCH)/armVIC.c $(SRC_FIRMWARE)/main_fbw.c $(SRC_FIRMWARE)/main_ap.c $(SRC_FIRMWARE)/main.c
|
||||
ap.CFLAGS += -DFBW -DAP -DBOARD_CONFIG=$(CONFIG) -DUSE_LED -DSYS_TIME_LED=1
|
||||
ap.srcs = mcu_periph/sys_time.c $(SRC_ARCH)/mcu_periph/sys_time_arch.c $(SRC_ARCH)/armVIC.c $(SRC_FIRMWARE)/main_fbw.c $(SRC_FIRMWARE)/main_ap.c $(SRC_FIRMWARE)/main.c
|
||||
|
||||
ap.CFLAGS += -DINTER_MCU
|
||||
ap.srcs += inter_mcu.c
|
||||
|
||||
@@ -14,8 +14,10 @@ http://paparazzi.enac.fr/w/index.php?title=Theory_of_Operation
|
||||
<configure name="PERIODIC_FREQUENCY" value="960"/> <!-- IMU FREQ -->
|
||||
<configure name="AHRS_PROPAGATE_FREQUENCY" value="120"/>
|
||||
<configure name="AHRS_CORRECT_FREQUENCY" value="60"/>
|
||||
<configure name="AHRS_ALIGNER_LED" value="1"/>
|
||||
<configure name="CPU_LED" value="2"/>
|
||||
<configure name="AHRS_ALIGNER_LED" value="2"/>
|
||||
<!--configure name="CPU_LED" value="2"/-->
|
||||
<configure name="SYS_TIME_LED" value="1"/>
|
||||
<configure name="GPS_LED" value="none"/>
|
||||
<!-- for airspeed sensor
|
||||
<define name="USE_I2C0"/>
|
||||
<define name="I2C0_VIC_SLOT" value="12"/>
|
||||
|
||||
@@ -10,9 +10,8 @@
|
||||
<define name="RADIO_CONTROL_SPEKTRUM_SIGNS" value="\{1,1,-1,1,-1,-1,-1,1,1,1,1,1\}"/>
|
||||
<define name="RADIO_CONTROL_SPEKTRUM_SECONDARY_PORT" value="UART5"/>
|
||||
<define name="OVERRIDE_UART5_IRQ_HANDLER"/>
|
||||
<define name="ACTUATORS_START_DELAY" value="2"/>
|
||||
<!--define name="ACTUATORS_START_DELAY" value="2"/-->
|
||||
<define name="USE_INS_NAV_INIT"/>
|
||||
<!--configure name="SYS_TIME_LED" value="none"/-->
|
||||
<configure name="AHRS_ALIGNER_LED" value="3"/>
|
||||
</target>
|
||||
<target name="sim" board="pc">
|
||||
@@ -28,6 +27,10 @@
|
||||
<subsystem name="ahrs" type="int_cmpl_quat"/>
|
||||
</firmware>
|
||||
|
||||
<firmware name="setup">
|
||||
<target name="tunnel" board="lisa_m_1.0"/>
|
||||
</firmware>
|
||||
|
||||
<firmware name="lisa_m_test_progs">
|
||||
<target name="test_sys_time" board="lisa_m_1.0"/>
|
||||
<target name="test_led" board="lisa_m_1.0"/>
|
||||
|
||||
@@ -222,7 +222,7 @@ include $(PAPARAZZI_SRC)/conf/autopilot/tiny.makefile
|
||||
|
||||
FLASH_MODE=IAP
|
||||
|
||||
ap.CFLAGS += -DFBW -DAP -DBOARD_CONFIG=$(CONFIG) -DUSE_LED -DTIME_LED=1
|
||||
ap.CFLAGS += -DFBW -DAP -DBOARD_CONFIG=$(CONFIG) -DUSE_LED -DSYS_TIME_LED=1
|
||||
ap.srcs = sys_time.c $(SRC_ARCH)/sys_time_hw.c $(SRC_ARCH)/armVIC.c main_fbw.c main_ap.c main.c
|
||||
|
||||
ap.srcs += commands.c
|
||||
|
||||
@@ -238,8 +238,8 @@ include $(PAPARAZZI_SRC)/conf/autopilot/tiny.makefile
|
||||
|
||||
FLASH_MODE=IAP
|
||||
|
||||
ap.CFLAGS += -DFBW -DAP -DBOARD_CONFIG=$(CONFIG) -DUSE_LED -DTIME_LED=1
|
||||
ap.srcs = sys_time.c $(SRC_ARCH)/sys_time_hw.c $(SRC_ARCH)/armVIC.c main_fbw.c main_ap.c main.c
|
||||
ap.CFLAGS += -DFBW -DAP -DBOARD_CONFIG=$(CONFIG) -DUSE_LED -DSYS_TIME_LED=1
|
||||
ap.srcs = mcu_periph/sys_time.c $(SRC_ARCH)/mcu_periph/sys_time_arch.c $(SRC_ARCH)/armVIC.c main_fbw.c main_ap.c main.c
|
||||
|
||||
ap.srcs += commands.c
|
||||
|
||||
@@ -289,7 +289,7 @@ sim.ARCH = sitl
|
||||
sim.TARGET = autopilot
|
||||
sim.TARGETDIR = autopilot
|
||||
sim.CFLAGS += -DSITL -DAP -DFBW -DRADIO_CONTROL -DINTER_MCU -DDOWNLINK -DDOWNLINK_TRANSPORT=IvyTransport -DUSE_INFRARED -DNAV -DUSE_LED -DWIND_INFO
|
||||
sim.srcs = latlong.c radio_control.c subsystems/datalink/downlink.c commands.c gps.c inter_mcu.c infrared.c fw_h_ctl_a.c fw_v_ctl.c subsystems/nav.c estimator.c sys_time.c main_fbw.c main_ap.c datalink.c $(SRC_ARCH)/ppm_hw.c $(SRC_ARCH)/sim_gps.c $(SRC_ARCH)/sim_ir.c $(SRC_ARCH)/sim_ap.c $(SRC_ARCH)/ivy_transport.c $(SRC_ARCH)/sim_adc_generic.c $(SRC_ARCH)/led_hw.c
|
||||
sim.srcs = latlong.c radio_control.c subsystems/datalink/downlink.c commands.c gps.c inter_mcu.c infrared.c fw_h_ctl_a.c fw_v_ctl.c subsystems/nav.c estimator.c mcu_periph/sys_time.c main_fbw.c main_ap.c datalink.c $(SRC_ARCH)/ppm_hw.c $(SRC_ARCH)/sim_gps.c $(SRC_ARCH)/sim_ir.c $(SRC_ARCH)/sim_ap.c $(SRC_ARCH)/ivy_transport.c $(SRC_ARCH)/sim_adc_generic.c $(SRC_ARCH)/led_hw.c
|
||||
|
||||
sim.CFLAGS += -DBOARD_CONFIG=\"tiny.h\" -DAGR_CLIMB -DLOITER_TRIM -DALT_KALMAN
|
||||
sim.srcs += subsystems/navigation/nav_line.c subsystems/navigation/nav_survey_rectangle.c
|
||||
|
||||
@@ -199,8 +199,8 @@ include $(PAPARAZZI_SRC)/conf/autopilot/tiny.makefile
|
||||
|
||||
FLASH_MODE=IAP
|
||||
|
||||
ap.CFLAGS += -DFBW -DAP -DBOARD_CONFIG=$(CONFIG) -DUSE_LED -DTIME_LED=1
|
||||
ap.srcs = sys_time.c $(SRC_ARCH)/sys_time_hw.c $(SRC_ARCH)/armVIC.c main_fbw.c main_ap.c main.c
|
||||
ap.CFLAGS += -DFBW -DAP -DBOARD_CONFIG=$(CONFIG) -DUSE_LED -DSYS_TIME_LED=1
|
||||
ap.srcs = mcu_periph/sys_time.c $(SRC_ARCH)/mcu_periph/sys_time_arch.c $(SRC_ARCH)/armVIC.c main_fbw.c main_ap.c main.c
|
||||
|
||||
ap.srcs += commands.c
|
||||
|
||||
|
||||
@@ -200,8 +200,8 @@ include $(PAPARAZZI_SRC)/conf/autopilot/tiny.makefile
|
||||
|
||||
FLASH_MODE=IAP
|
||||
|
||||
ap.CFLAGS += -DFBW -DAP -DBOARD_CONFIG=$(CONFIG) -DUSE_LED -DTIME_LED=1
|
||||
ap.srcs = sys_time.c $(SRC_ARCH)/sys_time_hw.c $(SRC_ARCH)/armVIC.c main_fbw.c main_ap.c main.c
|
||||
ap.CFLAGS += -DFBW -DAP -DBOARD_CONFIG=$(CONFIG) -DUSE_LED -DSYS_TIME_LED=1
|
||||
ap.srcs = mcu_periph/sys_time.c $(SRC_ARCH)/mcu_periph/sys_time_arch.c $(SRC_ARCH)/armVIC.c main_fbw.c main_ap.c main.c
|
||||
|
||||
ap.srcs += commands.c
|
||||
|
||||
|
||||
@@ -202,8 +202,8 @@ include $(PAPARAZZI_SRC)/conf/autopilot/tiny.makefile
|
||||
|
||||
FLASH_MODE=IAP
|
||||
|
||||
ap.CFLAGS += -DFBW -DAP -DBOARD_CONFIG=$(CONFIG) -DUSE_LED -DTIME_LED=1
|
||||
ap.srcs = sys_time.c $(SRC_ARCH)/sys_time_hw.c $(SRC_ARCH)/armVIC.c main_fbw.c main_ap.c main.c
|
||||
ap.CFLAGS += -DFBW -DAP -DBOARD_CONFIG=$(CONFIG) -DUSE_LED -DSYS_TIME_LED=1
|
||||
ap.srcs = mcu_periph/sys_time.c $(SRC_ARCH)/mcu_periph/sys_time_arch.c $(SRC_ARCH)/armVIC.c main_fbw.c main_ap.c main.c
|
||||
|
||||
ap.srcs += commands.c
|
||||
|
||||
|
||||
@@ -201,8 +201,8 @@ include $(PAPARAZZI_SRC)/conf/autopilot/tiny.makefile
|
||||
|
||||
FLASH_MODE=IAP
|
||||
|
||||
ap.CFLAGS += -DFBW -DAP -DBOARD_CONFIG=$(CONFIG) -DUSE_LED -DTIME_LED=1
|
||||
ap.srcs = sys_time.c $(SRC_ARCH)/sys_time_hw.c $(SRC_ARCH)/armVIC.c main_fbw.c main_ap.c main.c
|
||||
ap.CFLAGS += -DFBW -DAP -DBOARD_CONFIG=$(CONFIG) -DUSE_LED -DSYS_TIME_LED=1
|
||||
ap.srcs = mcu_periph/sys_time.c $(SRC_ARCH)/mcu_periph/sys_time_arch.c $(SRC_ARCH)/armVIC.c main_fbw.c main_ap.c main.c
|
||||
|
||||
ap.srcs += commands.c
|
||||
|
||||
|
||||
@@ -201,8 +201,8 @@ include $(PAPARAZZI_SRC)/conf/autopilot/tiny.makefile
|
||||
|
||||
FLASH_MODE=IAP
|
||||
|
||||
ap.CFLAGS += -DFBW -DAP -DBOARD_CONFIG=$(CONFIG) -DUSE_LED -DTIME_LED=1
|
||||
ap.srcs = sys_time.c $(SRC_ARCH)/sys_time_hw.c $(SRC_ARCH)/armVIC.c main_fbw.c main_ap.c main.c
|
||||
ap.CFLAGS += -DFBW -DAP -DBOARD_CONFIG=$(CONFIG) -DUSE_LED -DSYS_TIME_LED=1
|
||||
ap.srcs = mcu_periph/sys_time.c $(SRC_ARCH)/mcu_periph/sys_time_arch.c $(SRC_ARCH)/armVIC.c main_fbw.c main_ap.c main.c
|
||||
|
||||
ap.srcs += commands.c
|
||||
|
||||
|
||||
@@ -179,8 +179,8 @@ include $(PAPARAZZI_SRC)/conf/autopilot/tiny.makefile
|
||||
|
||||
FLASH_MODE=IAP
|
||||
|
||||
ap.CFLAGS += -DFBW -DAP -DBOARD_CONFIG=$(CONFIG) -DUSE_LED -DTIME_LED=1
|
||||
ap.srcs = sys_time.c $(SRC_ARCH)/sys_time_hw.c $(SRC_ARCH)/armVIC.c main_fbw.c main_ap.c main.c
|
||||
ap.CFLAGS += -DFBW -DAP -DBOARD_CONFIG=$(CONFIG) -DUSE_LED -DSYS_TIME_LED=1
|
||||
ap.srcs = mcu_periph/sys_time.c $(SRC_ARCH)/mcu_periph/sys_time_arch.c $(SRC_ARCH)/armVIC.c main_fbw.c main_ap.c main.c
|
||||
|
||||
ap.srcs += commands.c
|
||||
|
||||
|
||||
@@ -190,8 +190,8 @@ include $(PAPARAZZI_SRC)/conf/autopilot/tiny.makefile
|
||||
|
||||
FLASH_MODE=IAP
|
||||
|
||||
ap.CFLAGS += -DFBW -DAP -DBOARD_CONFIG=\"tiny_1_1.h\" -DUSE_LED -DTIME_LED=1
|
||||
ap.srcs = sys_time.c $(SRC_ARCH)/sys_time_hw.c $(SRC_ARCH)/armVIC.c main_fbw.c main_ap.c main.c
|
||||
ap.CFLAGS += -DFBW -DAP -DBOARD_CONFIG=\"tiny_1_1.h\" -DUSE_LED -DSYS_TIME_LED=1
|
||||
ap.srcs = mcu_periph/sys_time.c $(SRC_ARCH)/mcu_periph/sys_time_arch.c $(SRC_ARCH)/armVIC.c main_fbw.c main_ap.c main.c
|
||||
|
||||
ap.srcs += commands.c
|
||||
|
||||
|
||||
@@ -179,8 +179,8 @@ include $(PAPARAZZI_SRC)/conf/autopilot/tiny.makefile
|
||||
|
||||
FLASH_MODE=IAP
|
||||
|
||||
ap.CFLAGS += -DFBW -DAP -DBOARD_CONFIG=$(CONFIG) -DUSE_LED -DTIME_LED=1
|
||||
ap.srcs = sys_time.c $(SRC_ARCH)/sys_time_hw.c $(SRC_ARCH)/armVIC.c main_fbw.c main_ap.c main.c
|
||||
ap.CFLAGS += -DFBW -DAP -DBOARD_CONFIG=$(CONFIG) -DUSE_LED -DSYS_TIME_LED=1
|
||||
ap.srcs = mcu_periph/sys_time.c $(SRC_ARCH)/mcu_periph/sys_time_arch.c $(SRC_ARCH)/armVIC.c main_fbw.c main_ap.c main.c
|
||||
|
||||
ap.srcs += commands.c
|
||||
|
||||
|
||||
@@ -181,8 +181,8 @@ include $(PAPARAZZI_SRC)/conf/autopilot/tiny.makefile
|
||||
|
||||
FLASH_MODE=IAP
|
||||
|
||||
ap.CFLAGS += -DFBW -DAP -DBOARD_CONFIG=$(CONFIG) -DUSE_LED -DTIME_LED=1
|
||||
ap.srcs = sys_time.c $(SRC_ARCH)/sys_time_hw.c $(SRC_ARCH)/armVIC.c main_fbw.c main_ap.c main.c
|
||||
ap.CFLAGS += -DFBW -DAP -DBOARD_CONFIG=$(CONFIG) -DUSE_LED -DSYS_TIME_LED=1
|
||||
ap.srcs = mcu_periph/sys_time.c $(SRC_ARCH)/mcu_periph/sys_time_arch.c $(SRC_ARCH)/armVIC.c main_fbw.c main_ap.c main.c
|
||||
|
||||
ap.srcs += commands.c
|
||||
|
||||
|
||||
@@ -181,8 +181,8 @@ include $(PAPARAZZI_SRC)/conf/autopilot/tiny.makefile
|
||||
|
||||
FLASH_MODE=IAP
|
||||
|
||||
ap.CFLAGS += -DFBW -DAP -DBOARD_CONFIG=$(CONFIG) -DUSE_LED -DTIME_LED=1
|
||||
ap.srcs = sys_time.c $(SRC_ARCH)/sys_time_hw.c $(SRC_ARCH)/armVIC.c main_fbw.c main_ap.c main.c
|
||||
ap.CFLAGS += -DFBW -DAP -DBOARD_CONFIG=$(CONFIG) -DUSE_LED -DSYS_TIME_LED=1
|
||||
ap.srcs = mcu_periph/sys_time.c $(SRC_ARCH)/mcu_periph/sys_time_arch.c $(SRC_ARCH)/armVIC.c main_fbw.c main_ap.c main.c
|
||||
|
||||
ap.srcs += commands.c
|
||||
|
||||
|
||||
@@ -181,8 +181,8 @@ include $(PAPARAZZI_SRC)/conf/autopilot/tiny.makefile
|
||||
|
||||
FLASH_MODE=IAP
|
||||
|
||||
ap.CFLAGS += -DFBW -DAP -DBOARD_CONFIG=$(CONFIG) -DUSE_LED -DTIME_LED=1
|
||||
ap.srcs = sys_time.c $(SRC_ARCH)/sys_time_hw.c $(SRC_ARCH)/armVIC.c main_fbw.c main_ap.c main.c
|
||||
ap.CFLAGS += -DFBW -DAP -DBOARD_CONFIG=$(CONFIG) -DUSE_LED -DSYS_TIME_LED=1
|
||||
ap.srcs = mcu_periph/sys_time.c $(SRC_ARCH)/mcu_periph/sys_time_arch.c $(SRC_ARCH)/armVIC.c main_fbw.c main_ap.c main.c
|
||||
|
||||
ap.srcs += commands.c
|
||||
|
||||
|
||||
@@ -181,8 +181,8 @@ include $(PAPARAZZI_SRC)/conf/autopilot/tiny.makefile
|
||||
|
||||
FLASH_MODE=IAP
|
||||
|
||||
ap.CFLAGS += -DFBW -DAP -DBOARD_CONFIG=$(CONFIG) -DUSE_LED -DTIME_LED=1
|
||||
ap.srcs = sys_time.c $(SRC_ARCH)/sys_time_hw.c $(SRC_ARCH)/armVIC.c main_fbw.c main_ap.c main.c
|
||||
ap.CFLAGS += -DFBW -DAP -DBOARD_CONFIG=$(CONFIG) -DUSE_LED -DSYS_TIME_LED=1
|
||||
ap.srcs = mcu_periph/sys_time.c $(SRC_ARCH)/mcu_periph/sys_time_arch.c $(SRC_ARCH)/armVIC.c main_fbw.c main_ap.c main.c
|
||||
|
||||
ap.srcs += commands.c
|
||||
|
||||
|
||||
@@ -207,8 +207,8 @@ include $(PAPARAZZI_SRC)/conf/autopilot/tiny.makefile
|
||||
|
||||
FLASH_MODE=IAP
|
||||
|
||||
ap.CFLAGS += -DFBW -DAP -DBOARD_CONFIG=$(CONFIG) -DUSE_LED -DTIME_LED=1
|
||||
ap.srcs = sys_time.c $(SRC_ARCH)/sys_time_hw.c $(SRC_ARCH)/armVIC.c main_fbw.c main_ap.c main.c
|
||||
ap.CFLAGS += -DFBW -DAP -DBOARD_CONFIG=$(CONFIG) -DUSE_LED -DSYS_TIME_LED=1
|
||||
ap.srcs = mcu_periph/sys_time.c $(SRC_ARCH)/mcu_periph/sys_time_arch.c $(SRC_ARCH)/armVIC.c main_fbw.c main_ap.c main.c
|
||||
|
||||
ap.srcs += commands.c
|
||||
|
||||
|
||||
@@ -175,8 +175,8 @@ include $(PAPARAZZI_SRC)/conf/autopilot/tiny.makefile
|
||||
|
||||
FLASH_MODE=IAP
|
||||
|
||||
ap.CFLAGS += -DFBW -DAP -DBOARD_CONFIG=$(CONFIG) -DUSE_LED -DTIME_LED=1
|
||||
ap.srcs = sys_time.c $(SRC_ARCH)/sys_time_hw.c $(SRC_ARCH)/armVIC.c main_fbw.c main_ap.c main.c
|
||||
ap.CFLAGS += -DFBW -DAP -DBOARD_CONFIG=$(CONFIG) -DUSE_LED -DSYS_TIME_LED=1
|
||||
ap.srcs = mcu_periph/sys_time.c $(SRC_ARCH)/mcu_periph/sys_time_arch.c $(SRC_ARCH)/armVIC.c main_fbw.c main_ap.c main.c
|
||||
|
||||
ap.srcs += commands.c
|
||||
|
||||
|
||||
@@ -217,8 +217,8 @@ include $(PAPARAZZI_SRC)/conf/autopilot/tiny.makefile
|
||||
|
||||
FLASH_MODE=IAP
|
||||
|
||||
ap.CFLAGS += -DFBW -DAP -DBOARD_CONFIG=$(CONFIG) -DUSE_LED -DTIME_LED=1
|
||||
ap.srcs = sys_time.c $(SRC_ARCH)/sys_time_hw.c $(SRC_ARCH)/armVIC.c main_fbw.c main_ap.c main.c
|
||||
ap.CFLAGS += -DFBW -DAP -DBOARD_CONFIG=$(CONFIG) -DUSE_LED -DSYS_TIME_LED=1
|
||||
ap.srcs = mcu_periph/sys_time.c $(SRC_ARCH)/mcu_periph/sys_time_arch.c $(SRC_ARCH)/armVIC.c main_fbw.c main_ap.c main.c
|
||||
|
||||
ap.srcs += commands.c
|
||||
|
||||
|
||||
@@ -232,8 +232,8 @@ include $(PAPARAZZI_SRC)/conf/autopilot/tiny.makefile
|
||||
|
||||
FLASH_MODE=IAP
|
||||
|
||||
ap.CFLAGS += -DFBW -DAP -DBOARD_CONFIG=$(CONFIG) -DUSE_LED -DTIME_LED=1
|
||||
ap.srcs = sys_time.c $(SRC_ARCH)/sys_time_hw.c $(SRC_ARCH)/armVIC.c main_fbw.c main_ap.c main.c
|
||||
ap.CFLAGS += -DFBW -DAP -DBOARD_CONFIG=$(CONFIG) -DUSE_LED -DSYS_TIME_LED=1
|
||||
ap.srcs = mcu_periph/sys_time.c $(SRC_ARCH)/mcu_periph/sys_time_arch.c $(SRC_ARCH)/armVIC.c main_fbw.c main_ap.c main.c
|
||||
|
||||
ap.srcs += commands.c
|
||||
|
||||
|
||||
@@ -199,8 +199,8 @@ include $(PAPARAZZI_SRC)/conf/autopilot/tiny.makefile
|
||||
|
||||
FLASH_MODE=IAP
|
||||
|
||||
ap.CFLAGS += -DFBW -DAP -DBOARD_CONFIG=$(CONFIG) -DUSE_LED -DTIME_LED=1
|
||||
ap.srcs = sys_time.c $(SRC_ARCH)/sys_time_hw.c $(SRC_ARCH)/armVIC.c main_fbw.c main_ap.c main.c
|
||||
ap.CFLAGS += -DFBW -DAP -DBOARD_CONFIG=$(CONFIG) -DUSE_LED -DSYS_TIME_LED=1
|
||||
ap.srcs = mcu_periph/sys_time.c $(SRC_ARCH)/mcu_periph/sys_time_arch.c $(SRC_ARCH)/armVIC.c main_fbw.c main_ap.c main.c
|
||||
|
||||
ap.srcs += commands.c
|
||||
|
||||
@@ -244,7 +244,7 @@ ap.srcs += subsystems/navigation/snav.c
|
||||
# include $(PAPARAZZI_SRC)/conf/autopilot/sitl.makefile
|
||||
sim.ARCHDIR = $(ARCHI)
|
||||
sim.CFLAGS += -DSITL -DAP -DFBW -DRADIO_CONTROL -DINTER_MCU -DDOWNLINK -DDOWNLINK_TRANSPORT=IvyTransport -DUSE_INFRARED -DNAV -DUSE_LED -DWIND_INFO
|
||||
sim.srcs = latlong.c radio_control.c subsystems/datalink/downlink.c commands.c gps.c inter_mcu.c infrared.c fw_h_ctl_a.c fw_v_ctl.c subsystems/nav.c estimator.c sys_time.c main_fbw.c main_ap.c datalink.c $(SRC_ARCH)/ppm_hw.c $(SRC_ARCH)/sim_gps.c $(SRC_ARCH)/sim_ir.c $(SRC_ARCH)/sim_ap.c $(SRC_ARCH)/ivy_transport.c $(SRC_ARCH)/sim_adc_generic.c $(SRC_ARCH)/led_hw.c
|
||||
sim.srcs = latlong.c radio_control.c subsystems/datalink/downlink.c commands.c gps.c inter_mcu.c infrared.c fw_h_ctl_a.c fw_v_ctl.c subsystems/nav.c estimator.c mcu_periph/sys_time.c main_fbw.c main_ap.c datalink.c $(SRC_ARCH)/ppm_hw.c $(SRC_ARCH)/sim_gps.c $(SRC_ARCH)/sim_ir.c $(SRC_ARCH)/sim_ap.c $(SRC_ARCH)/ivy_transport.c $(SRC_ARCH)/sim_adc_generic.c $(SRC_ARCH)/led_hw.c
|
||||
|
||||
sim.CFLAGS += -DBOARD_CONFIG=\"tiny.h\" -DAGR_CLIMB -DLOITER_TRIM -DALT_KALMAN
|
||||
sim.srcs += subsystems/navigation/nav_line.c subsystems/navigation/nav_survey_rectangle.c
|
||||
|
||||
@@ -215,7 +215,7 @@ include $(PAPARAZZI_SRC)/conf/autopilot/tiny.makefile
|
||||
|
||||
FLASH_MODE=IAP
|
||||
|
||||
ap.CFLAGS += -DFBW -DAP -DBOARD_CONFIG=\"tiny.h\" -DUSE_LED -DTIME_LED=1
|
||||
ap.CFLAGS += -DFBW -DAP -DBOARD_CONFIG=\"tiny.h\" -DUSE_LED -DSYS_TIME_LED=1
|
||||
ap.srcs = sys_time.c $(SRC_ARCH)/sys_time_hw.c $(SRC_ARCH)/armVIC.c main_fbw.c main_ap.c main.c
|
||||
|
||||
ap.srcs += commands.c
|
||||
|
||||
@@ -205,7 +205,7 @@ include $(PAPARAZZI_SRC)/conf/autopilot/tiny.makefile
|
||||
|
||||
FLASH_MODE=IAP
|
||||
|
||||
ap.CFLAGS += -DFBW -DAP -DBOARD_CONFIG=\"tiny_1_1.h\" -DUSE_LED -DTIME_LED=1
|
||||
ap.CFLAGS += -DFBW -DAP -DBOARD_CONFIG=\"tiny_1_1.h\" -DUSE_LED -DSYS_TIME_LED=1
|
||||
ap.srcs = sys_time.c $(SRC_ARCH)/sys_time_hw.c $(SRC_ARCH)/armVIC.c main_fbw.c main_ap.c main.c
|
||||
|
||||
ap.srcs += commands.c
|
||||
|
||||
@@ -179,7 +179,7 @@ include $(PAPARAZZI_SRC)/conf/autopilot/tiny.makefile
|
||||
|
||||
FLASH_MODE=IAP
|
||||
|
||||
ap.CFLAGS += -DFBW -DAP -DBOARD_CONFIG=\"tiny.h\" -DUSE_LED -DTIME_LED=1
|
||||
ap.CFLAGS += -DFBW -DAP -DBOARD_CONFIG=\"tiny.h\" -DUSE_LED -DSYS_TIME_LED=1
|
||||
ap.srcs = sys_time.c $(SRC_ARCH)/sys_time_hw.c $(SRC_ARCH)/armVIC.c main_fbw.c main_ap.c main.c
|
||||
|
||||
ap.srcs += commands.c
|
||||
|
||||
@@ -206,7 +206,7 @@ include $(PAPARAZZI_SRC)/conf/autopilot/tiny.makefile
|
||||
|
||||
FLASH_MODE=IAP
|
||||
|
||||
ap.CFLAGS += -DFBW -DAP -DBOARD_CONFIG=\"tiny_1_1.h\" -DUSE_LED -DTIME_LED=1
|
||||
ap.CFLAGS += -DFBW -DAP -DBOARD_CONFIG=\"tiny_1_1.h\" -DUSE_LED -DSYS_TIME_LED=1
|
||||
ap.srcs = sys_time.c $(SRC_ARCH)/sys_time_hw.c $(SRC_ARCH)/armVIC.c main_fbw.c main_ap.c main.c
|
||||
|
||||
ap.srcs += commands.c
|
||||
|
||||
@@ -203,7 +203,7 @@ include $(PAPARAZZI_SRC)/conf/autopilot/tiny.makefile
|
||||
|
||||
FLASH_MODE=IAP
|
||||
|
||||
ap.CFLAGS += -DFBW -DAP -DBOARD_CONFIG=$(CONFIG) -DUSE_LED -DTIME_LED=1
|
||||
ap.CFLAGS += -DFBW -DAP -DBOARD_CONFIG=$(CONFIG) -DUSE_LED -DSYS_TIME_LED=1
|
||||
ap.srcs = sys_time.c $(SRC_ARCH)/sys_time_hw.c $(SRC_ARCH)/armVIC.c main_fbw.c main_ap.c main.c
|
||||
|
||||
ap.srcs += commands.c
|
||||
|
||||
@@ -199,7 +199,7 @@ include $(PAPARAZZI_SRC)/conf/autopilot/tiny.makefile
|
||||
|
||||
FLASH_MODE=IAP
|
||||
|
||||
ap.CFLAGS += -DFBW -DAP -DBOARD_CONFIG=\"tiny_1_1.h\" -DUSE_LED -DTIME_LED=1
|
||||
ap.CFLAGS += -DFBW -DAP -DBOARD_CONFIG=\"tiny_1_1.h\" -DUSE_LED -DSYS_TIME_LED=1
|
||||
ap.srcs = sys_time.c $(SRC_ARCH)/sys_time_hw.c $(SRC_ARCH)/armVIC.c main_fbw.c main_ap.c main.c
|
||||
|
||||
ap.srcs += commands.c
|
||||
|
||||
@@ -226,7 +226,7 @@ include $(PAPARAZZI_SRC)/conf/autopilot/tiny.makefile
|
||||
|
||||
FLASH_MODE=IAP
|
||||
|
||||
ap.CFLAGS += -DFBW -DAP -DBOARD_CONFIG=\"tiny_1_1.h\" -DUSE_LED -DTIME_LED=1
|
||||
ap.CFLAGS += -DFBW -DAP -DBOARD_CONFIG=\"tiny_1_1.h\" -DUSE_LED -DSYS_TIME_LED=1
|
||||
ap.srcs = sys_time.c $(SRC_ARCH)/sys_time_hw.c $(SRC_ARCH)/armVIC.c main_fbw.c main_ap.c main.c
|
||||
|
||||
ap.srcs += commands.c
|
||||
|
||||
@@ -14,7 +14,7 @@ test_usb.ARCHDIR = $(ARCH)
|
||||
|
||||
test_usb.CFLAGS += -DBOARD_CONFIG=$(BOARD_CFG) $(BOOZ_CFLAGS)
|
||||
test_usb.srcs += $(SRC_BOOZ_TEST)/atpt_main.c
|
||||
test_usb.CFLAGS += -DPERIODIC_TASK_PERIOD='SYS_TICS_OF_SEC((1./512.))'
|
||||
test_usb.CFLAGS += -DPERIODIC_FREQUENCY='512.'
|
||||
# -DTIME_LED=1
|
||||
test_usb.CFLAGS += -DUSE_LED
|
||||
test_usb.srcs += sys_time.c $(SRC_ARCH)/sys_time_hw.c $(SRC_ARCH)/armVIC.c
|
||||
|
||||
@@ -17,7 +17,7 @@ main.LOCK_FUSE = ff
|
||||
main.CFLAGS += -DBOARD_CONFIG=\"conf_dc_mc.h\"
|
||||
main.srcs = main_dc_mc.c
|
||||
|
||||
main.CFLAGS += -DPERIODIC_TASK_PERIOD='SYS_TICS_OF_SEC(10e-2)'
|
||||
main.CFLAGS += -DPERIODIC_TASK_PERIOD='CPU_TICKS_OF_SEC(10e-2)'
|
||||
main.srcs += sys_time.c $(SRC_ARCH)/sys_time_hw.c
|
||||
|
||||
main.CFLAGS += -DUSE_LED
|
||||
|
||||
@@ -17,7 +17,7 @@ example_gps.ARCHDIR = $(ARCHI)
|
||||
example_gps.CFLAGS += -DBOARD_CONFIG=\"conf_demo.h\"
|
||||
example_gps.srcs = example/example_gps.c
|
||||
|
||||
example_gps.CFLAGS += -DPERIODIC_TASK_PERIOD='SYS_TICS_OF_SEC(10e-2)'
|
||||
example_gps.CFLAGS += -DPERIODIC_TASK_PERIOD='CPU_TICKS_OF_SEC(10e-2)'
|
||||
example_gps.srcs += sys_time.c $(SRC_ARCH)/sys_time_hw.c
|
||||
|
||||
example_gps.CFLAGS += -DUSE_LED
|
||||
|
||||
@@ -8,7 +8,7 @@ FLASH_MODE = IAP
|
||||
|
||||
timu.ARCHDIR = $(ARCHI)
|
||||
|
||||
timu.CFLAGS += -DBOARD_CONFIG=\"tiny_2_0.h\" -DPERIODIC_TASK_PERIOD='SYS_TICS_OF_SEC(1e-1)'
|
||||
timu.CFLAGS += -DBOARD_CONFIG=\"tiny_2_0.h\" -DPERIODIC_TASK_PERIOD='CPU_TICKS_OF_SEC(1e-1)'
|
||||
timu.srcs = nova_test_imu.c sys_time.c $(SRC_ARCH)/sys_time_hw.c $(SRC_ARCH)/armVIC.c
|
||||
|
||||
timu.CFLAGS += -DUSE_LED -DUSE_LED -DTIME_LED=1
|
||||
|
||||
@@ -11,8 +11,8 @@ LPC21ISP_XTAL = 12000
|
||||
#FLASH_MODE = IAP
|
||||
FLASH_MODE = ISP
|
||||
|
||||
mb.CFLAGS += -DBOARD_CONFIG=\"conf_motor_bench.h\" -DPERIODIC_TASK_PERIOD='SYS_TICS_OF_SEC(10e-3)'
|
||||
mb.srcs = $(SRC_ARCH)/main_test_i2c.c sys_time.c $(SRC_ARCH)/sys_time_hw.c $(SRC_ARCH)/armVIC.c
|
||||
mb.CFLAGS += -DBOARD_CONFIG=\"conf_motor_bench.h\" -DPERIODIC_FREQUENCY='1000.' -DUSE_SYS_TIME
|
||||
mb.srcs = $(SRC_ARCH)/main_test_i2c.c mcu_periph/sys_time.c $(SRC_ARCH)/mcu_periph/sys_time_arch.c $(SRC_ARCH)/armVIC.c
|
||||
|
||||
mb.CFLAGS += -DUSE_LED
|
||||
|
||||
@@ -83,7 +83,7 @@ FLASH_MODE = IAP
|
||||
|
||||
ap.ARCHDIR = $(ARCHI)
|
||||
|
||||
ap.CFLAGS += -DBOARD_CONFIG=\"tiny_1_1.h\" -DPERIODIC_TASK_PERIOD='SYS_TICS_OF_SEC(16.666e-3)' -I$(TL)
|
||||
ap.CFLAGS += -DBOARD_CONFIG=\"tiny_1_1.h\" -DPERIODIC_TASK_PERIOD='CPU_TICKS_OF_SEC(16.666e-3)' -I$(TL)
|
||||
ap.srcs = $(TL)/tl_main.c sys_time.c $(SRC_ARCH)/sys_time_hw.c $(SRC_ARCH)/armVIC.c
|
||||
|
||||
ap.CFLAGS += -DUSE_LED -DUSE_LED -DTIME_LED=1
|
||||
@@ -130,7 +130,7 @@ ap.srcs += subsystems/navigation/common_nav.c $(TL)/tl_nav.c
|
||||
|
||||
tmm.ARCHDIR = $(ARCHI)
|
||||
|
||||
tmm.CFLAGS += -DBOARD_CONFIG=\"tiny_1_1.h\" -DPERIODIC_TASK_PERIOD='SYS_TICS_OF_SEC(16.666e-3)'
|
||||
tmm.CFLAGS += -DBOARD_CONFIG=\"tiny_1_1.h\" -DPERIODIC_TASK_PERIOD='CPU_TICKS_OF_SEC(16.666e-3)'
|
||||
tmm.srcs = $(TL)/tl_test_mm_main.c sys_time.c $(SRC_ARCH)/sys_time_hw.c $(SRC_ARCH)/armVIC.c
|
||||
|
||||
tmm.CFLAGS += -DUSE_LED -DUSE_LED -DTIME_LED=1
|
||||
@@ -145,7 +145,7 @@ tmm.srcs += micromag.c $(SRC_ARCH)/micromag_hw.c
|
||||
|
||||
timu.ARCHDIR = $(ARCHI)
|
||||
|
||||
timu.CFLAGS += -DBOARD_CONFIG=\"tiny_1_1.h\" -DPERIODIC_TASK_PERIOD='SYS_TICS_OF_SEC(16.666e-3)'
|
||||
timu.CFLAGS += -DBOARD_CONFIG=\"tiny_1_1.h\" -DPERIODIC_TASK_PERIOD='CPU_TICKS_OF_SEC(16.666e-3)'
|
||||
timu.srcs = $(TL)/tl_test_imu_main.c sys_time.c $(SRC_ARCH)/sys_time_hw.c $(SRC_ARCH)/armVIC.c
|
||||
|
||||
timu.CFLAGS += -DUSE_LED -DUSE_LED -DTIME_LED=1
|
||||
|
||||
@@ -11,7 +11,7 @@ main.ARCHDIR = $(ARCH)
|
||||
main.CFLAGS += -DBOARD_CONFIG=\"boards/olimex_lpc_h2148.h\"
|
||||
main.srcs = firmwares/vor/lpc_vor_main.c
|
||||
|
||||
main.CFLAGS += -DPERIODIC_TASK_PERIOD='SYS_TICS_OF_SEC(1./29880.)'
|
||||
main.CFLAGS += -DPERIODIC_FREQUENCY='29880.'
|
||||
main.srcs += sys_time.c $(SRC_ARCH)/sys_time_hw.c
|
||||
|
||||
main.CFLAGS += -DUSE_LED
|
||||
|
||||
@@ -14,8 +14,8 @@ ap.ARCHDIR = $(ARCH)
|
||||
ap.CFLAGS += -DBOARD_CONFIG=\"conf_demo.h\" -I$(WIND_TUNNEL)
|
||||
ap.srcs = $(WIND_TUNNEL)/main.c
|
||||
|
||||
ap.CFLAGS += -DPERIODIC_TASK_PERIOD='SYS_TICS_OF_SEC(1e-1)'
|
||||
ap.srcs += sys_time.c $(SRC_ARCH)/sys_time_hw.c
|
||||
ap.CFLAGS += -DPERIODIC_FREQUENCY='10.' -DUSE_SYS_TIME
|
||||
ap.srcs += mcu_periph/sys_time.c $(SRC_ARCH)/mcu_periph/sys_time_arch.c
|
||||
|
||||
ap.CFLAGS += -DUSE_LED
|
||||
|
||||
@@ -44,8 +44,8 @@ mb.ARCHDIR = $(ARCH)
|
||||
mb.CFLAGS += -DBOARD_CONFIG=\"conf_demo.h\" -I$(WIND_TUNNEL) -I$(MB)
|
||||
mb.srcs = $(WIND_TUNNEL)/main_mb.c
|
||||
|
||||
mb.CFLAGS += -DPERIODIC_TASK_PERIOD='SYS_TICS_OF_SEC(1e-2)'
|
||||
mb.srcs += sys_time.c $(SRC_ARCH)/sys_time_hw.c
|
||||
mb.CFLAGS += -DPERIODIC_FREQUENCY='100.' -DUSE_SYS_TIME
|
||||
mb.srcs += mcu_periph/sys_time.c $(SRC_ARCH)/mcu_periph/sys_time_arch.c
|
||||
|
||||
mb.CFLAGS += -DUSE_LED
|
||||
|
||||
|
||||
@@ -33,8 +33,8 @@ test_led.CFLAGS += -DBOARD_CONFIG=$(BOARD_CFG) $(BOOZ_CFLAGS)
|
||||
test_led.CFLAGS += -DPERIPHERALS_AUTO_INIT
|
||||
test_led.srcs += $(SRC_BOOZ_TEST)/booz2_test_led.c
|
||||
test_led.CFLAGS += -DUSE_LED
|
||||
test_led.CFLAGS += -DPERIODIC_TASK_PERIOD='SYS_TICS_OF_SEC((1./512.))' -DTIME_LED=1
|
||||
test_led.srcs += sys_time.c $(SRC_ARCH)/sys_time_hw.c $(SRC_ARCH)/armVIC.c
|
||||
test_led.CFLAGS += -DPERIODIC_FREQUENCY='512.' -DSYS_TIME_LED=1
|
||||
test_led.srcs += mcu_periph/sys_time.c $(SRC_ARCH)/mcu_periph/sys_time_arch.c $(SRC_ARCH)/armVIC.c
|
||||
|
||||
#
|
||||
# test_downlink : sends a TIME message
|
||||
@@ -45,8 +45,8 @@ test_downlink.CFLAGS += -DBOARD_CONFIG=$(BOARD_CFG) $(BOOZ_CFLAGS)
|
||||
test_downlink.CFLAGS += -DPERIPHERALS_AUTO_INIT
|
||||
test_downlink.srcs += $(SRC_BOOZ_TEST)/booz2_test_subsystems/datalink/downlink.c
|
||||
test_downlink.CFLAGS += -DUSE_LED
|
||||
test_downlink.CFLAGS += -DPERIODIC_TASK_PERIOD='SYS_TICS_OF_SEC((1./10.))' -DTIME_LED=1
|
||||
test_downlink.srcs += sys_time.c $(SRC_ARCH)/sys_time_hw.c $(SRC_ARCH)/armVIC.c
|
||||
test_downlink.CFLAGS += -DPERIODIC_FREQUENCY='10.' -DSYS_TIME_LED=1
|
||||
test_downlink.srcs += mcu_periph/sys_time.c $(SRC_ARCH)/mcu_periph/sys_time_arch.c $(SRC_ARCH)/armVIC.c
|
||||
|
||||
test_downlink.CFLAGS += -DUSE_UART1 -DUART1_BAUD=B57600
|
||||
test_downlink.srcs += mcu_periph/uart.c
|
||||
@@ -65,8 +65,8 @@ test_max1168.CFLAGS += -DBOARD_CONFIG=$(BOARD_CFG) -I$(SRC_BOOZ) -I$(SRC_BOOZ_AR
|
||||
test_max1168.CFLAGS += -DPERIPHERALS_AUTO_INIT
|
||||
test_max1168.srcs += $(SRC_BOOZ_TEST)/booz2_test_max1168.c
|
||||
test_max1168.CFLAGS += -DUSE_LED
|
||||
test_max1168.CFLAGS += -DPERIODIC_TASK_PERIOD='SYS_TICS_OF_SEC((1./512.))' -DTIME_LED=1
|
||||
test_max1168.srcs += sys_time.c $(SRC_ARCH)/sys_time_hw.c $(SRC_ARCH)/armVIC.c
|
||||
test_max1168.CFLAGS += -DPERIODIC_FREQUENCY='512.' -DSYS_TIME_LED=1
|
||||
test_max1168.srcs += mcu_periph/sys_time.c $(SRC_ARCH)/mcu_periph/sys_time_arch.c $(SRC_ARCH)/armVIC.c
|
||||
|
||||
test_max1168.CFLAGS += -DUSE_UART1 -DUART1_BAUD=B57600
|
||||
test_max1168.srcs += mcu_periph/uart.c
|
||||
@@ -86,9 +86,9 @@ test_micromag.ARCHDIR = $(ARCH)
|
||||
|
||||
test_micromag.CFLAGS += -DBOARD_CONFIG=$(BOARD_CFG) -I$(SRC_BOOZ) -I$(SRC_BOOZ_ARCH)
|
||||
test_micromag.srcs += $(SRC_BOOZ_TEST)/booz2_test_micromag.c
|
||||
test_micromag.CFLAGS += -DPERIODIC_TASK_PERIOD='SYS_TICS_OF_SEC((1./512.))' -DTIME_LED=1
|
||||
test_micromag.CFLAGS += -DPERIODIC_FREQUENCY='512.' -DSYS_TIME_LED=1
|
||||
test_micromag.CFLAGS += -DUSE_LED
|
||||
test_micromag.srcs += sys_time.c $(SRC_ARCH)/sys_time_hw.c $(SRC_ARCH)/armVIC.c
|
||||
test_micromag.srcs += mcu_periph/sys_time.c $(SRC_ARCH)/mcu_periph/sys_time_arch.c $(SRC_ARCH)/armVIC.c
|
||||
|
||||
test_micromag.CFLAGS += -DUSE_UART1 -DUART1_BAUD=B57600
|
||||
test_micromag.srcs += mcu_periph/uart.c
|
||||
@@ -112,9 +112,9 @@ tunnel.ARCHDIR = $(ARCH)
|
||||
|
||||
tunnel.CFLAGS += -DBOARD_CONFIG=$(BOARD_CFG) $(BOOZ_CFLAGS)
|
||||
tunnel.srcs += $(SRC_BOOZ_TEST)/booz2_tunnel.c
|
||||
tunnel.CFLAGS += -DPERIODIC_TASK_PERIOD='SYS_TICS_OF_SEC((1./512.))' -DTIME_LED=1
|
||||
tunnel.CFLAGS += -DPERIODIC_FREQUENCY='512.' -DSYS_TIME_LED=1
|
||||
tunnel.CFLAGS += -DUSE_LED
|
||||
tunnel.srcs += sys_time.c $(SRC_ARCH)/sys_time_hw.c $(SRC_ARCH)/armVIC.c
|
||||
tunnel.srcs += mcu_periph/sys_time.c $(SRC_ARCH)/mcu_periph/sys_time_arch.c $(SRC_ARCH)/armVIC.c
|
||||
tunnel.srcs += mcu.c $(SRC_ARCH)/mcu_arch.c
|
||||
|
||||
tunnel.CFLAGS += -DUSE_UART0 -DUART0_BAUD=B38400
|
||||
@@ -130,9 +130,9 @@ tunnel_bb.ARCHDIR = $(ARCH)
|
||||
|
||||
tunnel_bb.CFLAGS += -DBOARD_CONFIG=$(BOARD_CFG) $(BOOZ_CFLAGS)
|
||||
tunnel_bb.srcs += $(SRC_BOOZ_TEST)/booz2_tunnel_bb.c
|
||||
tunnel_bb.CFLAGS += -DPERIODIC_TASK_PERIOD='SYS_TICS_OF_SEC((1./512.))' -DTIME_LED=1
|
||||
tunnel_bb.CFLAGS += -DPERIODIC_FREQUENCY='512.' -DSYS_TIME_LED=1
|
||||
tunnel_bb.CFLAGS += -DUSE_LED
|
||||
tunnel_bb.srcs += sys_time.c $(SRC_ARCH)/sys_time_hw.c $(SRC_ARCH)/armVIC.c
|
||||
tunnel_bb.srcs += mcu_periph/sys_time.c $(SRC_ARCH)/mcu_periph/sys_time_arch.c $(SRC_ARCH)/armVIC.c
|
||||
|
||||
|
||||
#
|
||||
@@ -145,7 +145,7 @@ usb_tunnel_0.CFLAGS += -DUSE_USB_LINE_CODING -DUSE_USB_SERIAL -DUSE_LED
|
||||
usb_tunnel_0.srcs += $(SRC_ARCH)/usb_tunnel.c $(SRC_ARCH)/usb_ser_hw.c mcu_periph/uart.c $(SRC_ARCH)/mcu_periph/uart_arch.c
|
||||
usb_tunnel_0.srcs += $(SRC_ARCH)/lpcusb/usbhw_lpc.c $(SRC_ARCH)/lpcusb/usbinit.c
|
||||
usb_tunnel_0.srcs += $(SRC_ARCH)/lpcusb/usbcontrol.c $(SRC_ARCH)/lpcusb/usbstdreq.c
|
||||
usb_tunnel_0.srcs += sys_time.c $(SRC_ARCH)/sys_time_hw.c $(SRC_ARCH)/armVIC.c
|
||||
usb_tunnel_0.srcs += mcu_periph/sys_time.c $(SRC_ARCH)/mcu_periph/sys_time_arch.c $(SRC_ARCH)/armVIC.c
|
||||
usb_tunnel_0.srcs += mcu.c $(SRC_ARCH)/mcu_arch.c
|
||||
|
||||
usb_tunnel_1.ARCHDIR = $(ARCH)
|
||||
@@ -155,7 +155,7 @@ usb_tunnel_1.CFLAGS += -DUSE_USB_LINE_CODING -DUSE_USB_SERIAL -DUSE_LED
|
||||
usb_tunnel_1.srcs += $(SRC_ARCH)/usb_tunnel.c $(SRC_ARCH)/usb_ser_hw.c mcu_periph/uart.c $(SRC_ARCH)/mcu_periph/uart_arch.c
|
||||
usb_tunnel_1.srcs += $(SRC_ARCH)/lpcusb/usbhw_lpc.c $(SRC_ARCH)/lpcusb/usbinit.c
|
||||
usb_tunnel_1.srcs += $(SRC_ARCH)/lpcusb/usbcontrol.c $(SRC_ARCH)/lpcusb/usbstdreq.c
|
||||
usb_tunnel_1.srcs += sys_time.c $(SRC_ARCH)/sys_time_hw.c $(SRC_ARCH)/armVIC.c
|
||||
usb_tunnel_1.srcs += mcu_periph/sys_time.c $(SRC_ARCH)/mcu_periph/sys_time_arch.c $(SRC_ARCH)/armVIC.c
|
||||
usb_tunnel_1.srcs += mcu.c $(SRC_ARCH)/mcu_arch.c
|
||||
|
||||
|
||||
@@ -166,9 +166,9 @@ test_gps.ARCHDIR = $(ARCH)
|
||||
|
||||
test_gps.CFLAGS += -DBOARD_CONFIG=$(BOARD_CFG) -I$(SRC_BOOZ) -I$(SRC_BOOZ_ARCH)
|
||||
test_gps.srcs += $(SRC_BOOZ_TEST)/booz2_test_gps.c
|
||||
test_gps.CFLAGS += -DPERIODIC_TASK_PERIOD='SYS_TICS_OF_SEC((1./512.))' -DTIME_LED=1
|
||||
test_gps.CFLAGS += -DPERIODIC_FREQUENCY='512.' -DSYS_TIME_LED=1
|
||||
test_gps.CFLAGS += -DUSE_LED
|
||||
test_gps.srcs += sys_time.c $(SRC_ARCH)/sys_time_hw.c $(SRC_ARCH)/armVIC.c
|
||||
test_gps.srcs += mcu_periph/sys_time.c $(SRC_ARCH)/mcu_periph/sys_time_arch.c $(SRC_ARCH)/armVIC.c
|
||||
|
||||
test_gps.CFLAGS += -DUSE_UART1 -DUART1_BAUD=B57600
|
||||
test_gps.srcs += mcu_periph/uart.c
|
||||
@@ -192,9 +192,9 @@ test_modem.ARCHDIR = $(ARCH)
|
||||
|
||||
test_modem.CFLAGS += -DBOARD_CONFIG=$(BOARD_CFG) $(BOOZ_CFLAGS)
|
||||
test_modem.srcs += $(SRC_BOOZ_TEST)/booz2_test_modem.c
|
||||
test_modem.CFLAGS += -DPERIODIC_TASK_PERIOD='SYS_TICS_OF_SEC((1./512.))' -DTIME_LED=1
|
||||
test_modem.CFLAGS += -DPERIODIC_FREQUENCY='512.' -DSYS_TIME_LED=1
|
||||
test_modem.CFLAGS += -DUSE_LED
|
||||
test_modem.srcs += sys_time.c $(SRC_ARCH)/sys_time_hw.c $(SRC_ARCH)/armVIC.c
|
||||
test_modem.srcs += mcu_periph/sys_time.c $(SRC_ARCH)/mcu_periph/sys_time_arch.c $(SRC_ARCH)/armVIC.c
|
||||
|
||||
test_modem.CFLAGS += -DUSE_UART1 -DUART1_BAUD=B57600
|
||||
test_modem.srcs += mcu_periph/uart.c
|
||||
@@ -203,7 +203,7 @@ test_modem.srcs += $(SRC_ARCH)/mcu_periph/uart_arch.c
|
||||
test_modem.CFLAGS += -DDOWNLINK -DDOWNLINK_TRANSPORT=PprzTransport -DDOWNLINK_DEVICE=Uart1
|
||||
test_modem.srcs += subsystems/datalink/downlink.c subsystems/datalink/pprz_transport.c
|
||||
|
||||
#test_modem.CFLAGS += -DBOOZ_ANALOG_BARO_LED=2 -DBOOZ_ANALOG_BARO_PERIOD='SYS_TICS_OF_SEC((1./100.))'
|
||||
#test_modem.CFLAGS += -DBOOZ_ANALOG_BARO_LED=2 -DBOOZ_ANALOG_BARO_PERIOD='CPU_TICKS_OF_SEC((1./100.))'
|
||||
#test_modem.srcs += $(BOOZ_PRIV)/booz_analog_baro.c
|
||||
|
||||
|
||||
@@ -214,10 +214,10 @@ test_usb.ARCHDIR = $(ARCH)
|
||||
|
||||
test_usb.CFLAGS += -DBOARD_CONFIG=$(BOARD_CFG) $(BOOZ_CFLAGS)
|
||||
test_usb.srcs += $(SRC_BOOZ_TEST)/booz2_test_usb.c
|
||||
test_usb.CFLAGS += -DPERIODIC_TASK_PERIOD='SYS_TICS_OF_SEC((1./512.))'
|
||||
# -DTIME_LED=1
|
||||
test_usb.CFLAGS += -DPERIODIC_FREQUENCY='512.'
|
||||
# -DSYS_TIME_LED=1
|
||||
test_usb.CFLAGS += -DUSE_LED
|
||||
test_usb.srcs += sys_time.c $(SRC_ARCH)/sys_time_hw.c $(SRC_ARCH)/armVIC.c
|
||||
test_usb.srcs += mcu_periph/sys_time.c $(SRC_ARCH)/mcu_periph/sys_time_arch.c $(SRC_ARCH)/armVIC.c
|
||||
test_usb.srcs += mcu.c $(SRC_ARCH)/mcu_arch.c
|
||||
|
||||
#test_usb.CFLAGS += -DUSE_UART1 -DUART1_BAUD=B57600
|
||||
@@ -245,9 +245,9 @@ test_ami.ARCHDIR = $(ARCH)
|
||||
|
||||
test_ami.CFLAGS += -DBOARD_CONFIG=$(BOARD_CFG) $(BOOZ_CFLAGS)
|
||||
test_ami.srcs += $(SRC_BOOZ_TEST)/booz2_test_ami.c
|
||||
test_ami.CFLAGS += -DPERIODIC_TASK_PERIOD='SYS_TICS_OF_SEC((1./50.))' -DTIME_LED=1
|
||||
test_ami.CFLAGS += -DPERIODIC_FREQUENCY='50.' -DSYS_TIME_LED=1
|
||||
test_ami.CFLAGS += -DUSE_LED
|
||||
test_ami.srcs += sys_time.c $(SRC_ARCH)/sys_time_hw.c $(SRC_ARCH)/armVIC.c
|
||||
test_ami.srcs += mcu_periph/sys_time.c $(SRC_ARCH)/mcu_periph/sys_time_arch.c $(SRC_ARCH)/armVIC.c
|
||||
|
||||
test_ami.CFLAGS += -DUSE_UART1 -DUART1_BAUD=B57600
|
||||
test_ami.srcs += mcu_periph/uart.c
|
||||
@@ -269,9 +269,9 @@ test_crista.ARCHDIR = $(ARCH)
|
||||
|
||||
test_crista.CFLAGS += -DBOARD_CONFIG=$(BOARD_CFG) -I$(SRC_BOOZ) -I$(SRC_BOOZ_ARCH)
|
||||
test_crista.srcs += $(SRC_BOOZ_TEST)/booz2_test_crista.c
|
||||
test_crista.CFLAGS += -DPERIODIC_TASK_PERIOD='SYS_TICS_OF_SEC((1./512.))' -DTIME_LED=1
|
||||
test_crista.CFLAGS += -DPERIODIC_FREQUENCY='512.' -DSYS_TIME_LED=1
|
||||
test_crista.CFLAGS += -DUSE_LED
|
||||
test_crista.srcs += sys_time.c $(SRC_ARCH)/sys_time_hw.c $(SRC_ARCH)/armVIC.c
|
||||
test_crista.srcs += mcu_periph/sys_time.c $(SRC_ARCH)/mcu_periph/sys_time_arch.c $(SRC_ARCH)/armVIC.c
|
||||
|
||||
test_crista.CFLAGS += -DUSE_UART0 -DUART0_BAUD=B57600
|
||||
test_crista.srcs += mcu_periph/uart.c
|
||||
@@ -296,9 +296,9 @@ test_micromag2.CFLAGS += -DBOARD_CONFIG=$(BOARD_CFG) -I$(SRC_BOOZ) -I$(SRC_BOOZ_
|
||||
test_micromag2.srcs += $(SRC_BOOZ_TEST)/booz2_test_micromag_2.c
|
||||
test_micromag2.CFLAGS += -DSSP_VIC_SLOT=9
|
||||
test_micromag2.CFLAGS += -DMICROMAG_DRDY_VIC_SLOT=8
|
||||
test_micromag2.CFLAGS += -DPERIODIC_TASK_PERIOD='SYS_TICS_OF_SEC((1./50.))' -DTIME_LED=1
|
||||
test_micromag2.CFLAGS += -DPERIODIC_FREQUENCY='50.' -DSYS_TIME_LED=1
|
||||
test_micromag2.CFLAGS += -DUSE_LED
|
||||
test_micromag2.srcs += sys_time.c $(SRC_ARCH)/sys_time_hw.c $(SRC_ARCH)/armVIC.c
|
||||
test_micromag2.srcs += mcu_periph/sys_time.c $(SRC_ARCH)/mcu_periph/sys_time_arch.c $(SRC_ARCH)/armVIC.c
|
||||
|
||||
test_micromag2.CFLAGS += -DUSE_UART1 -DUART1_BAUD=B57600
|
||||
test_micromag2.srcs += mcu_periph/uart.c
|
||||
@@ -319,9 +319,9 @@ test_imu_b2.ARCHDIR = $(ARCH)
|
||||
|
||||
test_imu_b2.CFLAGS += -DBOARD_CONFIG=$(BOARD_CFG) -I$(SRC_BOOZ) -I$(SRC_BOOZ_ARCH)
|
||||
test_imu_b2.srcs += $(SRC_BOOZ_TEST)/booz2_test_imu_b2.c
|
||||
test_imu_b2.CFLAGS += -DPERIODIC_TASK_PERIOD='SYS_TICS_OF_SEC((1./512.))' -DTIME_LED=1
|
||||
test_imu_b2.CFLAGS += -DPERIODIC_FREQUENCY='512.' -DSYS_TIME_LED=1
|
||||
test_imu_b2.CFLAGS += -DUSE_LED
|
||||
test_imu_b2.srcs += sys_time.c $(SRC_ARCH)/sys_time_hw.c $(SRC_ARCH)/armVIC.c
|
||||
test_imu_b2.srcs += mcu_periph/sys_time.c $(SRC_ARCH)/mcu_periph/sys_time_arch.c $(SRC_ARCH)/armVIC.c
|
||||
|
||||
test_imu_b2.CFLAGS += -DUSE_UART1 -DUART1_BAUD=B57600
|
||||
test_imu_b2.srcs += mcu_periph/uart.c
|
||||
@@ -350,9 +350,9 @@ test_rc_spektrum.ARCHDIR = $(ARCH)
|
||||
test_rc_spektrum.CFLAGS += -DBOARD_CONFIG=$(BOARD_CFG) -I$(SRC_BOOZ) $(BOOZ_CFLAGS)
|
||||
test_rc_spektrum.CFLAGS += -DPERIPHERALS_AUTO_INIT
|
||||
test_rc_spektrum.srcs += $(SRC_BOOZ_TEST)/booz2_test_radio_control.c
|
||||
test_rc_spektrum.CFLAGS += -DPERIODIC_TASK_PERIOD='SYS_TICS_OF_SEC((1./512.))' -DTIME_LED=1
|
||||
test_rc_spektrum.CFLAGS += -DPERIODIC_FREQUENCY='512.' -DSYS_TIME_LED=1
|
||||
test_rc_spektrum.CFLAGS += -DUSE_LED
|
||||
test_rc_spektrum.srcs += sys_time.c $(SRC_ARCH)/sys_time_hw.c $(SRC_ARCH)/armVIC.c
|
||||
test_rc_spektrum.srcs += mcu_periph/sys_time.c $(SRC_ARCH)/mcu_periph/sys_time_arch.c $(SRC_ARCH)/armVIC.c
|
||||
|
||||
#test_rc_spektrum.CFLAGS += -DUSE_UART1 -DUART1_BAUD=B57600
|
||||
#test_rc_spektrum.srcs += mcu_periph/uart.c
|
||||
@@ -384,9 +384,9 @@ test_rc_ppm.ARCHDIR = $(ARCH)
|
||||
test_rc_ppm.CFLAGS += -DBOARD_CONFIG=$(BOARD_CFG) -I$(SRC_BOOZ) -I$(SRC_BOOZ_ARCH) $(BOOZ_CFLAGS)
|
||||
test_rc_ppm.CFLAGS += -DPERIPHERALS_AUTO_INIT
|
||||
test_rc_ppm.srcs += $(SRC_BOOZ_TEST)/booz2_test_radio_control.c
|
||||
test_rc_ppm.CFLAGS += -DPERIODIC_TASK_PERIOD='SYS_TICS_OF_SEC((1./512.))' -DTIME_LED=1
|
||||
test_rc_ppm.CFLAGS += -DPERIODIC_FREQUENCY='512.' -DSYS_TIME_LED=1
|
||||
test_rc_ppm.CFLAGS += -DUSE_LED
|
||||
test_rc_ppm.srcs += sys_time.c $(SRC_ARCH)/sys_time_hw.c $(SRC_ARCH)/armVIC.c
|
||||
test_rc_ppm.srcs += mcu_periph/sys_time.c $(SRC_ARCH)/mcu_periph/sys_time_arch.c $(SRC_ARCH)/armVIC.c
|
||||
|
||||
#test_rc_ppm.CFLAGS += -DUSE_UART1 -DUART1_BAUD=B57600
|
||||
#test_rc_ppm.srcs += $(SRC_ARCH)/mcu_periph/uart_arch.c
|
||||
@@ -413,9 +413,9 @@ test_mc.ARCHDIR = $(ARCH)
|
||||
|
||||
test_mc.CFLAGS += -DBOARD_CONFIG=$(BOARD_CFG) -I$(SRC_BOOZ) -I$(SRC_BOOZ_ARCH)
|
||||
test_mc.srcs += $(SRC_BOOZ_TEST)/booz2_test_mc.c
|
||||
test_mc.CFLAGS += -DPERIODIC_TASK_PERIOD='SYS_TICS_OF_SEC((1./512.))' -DTIME_LED=1
|
||||
test_mc.CFLAGS += -DPERIODIC_FREQUENCY='512.' -DSYS_TIME_LED=1
|
||||
test_mc.CFLAGS += -DUSE_LED
|
||||
test_mc.srcs += sys_time.c $(SRC_ARCH)/sys_time_hw.c $(SRC_ARCH)/armVIC.c
|
||||
test_mc.srcs += mcu_periph/sys_time.c $(SRC_ARCH)/mcu_periph/sys_time_arch.c $(SRC_ARCH)/armVIC.c
|
||||
|
||||
test_mc.CFLAGS += -DUSE_UART1 -DUART1_BAUD=B57600
|
||||
test_mc.srcs += mcu_periph/uart.c
|
||||
@@ -440,8 +440,8 @@ test_buss_bldc.CFLAGS += -DPERIPHERALS_AUTO_INIT
|
||||
test_buss_bldc.CFLAGS += -DBOARD_CONFIG=$(BOARD_CFG) -I$(SRC_BOOZ) -I$(SRC_BOOZ_ARCH)
|
||||
test_buss_bldc.srcs += $(SRC_BOOZ_TEST)/booz2_test_buss_bldc.c
|
||||
test_buss_bldc.CFLAGS += -DUSE_LED
|
||||
test_buss_bldc.CFLAGS += -DPERIODIC_TASK_PERIOD='SYS_TICS_OF_SEC((1./512.))' -DTIME_LED=1
|
||||
test_buss_bldc.srcs += sys_time.c $(SRC_ARCH)/sys_time_hw.c $(SRC_ARCH)/armVIC.c
|
||||
test_buss_bldc.CFLAGS += -DPERIODIC_FREQUENCY='512.' -DSYS_TIME_LED=1
|
||||
test_buss_bldc.srcs += mcu_periph/sys_time.c $(SRC_ARCH)/mcu_periph/sys_time_arch.c $(SRC_ARCH)/armVIC.c
|
||||
|
||||
test_buss_bldc.CFLAGS += -DUSE_UART1 -DUART1_BAUD=B57600
|
||||
test_buss_bldc.srcs += mcu_periph/uart.c
|
||||
@@ -462,9 +462,9 @@ test_amc.ARCHDIR = $(ARCH)
|
||||
|
||||
test_amc.CFLAGS += -DBOARD_CONFIG=$(BOARD_CFG) -I$(SRC_BOOZ) -I$(SRC_BOOZ_ARCH)
|
||||
test_amc.srcs += $(SRC_BOOZ_TEST)/booz2_test_amc.c
|
||||
test_amc.CFLAGS += -DPERIODIC_TASK_PERIOD='SYS_TICS_OF_SEC((1./512.))' -DTIME_LED=1
|
||||
test_amc.CFLAGS += -DPERIODIC_FREQUENCY='512.' -DSYS_TIME_LED=1
|
||||
test_amc.CFLAGS += -DUSE_LED
|
||||
test_amc.srcs += sys_time.c $(SRC_ARCH)/sys_time_hw.c $(SRC_ARCH)/armVIC.c
|
||||
test_amc.srcs += mcu_periph/sys_time.c $(SRC_ARCH)/mcu_periph/sys_time_arch.c $(SRC_ARCH)/armVIC.c
|
||||
|
||||
test_amc.CFLAGS += -DUSE_UART1 -DUART1_BAUD=B57600
|
||||
test_amc.srcs += mcu_periph/uart.c
|
||||
@@ -494,8 +494,8 @@ test_mkk_bldc.CFLAGS += -DBOARD_CONFIG=$(BOARD_CFG) $(BOOZ_CFLAGS)
|
||||
test_mkk_bldc.CFLAGS += -DPERIPHERALS_AUTO_INIT
|
||||
test_mkk_bldc.srcs += $(SRC_BOOZ_TEST)/booz2_test_buss_bldc_hexa.c
|
||||
test_mkk_bldc.CFLAGS += -DUSE_LED
|
||||
test_mkk_bldc.CFLAGS += -DPERIODIC_TASK_PERIOD='SYS_TICS_OF_SEC((1./512.))' -DTIME_LED=1
|
||||
test_mkk_bldc.srcs += sys_time.c $(SRC_ARCH)/sys_time_hw.c $(SRC_ARCH)/armVIC.c
|
||||
test_mkk_bldc.CFLAGS += -DPERIODIC_FREQUENCY='512.' -DSYS_TIME_LED=1
|
||||
test_mkk_bldc.srcs += mcu_periph/sys_time.c $(SRC_ARCH)/mcu_periph/sys_time_arch.c $(SRC_ARCH)/armVIC.c
|
||||
test_mkk_bldc.CFLAGS += -DUSE_I2C0 -DI2C0_SCLL=150 -DI2C0_SCLH=150 -DI2C0_VIC_SLOT=10
|
||||
test_mkk_bldc.srcs += i2c.c $(SRC_ARCH)/i2c_hw.c
|
||||
|
||||
@@ -507,9 +507,9 @@ test_baro_24.ARCHDIR = $(ARCH)
|
||||
|
||||
test_baro_24.CFLAGS += -DBOARD_CONFIG=$(BOARD_CFG) -I$(SRC_BOOZ) $(BOOZ_CFLAGS)
|
||||
test_baro_24.srcs += $(SRC_BOOZ_TEST)/booz2_test_baro_24.c
|
||||
test_baro_24.CFLAGS += -DPERIODIC_TASK_PERIOD='SYS_TICS_OF_SEC((1./5.))' -DTIME_LED=1
|
||||
test_baro_24.CFLAGS += -DPERIODIC_FREQUENCY='5.' -DSYS_TIME_LED=1
|
||||
test_baro_24.CFLAGS += -DUSE_LED
|
||||
test_baro_24.srcs += sys_time.c $(SRC_ARCH)/sys_time_hw.c $(SRC_ARCH)/armVIC.c
|
||||
test_baro_24.srcs += mcu_periph/sys_time.c $(SRC_ARCH)/mcu_periph/sys_time_arch.c $(SRC_ARCH)/armVIC.c
|
||||
|
||||
|
||||
test_baro_24.CFLAGS += -DUSE_UART1 -DUART1_BAUD=B57600
|
||||
@@ -532,5 +532,5 @@ test_coder.CFLAGS += -DBOARD_CONFIG=\"boards/olimex_lpc_h2148.h\" $(BOOZ_CFLAGS)
|
||||
test_coder.CFLAGS += -DPERIPHERALS_AUTO_INIT
|
||||
test_coder.srcs += $(SRC_BOOZ_TEST)/booz2_test_coder.c
|
||||
test_coder.CFLAGS += -DUSE_LED
|
||||
test_coder.CFLAGS += -DPERIODIC_TASK_PERIOD='SYS_TICS_OF_SEC((1./512.))' -DTIME_LED=1
|
||||
test_coder.srcs += sys_time.c $(SRC_ARCH)/sys_time_hw.c $(SRC_ARCH)/armVIC.c
|
||||
test_coder.CFLAGS += -DPERIODIC_FREQUENCY='512.' -DSYS_TIME_LED=1
|
||||
test_coder.srcs += mcu_periph/sys_time.c $(SRC_ARCH)/mcu_periph/sys_time_arch.c $(SRC_ARCH)/armVIC.c
|
||||
|
||||
@@ -90,8 +90,8 @@ test_uart.srcs = $(SRC_AIRBORNE)/mcu.c \
|
||||
test_uart.CFLAGS += -DUSE_LED -DUSE_UART
|
||||
test_uart.srcs += $(SRC_ARCH)/led_hw.c
|
||||
test_uart.CFLAGS += -DUSE_SYS_TIME -DSYS_TIME_LED=$(SYS_TIME_LED)
|
||||
test_uart.CFLAGS += -DPERIODIC_TASK_PERIOD='SYS_TICS_OF_SEC(1./512.)'
|
||||
test_uart.srcs += sys_time.c $(SRC_ARCH)/sys_time_hw.c
|
||||
test_uart.CFLAGS += -DPERIODIC_FREQUENCY='512.'
|
||||
test_uart.srcs += mcu_periph/sys_time.c $(SRC_ARCH)/mcu_periph/sys_time_arch.c
|
||||
test_uart.CFLAGS += -DUSE_UART1 -DUART1_BAUD=B57600
|
||||
test_uart.CFLAGS += -DUSE_UART2 -DUART2_BAUD=B57600
|
||||
test_uart.CFLAGS += -DUSE_UART3 -DUART3_BAUD=B57600
|
||||
@@ -118,8 +118,8 @@ test_servos.srcs += $(SRC_AIRBORNE)/mcu.c \
|
||||
test_servos.CFLAGS += -DUSE_LED
|
||||
test_servos.srcs += $(SRC_ARCH)/led_hw.c
|
||||
test_servos.CFLAGS += -DUSE_SYS_TIME -DSYS_TIME_LED=$(SYS_TIME_LED)
|
||||
test_servos.CFLAGS += -DPERIODIC_TASK_PERIOD='SYS_TICS_OF_SEC((1./512.))'
|
||||
test_servos.srcs += sys_time.c $(SRC_ARCH)/sys_time_hw.c
|
||||
test_servos.CFLAGS += -DPERIODIC_FREQUENCY='512.'
|
||||
test_servos.srcs += mcu_periph/sys_time.c $(SRC_ARCH)/mcu_periph/sys_time_arch.c
|
||||
|
||||
test_servos.srcs += $(SRC_FIRMWARE)/actuators/actuators_pwm.c $(SRC_FIRMWARE)/actuators/arch/$(ARCH)/actuators_pwm_arch.c
|
||||
|
||||
@@ -142,9 +142,9 @@ test_telemetry.srcs = $(SRC_AIRBORNE)/mcu.c \
|
||||
test_telemetry.CFLAGS += -DUSE_LED
|
||||
test_telemetry.srcs += $(SRC_ARCH)/led_hw.c
|
||||
test_telemetry.CFLAGS += -DUSE_SYS_TIME
|
||||
test_telemetry.CFLAGS += -DPERIODIC_TASK_PERIOD='SYS_TICS_OF_SEC(1./512.)'
|
||||
test_telemetry.CFLAGS += -DPERIODIC_FREQUENCY='512.'
|
||||
test_telemetry.CFLAGS += -DSYS_TIME_LED=$(SYS_TIME_LED)
|
||||
test_telemetry.srcs += sys_time.c $(SRC_ARCH)/sys_time_hw.c
|
||||
test_telemetry.srcs += mcu_periph/sys_time.c $(SRC_ARCH)/mcu_periph/sys_time_arch.c
|
||||
test_telemetry.CFLAGS += -DUSE_$(MODEM_PORT)
|
||||
test_telemetry.CFLAGS += -D$(MODEM_PORT)_BAUD=$(MODEM_BAUD)
|
||||
test_telemetry.srcs += subsystems/datalink/downlink.c subsystems/datalink/pprz_transport.c
|
||||
@@ -171,9 +171,9 @@ test_baro.srcs = $(SRC_AIRBORNE)/mcu.c \
|
||||
test_baro.CFLAGS += -DUSE_LED
|
||||
test_baro.srcs += $(SRC_ARCH)/led_hw.c
|
||||
test_baro.CFLAGS += -DUSE_SYS_TIME
|
||||
test_baro.CFLAGS += -DPERIODIC_TASK_PERIOD='SYS_TICS_OF_SEC(1./512.)'
|
||||
test_baro.CFLAGS += -DPERIODIC_FREQUENCY='512.'
|
||||
test_baro.CFLAGS += -DSYS_TIME_LED=$(SYS_TIME_LED)
|
||||
test_baro.srcs += sys_time.c $(SRC_ARCH)/sys_time_hw.c
|
||||
test_baro.srcs += mcu_periph/sys_time.c $(SRC_ARCH)/mcu_periph/sys_time_arch.c
|
||||
test_baro.CFLAGS += -DDOWNLINK -DDOWNLINK_TRANSPORT=PprzTransport -DDOWNLINK_DEVICE=$(MODEM_PORT)
|
||||
test_baro.srcs += subsystems/datalink/downlink.c subsystems/datalink/pprz_transport.c
|
||||
test_baro.CFLAGS += -DUSE_$(MODEM_PORT) -D$(MODEM_PORT)_BAUD=$(MODEM_BAUD)
|
||||
@@ -207,9 +207,9 @@ test_rc_spektrum.srcs += $(SRC_AIRBORNE)/mcu.c \
|
||||
test_rc_spektrum.CFLAGS += -DUSE_LED
|
||||
test_rc_spektrum.srcs += $(SRC_ARCH)/led_hw.c
|
||||
test_rc_spektrum.CFLAGS += -DUSE_SYS_TIME
|
||||
test_rc_spektrum.CFLAGS += -DPERIODIC_TASK_PERIOD='SYS_TICS_OF_SEC((1./512.))'
|
||||
test_rc_spektrum.CFLAGS += -DPERIODIC_FREQUENCY='512.'
|
||||
test_rc_spektrum.CFLAGS += -DSYS_TIME_LED=$(SYS_TIME_LED)
|
||||
test_rc_spektrum.srcs += sys_time.c $(SRC_ARCH)/sys_time_hw.c
|
||||
test_rc_spektrum.srcs += mcu_periph/sys_time.c $(SRC_ARCH)/mcu_periph/sys_time_arch.c
|
||||
test_rc_spektrum.CFLAGS += -DUSE_$(MODEM_PORT) -D$(MODEM_PORT)_BAUD=$(MODEM_BAUD)
|
||||
test_rc_spektrum.srcs += mcu_periph/uart.c
|
||||
test_rc_spektrum.srcs += $(SRC_ARCH)/mcu_periph/uart_arch.c
|
||||
@@ -251,9 +251,9 @@ test_rc_ppm.srcs += $(SRC_AIRBORNE)/mcu.c \
|
||||
test_rc_ppm.CFLAGS += -DUSE_LED
|
||||
test_rc_ppm.srcs += $(SRC_ARCH)/led_hw.c
|
||||
test_rc_ppm.CFLAGS += -DUSE_SYS_TIME
|
||||
test_rc_ppm.CFLAGS += -DPERIODIC_TASK_PERIOD='SYS_TICS_OF_SEC((1./512.))'
|
||||
test_rc_ppm.CFLAGS += -DPERIODIC_FREQUENCY='512.'
|
||||
test_rc_ppm.CFLAGS += -DSYS_TIME_LED=$(SYS_TIME_LED)
|
||||
test_rc_ppm.srcs += sys_time.c $(SRC_ARCH)/sys_time_hw.c
|
||||
test_rc_ppm.srcs += mcu_periph/sys_time.c $(SRC_ARCH)/mcu_periph/sys_time_arch.c
|
||||
test_rc_ppm.CFLAGS += -DUSE_$(MODEM_PORT) -D$(MODEM_PORT)_BAUD=$(MODEM_BAUD)
|
||||
test_rc_ppm.srcs += mcu_periph/uart.c
|
||||
test_rc_ppm.srcs += $(SRC_ARCH)/mcu_periph/uart_arch.c
|
||||
@@ -291,8 +291,8 @@ test_adc.srcs += $(SRC_ARCH)/led_hw.c
|
||||
|
||||
test_adc.CFLAGS += -DUSE_SYS_TIME
|
||||
test_adc.CFLAGS +=-DSYS_TIME_LED=$(SYS_TIME_LED)
|
||||
test_adc.CFLAGS += -DPERIODIC_TASK_PERIOD='SYS_TICS_OF_SEC(1./512.)'
|
||||
test_adc.srcs += sys_time.c $(SRC_ARCH)/sys_time_hw.c
|
||||
test_adc.CFLAGS += -DPERIODIC_FREQUENCY='512.'
|
||||
test_adc.srcs += mcu_periph/sys_time.c $(SRC_ARCH)/mcu_periph/sys_time_arch.c
|
||||
|
||||
test_adc.CFLAGS += -DUSE_$(MODEM_PORT) -D$(MODEM_PORT)_BAUD=$(MODEM_BAUD)
|
||||
test_adc.srcs += mcu_periph/uart.c
|
||||
@@ -328,9 +328,8 @@ COMMON_TEST_SRCS = $(SRC_AIRBORNE)/mcu.c \
|
||||
COMMON_TEST_CFLAGS += -DUSE_LED
|
||||
COMMON_TEST_SRCS += $(SRC_ARCH)/led_hw.c
|
||||
COMMON_TEST_CFLAGS += -DUSE_SYS_TIME -DSYS_TIME_LED=$(SYS_TIME_LED)
|
||||
COMMON_TEST_CFLAGS += -DPERIODIC_TASK_PERIOD='SYS_TICS_OF_SEC((1./$(PERIODIC_FREQUENCY).))'
|
||||
COMMON_TEST_CFLAGS += -DPERIODIC_FREQUENCY=$(PERIODIC_FREQUENCY)
|
||||
COMMON_TEST_SRCS += sys_time.c $(SRC_ARCH)/sys_time_hw.c
|
||||
COMMON_TEST_SRCS += mcu_periph/sys_time.c $(SRC_ARCH)/mcu_periph/sys_time_arch.c
|
||||
COMMON_TEST_CFLAGS += -DUSE_$(MODEM_PORT) -D$(MODEM_PORT)_BAUD=$(MODEM_BAUD)
|
||||
COMMON_TEST_SRCS += mcu_periph/uart.c
|
||||
COMMON_TEST_SRCS += $(SRC_ARCH)/mcu_periph/uart_arch.c
|
||||
@@ -496,8 +495,8 @@ test_hmc5843.srcs = $(SRC_AIRBORNE)/mcu.c \
|
||||
test_hmc5843.CFLAGS += -DUSE_LED
|
||||
test_hmc5843.srcs += $(SRC_ARCH)/led_hw.c
|
||||
test_hmc5843.CFLAGS += -DUSE_SYS_TIME -DSYS_TIME_LED=$(SYS_TIME_LED)
|
||||
test_hmc5843.CFLAGS += -DPERIODIC_TASK_PERIOD='SYS_TICS_OF_SEC(1./512.)'
|
||||
test_hmc5843.srcs += sys_time.c $(SRC_ARCH)/sys_time_hw.c
|
||||
test_hmc5843.CFLAGS += -DPERIODIC_FREQUENCY='512.'
|
||||
test_hmc5843.srcs += mcu_periph/sys_time.c $(SRC_ARCH)/mcu_periph/sys_time_arch.c
|
||||
|
||||
test_hmc5843.CFLAGS += -DUSE_$(MODEM_PORT) -D$(MODEM_PORT)_BAUD=$(MODEM_BAUD)
|
||||
test_hmc5843.srcs += mcu_periph/uart.c
|
||||
@@ -527,8 +526,8 @@ test_itg3200.CFLAGS += -DUSE_LED
|
||||
test_itg3200.srcs += $(SRC_ARCH)/led_hw.c
|
||||
|
||||
test_itg3200.CFLAGS += -DUSE_SYS_TIME -DSYS_TIME_LED=$(SYS_TIME_LED)
|
||||
test_itg3200.CFLAGS += -DPERIODIC_TASK_PERIOD='SYS_TICS_OF_SEC((1./512.))'
|
||||
test_itg3200.srcs += sys_time.c $(SRC_ARCH)/sys_time_hw.c
|
||||
test_itg3200.CFLAGS += -DPERIODIC_FREQUENCY='512.'
|
||||
test_itg3200.srcs += mcu_periph/sys_time.c $(SRC_ARCH)/mcu_periph/sys_time_arch.c
|
||||
|
||||
test_itg3200.CFLAGS += -DUSE_$(MODEM_PORT) -D$(MODEM_PORT)_BAUD=$(MODEM_BAUD)
|
||||
test_itg3200.srcs += mcu_periph/uart.c
|
||||
@@ -558,8 +557,8 @@ test_adxl345.CFLAGS += -DUSE_LED
|
||||
test_adxl345.srcs += $(SRC_ARCH)/led_hw.c
|
||||
|
||||
test_adxl345.CFLAGS += -DUSE_SYS_TIME -DSYS_TIME_LED=1
|
||||
test_adxl345.CFLAGS += -DPERIODIC_TASK_PERIOD='SYS_TICS_OF_SEC((1./512.))'
|
||||
test_adxl345.srcs += sys_time.c $(SRC_ARCH)/sys_time_hw.c
|
||||
test_adxl345.CFLAGS += -DPERIODIC_FREQUENCY='512.'
|
||||
test_adxl345.srcs += mcu_periph/sys_time.c $(SRC_ARCH)/mcu_periph/sys_time_arch.c
|
||||
|
||||
test_adxl345.CFLAGS += -DUSE_UART2 -DUART2_BAUD=B57600
|
||||
test_adxl345.srcs += mcu_periph/uart.c
|
||||
@@ -587,8 +586,8 @@ test_esc_mkk_simple.srcs = $(SRC_AIRBORNE)/mcu.c \
|
||||
test_esc_mkk_simple.CFLAGS += -DUSE_LED
|
||||
test_esc_mkk_simple.srcs += $(SRC_ARCH)/led_hw.c
|
||||
test_esc_mkk_simple.CFLAGS += -DUSE_SYS_TIME -DSYS_TIME_LED=$(SYS_TIME_LED)
|
||||
test_esc_mkk_simple.CFLAGS += -DPERIODIC_TASK_PERIOD='SYS_TICS_OF_SEC(1./512.)'
|
||||
test_esc_mkk_simple.srcs += sys_time.c $(SRC_ARCH)/sys_time_hw.c
|
||||
test_esc_mkk_simple.CFLAGS += -DPERIODIC_FREQUENCY='512.'
|
||||
test_esc_mkk_simple.srcs += mcu_periph/sys_time.c $(SRC_ARCH)/mcu_periph/sys_time_arch.c
|
||||
test_esc_mkk_simple.CFLAGS += -DUSE_I2C2
|
||||
test_esc_mkk_simple.srcs += mcu_periph/i2c.c $(SRC_ARCH)/mcu_periph/i2c_arch.c
|
||||
test_esc_mkk_simple.CFLAGS += -DACTUATORS_MKK_DEV=i2c2
|
||||
@@ -608,8 +607,8 @@ test_esc_asctecv1_simple.srcs = $(SRC_AIRBORNE)/mcu.c \
|
||||
test_esc_asctecv1_simple.CFLAGS += -DUSE_LED
|
||||
test_esc_asctecv1_simple.srcs += $(SRC_ARCH)/led_hw.c
|
||||
test_esc_asctecv1_simple.CFLAGS += -DUSE_SYS_TIME -DSYS_TIME_LED=1
|
||||
test_esc_asctecv1_simple.CFLAGS += -DPERIODIC_TASK_PERIOD='SYS_TICS_OF_SEC(1./512.)'
|
||||
test_esc_asctecv1_simple.srcs += sys_time.c $(SRC_ARCH)/sys_time_hw.c
|
||||
test_esc_asctecv1_simple.CFLAGS += -DPERIODIC_FREQUENCY='512.'
|
||||
test_esc_asctecv1_simple.srcs += mcu_periph/sys_time.c $(SRC_ARCH)/mcu_periph/sys_time_arch.c
|
||||
test_esc_asctecv1_simple.CFLAGS += -DUSE_I2C1
|
||||
test_esc_asctecv1_simple.srcs += mcu_periph/i2c.c $(SRC_ARCH)/mcu_periph/i2c_arch.c
|
||||
|
||||
@@ -630,8 +629,8 @@ test_actuators_mkk.CFLAGS += -DUSE_LED
|
||||
test_actuators_mkk.srcs += $(SRC_ARCH)/led_hw.c
|
||||
|
||||
test_actuators_mkk.CFLAGS += -DUSE_SYS_TIME -DSYS_TIME_LED=1
|
||||
test_actuators_mkk.CFLAGS += -DPERIODIC_TASK_PERIOD='SYS_TICS_OF_SEC(1./512.)'
|
||||
test_actuators_mkk.srcs += sys_time.c $(SRC_ARCH)/sys_time_hw.c
|
||||
test_actuators_mkk.CFLAGS += -DPERIODIC_FREQUENCY='512.'
|
||||
test_actuators_mkk.srcs += mcu_periph/sys_time.c $(SRC_ARCH)/mcu_periph/sys_time_arch.c
|
||||
|
||||
test_actuators_mkk.CFLAGS += -DUSE_UART2 -DUART2_BAUD=B57600
|
||||
test_actuators_mkk.srcs += mcu_periph/uart.c
|
||||
@@ -663,8 +662,8 @@ test_actuators_asctecv1.CFLAGS += -DUSE_LED
|
||||
test_actuators_asctecv1.srcs += $(SRC_ARCH)/led_hw.c
|
||||
|
||||
test_actuators_asctecv1.CFLAGS += -DUSE_SYS_TIME -DSYS_TIME_LED=1
|
||||
test_actuators_asctecv1.CFLAGS += -DPERIODIC_TASK_PERIOD='SYS_TICS_OF_SEC(1./512.)'
|
||||
test_actuators_asctecv1.srcs += sys_time.c $(SRC_ARCH)/sys_time_hw.c
|
||||
test_actuators_asctecv1.CFLAGS += -DPERIODIC_FREQUENCY='512.'
|
||||
test_actuators_asctecv1.srcs += mcu_periph/sys_time.c $(SRC_ARCH)/mcu_periph/sys_time_arch.c
|
||||
|
||||
test_actuators_asctecv1.CFLAGS += -DUSE_UART2 -DUART2_BAUD=B57600
|
||||
test_actuators_asctecv1.srcs += mcu_periph/uart.c
|
||||
@@ -694,8 +693,8 @@ test_bmp085.srcs = $(SRC_AIRBORNE)/mcu.c \
|
||||
test_bmp085.CFLAGS += -DUSE_LED
|
||||
test_bmp085.srcs += $(SRC_ARCH)/led_hw.c
|
||||
test_bmp085.CFLAGS += -DUSE_SYS_TIME -DSYS_TIME_LED=$(SYS_TIME_LED)
|
||||
test_bmp085.CFLAGS += -DPERIODIC_TASK_PERIOD='SYS_TICS_OF_SEC(1./512.)'
|
||||
test_bmp085.srcs += sys_time.c $(SRC_ARCH)/sys_time_hw.c
|
||||
test_bmp085.CFLAGS += -DPERIODIC_FREQUENCY='512.'
|
||||
test_bmp085.srcs += mcu_periph/sys_time.c $(SRC_ARCH)/mcu_periph/sys_time_arch.c
|
||||
|
||||
test_bmp085.CFLAGS += -DUSE_$(MODEM_PORT) -D$(MODEM_PORT)_BAUD=$(MODEM_BAUD)
|
||||
test_bmp085.srcs += mcu_periph/uart.c
|
||||
@@ -725,8 +724,8 @@ test_manual.srcs = $(SRC_AIRBORNE)/mcu.c \
|
||||
test_manual.CFLAGS += -DUSE_LED
|
||||
test_manual.srcs += $(SRC_ARCH)/led_hw.c
|
||||
test_manual.CFLAGS += -DUSE_SYS_TIME -DSYS_TIME_LED=$(SYS_TIME_LED)
|
||||
test_manual.CFLAGS += -DPERIODIC_TASK_PERIOD='SYS_TICS_OF_SEC(1./512.)'
|
||||
test_manual.srcs += sys_time.c $(SRC_ARCH)/sys_time_hw.c
|
||||
test_manual.CFLAGS += -DPERIODIC_FREQUENCY='512.'
|
||||
test_manual.srcs += mcu_periph/sys_time.c $(SRC_ARCH)/mcu_periph/sys_time_arch.c
|
||||
|
||||
test_manual.CFLAGS += -DUSE_$(MODEM_PORT) -D$(MODEM_PORT)_BAUD=$(MODEM_BAUD)
|
||||
test_manual.srcs += $(SRC_ARCH)/mcu_periph/uart_arch.c
|
||||
@@ -771,8 +770,8 @@ tunnel_sw.srcs += $(SRC_AIRBORNE)/mcu.c \
|
||||
tunnel_sw.CFLAGS += -DUSE_LED
|
||||
tunnel_sw.srcs += $(SRC_ARCH)/led_hw.c
|
||||
tunnel_sw.CFLAGS += -DUSE_SYS_TIME -DSYS_TIME_LED=$(SYS_TIME_LED)
|
||||
tunnel_sw.CFLAGS += -DPERIODIC_TASK_PERIOD='SYS_TICS_OF_SEC(1./512.)'
|
||||
tunnel_sw.srcs += sys_time.c $(SRC_ARCH)/sys_time_hw.c
|
||||
tunnel_sw.CFLAGS += -DPERIODIC_FREQUENCY='512.'
|
||||
tunnel_sw.srcs += mcu_periph/sys_time.c $(SRC_ARCH)/mcu_periph/sys_time_arch.c
|
||||
|
||||
|
||||
#
|
||||
@@ -789,8 +788,8 @@ tunnel_hw.srcs += lisa/test/lisa_tunnel.c \
|
||||
tunnel_hw.CFLAGS += -DUSE_LED
|
||||
tunnel_hw.srcs += $(SRC_ARCH)/led_hw.c
|
||||
tunnel_hw.CFLAGS += -DUSE_SYS_TIME -DSYS_TIME_LED=$(SYS_TIME_LED)
|
||||
tunnel_hw.CFLAGS += -DPERIODIC_TASK_PERIOD='SYS_TICS_OF_SEC(1./512.)'
|
||||
tunnel_hw.srcs += sys_time.c $(SRC_ARCH)/sys_time_hw.c
|
||||
tunnel_hw.CFLAGS += -DPERIODIC_FREQUENCY='512.'
|
||||
tunnel_hw.srcs += mcu_periph/sys_time.c $(SRC_ARCH)/mcu_periph/sys_time_arch.c
|
||||
tunnel_hw.CFLAGS += -DUSE_UART1 -DUART1_BAUD=B57600
|
||||
tunnel_hw.CFLAGS += -DUSE_UART2 -DUART2_BAUD=B57600
|
||||
tunnel_hw.srcs += mcu_periph/uart.c
|
||||
@@ -816,9 +815,9 @@ test_settings.srcs = test/subsystems/test_settings.c \
|
||||
test_settings.CFLAGS += -DUSE_LED
|
||||
test_settings.srcs += $(SRC_ARCH)/led_hw.c
|
||||
test_settings.CFLAGS += -DUSE_SYS_TIME
|
||||
test_settings.CFLAGS += -DPERIODIC_TASK_PERIOD='SYS_TICS_OF_SEC(1./512.)'
|
||||
test_settings.CFLAGS += -DPERIODIC_FREQUENCY='512.'
|
||||
test_settings.CFLAGS += -DSYS_TIME_LED=$(SYS_TIME_LED)
|
||||
test_settings.srcs += sys_time.c $(SRC_ARCH)/sys_time_hw.c
|
||||
test_settings.srcs += mcu_periph/sys_time.c $(SRC_ARCH)/mcu_periph/sys_time_arch.c
|
||||
test_settings.CFLAGS += -DUSE_$(MODEM_PORT)
|
||||
test_settings.CFLAGS += -D$(MODEM_PORT)_BAUD=$(MODEM_BAUD)
|
||||
test_settings.srcs += subsystems/datalink/downlink.c subsystems/datalink/pprz_transport.c
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user