Hi,

Webots comes with a free gcc cross-compiler properly compiled and 
configured for Windows, Linux and Mac OS X. You could easily compile the 
sercom on all three platform (you can even use the Webots built-in 
editor and the cross-compile button). All this comes for free with the 
demo version of Webots which you can download here: 
http://www.cyberbotics.com/products/webots/download.html (choose either 
Linux, Windows or Mac OS X).
After installation, go to the Webots / transfer / e-puck / firmware 
folder and type make, it will recompile a variation of the sercom (named 
firmware.c) and produce the corresponding firmware.hex file.

Let me know if you need any assistance in using this cross-compiler.

-Olivier

Alexandre Campo wrote:
> Hi Davide,
>
> to get the cross compiler, you should be just fine if you follow the 
> instructions here :
> http://iridia.ulb.ac.be/~e-puck/wiki/tiki-index.php?page=Cross+compiling+for+dsPic
>
> This gives you the cross compiler, working and thoroughly tested.
> For compiling sercom under linux, I have to say I never tried, but I think 
> this is too ambitious :-)
> why not trying simple programs like leds, motors, and so on ?
>
> For your compilation problem, it seems that you are just missing a file, or 
> that a file is not in the right place.
> You can change it's location where it is included / needed.
>
>
> Cheers,
> alex.
>
>
>
>
> On Mon, 18 Feb 2008 19:00:51 +0100
> Davide Donetto <[EMAIL PROTECTED]> wrote:
>
>   
>> Hi,
>> I'm a PhD student working at ISTC-CNR in Rome. I'm trying to compile  
>> an .hex file for the e-puck robot under linux but I've found it more  
>> difficult than I thought:
>>
>> I've compiled piklab and then gcc, binutils and support packages using  
>> deb templates, following the instructions on this page:
>> http://www.nabble.com/Debian-templates-for-dsPIC-build-toolchain-3.01-td12265748.html
>>
>> My program is just a variation of sercom, so I used the same sources  
>> specified in its project file, downloading the library (version  
>> 1_1_1l) from the e-puck website.
>>
>> When I try to build the project it always stops saying:
>> Assembler messages:
>> Error: can't open epuck/library/motor_led/e_init_port.s for reading
>>
>> ...of course the file is not there but in the epuck dir.
>>
>> Can somebody help me, please?!?
>> Thanks
>>
>> Davide
>>
>>
>>
>> _______________________________________________
>> E-puck-user mailing list
>> [email protected]
>> https://mail.gna.org/listinfo/e-puck-user
>>     
>
> _______________________________________________
> E-puck-user mailing list
> [email protected]
> https://mail.gna.org/listinfo/e-puck-user
>
>
>   


_______________________________________________
E-puck-user mailing list
[email protected]
https://mail.gna.org/listinfo/e-puck-user

Reply via email to