[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Paparazzi-devel] flag change problem still here
From: |
chris |
Subject: |
[Paparazzi-devel] flag change problem still here |
Date: |
Sun, 19 Jul 2009 10:58:23 +0300 |
User-agent: |
Thunderbird 2.0.0.22 (X11/20090608) |
Hi.
I use the tiny_2_1_1.h file.
I just did a SVN update and i am at version 3730 and still have the problem.
I even deleted the whole paparazzi3 directory and re downloaded the
vanilla code from the
repository.
Here is rhe relevant part of the airframe:
<makefile>
CONFIG = \"tiny_2_1_1.h\"
include $(PAPARAZZI_SRC)/conf/autopilot/tiny.makefile
FLASH_MODE=IAP
ap.CFLAGS += -DFBW -DAP -DBOARD_CONFIG=$(CONFIG) -DLED -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.srcs += commands.c
It does not work even when i replace the $(CONFIG) with \"tiny_2_1_1.h\"
The only way i made it work was to edit the "sys_time.h" file and
replace the
"#include BOARD_CONFIG" with "#include CONFIG" and use both definitions
in the airframe file like this:
<makefile>
CONFIG = \"tiny_2_1_1.h\"
include $(PAPARAZZI_SRC)/conf/autopilot/tiny.makefile
FLASH_MODE=IAP
ap.CFLAGS += -DFBW -DAP -DCONFIG=$(CONFIG) -DBOARD_CONFIG=$(CONFIG)
-DLED -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.srcs += commands.c
Here is a part of the output when i try to compile for sim (ap is almost
the same) :
make[1]: Entering directory `/home/chris/paparazzi3/sw/airborne'
DEPEND /home/chris/paparazzi3/var/EasyGlider/sim/.depend
In file included from radio_control.h:41,
from radio_control.c:25:
sys_time.h:34:10: error: #include expects "FILENAME" or <FILENAME>
In file included from gps.c:34:
sys_time.h:34:10: error: #include expects "FILENAME" or <FILENAME>
In file included from radio_control.h:41,
from inter_mcu.h:47,
from inter_mcu.c:25:
sys_time.h:34:10: error: #include expects "FILENAME" or <FILENAME>
In file included from autopilot.h:35,
from infrared.c:36:
sys_time.h:34:10: error: #include expects "FILENAME" or <FILENAME>
In file included from autopilot.h:35,
from fw_h_ctl.c:38:
sys_time.h:34:10: error: #include expects "FILENAME" or <FILENAME>
In file included from autopilot.h:35,
from fw_v_ctl.c:35:
sys_time.h:34:10: error: #include expects "FILENAME" or <FILENAME>
In file included from autopilot.h:35,
from nav.c:38:
sys_time.h:34:10: error: #include expects "FILENAME" or <FILENAME>
In file included from sys_time.c:1:
sys_time.h:34:10: error: #include expects "FILENAME" or <FILENAME>
In file included from main_fbw.c:48:
sys_time.h:34:10: error: #include expects "FILENAME" or <FILENAME>
In file included from autopilot.h:35,
from main_ap.c:48:
sys_time.h:34:10: error: #include expects "FILENAME" or <FILENAME>
Chris
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Paparazzi-devel] flag change problem still here,
chris <=