[mc1322x] contiki compilation error
Camilo, Alex
acamilo at neuronrobotics.com
Mon Dec 7 10:49:45 EST 2009
I think I have resolved the issue although I would like to clarify some
things to see if I have a proper understanding of what I did.
In the CPU specific makefile i replaces an instance of -msoft-float
with -mhard-float. This should cause a trap to be fallen into when a co-proc
instruction is executed which would result in the trap-handler performing
the computation in software. Is this what happens or will i fall into a
"loop: call loop".
On Mon, Dec 7, 2009 at 9:34 AM, Camilo, Alex <acamilo at neuronrobotics.com>wrote:
> Thanks for the help. I made it to the linker and i got the following
> errors.
> I don't understand why a library would use hardware floating point. I was
> under the assumption that the arm7tdmi in this chip lacks the requisite
> coprocessor.
>
> PUCK-MSND:hello-world acamilo$ make TARGET=mc1322x
> [snip]
> make: *** [hello-world.mc1322x] Error 1
> rm obj_mc1322x/symbols.o obj_mc1322x/startup.o hello-world.co
>
>
> On Mon, Dec 7, 2009 at 9:22 AM, Mariano Alvira <mar at devl.org> wrote:
>
>> On Mon, Dec 07, 2009 at 04:42:38AM -0500, Camilo, Alex wrote:
>> > Hello, I'm having some trouble compiling the contiki port for the
>> mc1322x
>> > micro-controller and compilation for the targets of naive and mc1322x
>> error out
>> > at some point of the compilation process. With a target of mc1322x
>> compilation
>> > stops with this error.
>> >
>> > ../../platform/mc1322x/./printf-arch.c:41:20: error: memory.h: No such
>> file or
>> > directory
>> > make: *** [obj_mc1322x/printf-arch.o] Error 1
>>
>> Comment out the memory.h include in printf-arch.c and try again; I
>> don't think it's necessary. I tested this on my toolchain and it
>> worked fine.
>>
>> -Mar.
>>
>>
>>
>
>
> --
> Alex Camilo
> 1-877-474-6038 ext#703
> Head of Research and Design at Neuron Robotics, LLC.
> www.neuronrobotics.com
>
--
Alex Camilo
1-877-474-6038 ext#703
Head of Research and Design at Neuron Robotics, LLC.
www.neuronrobotics.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://devl.org/pipermail/mc1322x/attachments/20091207/6a08b3dd/attachment.htm>
More information about the mc1322x
mailing list