[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Paparazzi-devel] tunnel load via paparazzi center with UmarimLite v

From: David Conger
Subject: Re: [Paparazzi-devel] tunnel load via paparazzi center with UmarimLite v2 (error)
Date: Tue, 04 Sep 2012 19:47:05 -0700


I found a solution. Adding this line to the "setup" section in Firmware: 
 <target name="tunnel"          board="tiny_2.11"/>

So the whole section looks like:
  <firmware name="setup">
    <target name="setup_actuators" board="umarim_1.0"/>
    <target name="tunnel"          board="tiny_2.11"/>

No errors in compiling now. 

Thank you for getting me looking in the right place. I'm curious why board="umarim_1.0" did not work but tiny_2.11 did? 

-David C.

On Sep 4, 2012, at 12:37 AM, Felix Ruess wrote:

Hi David,

you have to add the tunnel target to <firmware name="setup"> and not fixedwing...

Cheers, Felix

On Tue, Sep 4, 2012 at 6:02 AM, David Conger <address@hidden> wrote:

I prefer to program the GPS via the "tunnel" application. Usually I just use an older code base (paparazz3) and load the tunnel into a TWOG I have here. Today I would like to use the UmarimLiteV2. My airframe file is based on the "Weasel".

To get the tunnel to appear in Paparazzi Center I added this line:
 <target name="tunnel"  board="umarim_1.0"/>

Now with "tunnel" as an option I go to "Clean". Then get an error during the build. Here's the Errror when doing "Build":
∫CC /home/dconger/paparazzi-software/var/MINIMAV2/tunnel/subsystems/navigation/nav_line.o
CC /home/dconger/paparazzi-software/var/MINIMAV2/tunnel/subsystems/gps.o
LD /home/dconger/paparazzi-software/var/MINIMAV2/tunnel/tunnel.elf
/home/dconger/paparazzi-software/var/MINIMAV2/tunnel/crt0.o: In function `abort':
arch/lpc21/crt0.S:(.init+0x138): undefined reference to `main'
collect2: ld returned 1 exit status
make[1]: *** [/home/dconger/paparazzi-software/var/MINIMAV2/tunnel/tunnel.elf] Error 1
make[1]: Leaving directory `/home/dconger/paparazzi-software/sw/airborne'
make: *** [tunnel.compile] Error 2
make: Leaving directory `/home/dconger/paparazzi-software'

DONE (exec make -C /home/dconger/paparazzi-software -f AIRCRAFT=MINIMAV2 tunnel.compile  2>&1)

What is this error?
arch/lpc21/crt0.S:(.init+0x138): undefined reference to `main'

 Is it my config or something in the code?

-David Conger
Paparazzi-devel mailing list

Paparazzi-devel mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]