Re: Webplatform Contiki 2.5 port Reply #30 – October 30, 2012, 06:20:24 am [quote author="shuckc"]No idea, I don't know the PIC24 architecture well enough to comment. The PIC32 port took me about a week to get going, albeit the Ethernet driver was already running by others, so I only had to do the Contiki wrapper.[/quote]Hi,I am getting started on contiki. The dev tools I have are from microchip, so I was looking for a contiki port for it.I am compilin contiki-dp-webplatform-main.c with mplab/xc16 and it seems that this main file does not define `autostart_processes' and `procinit'.Am I missing something?Also, Is the PIC32 port available?Thank you! Last Edit: January 01, 1970, 01:00:00 am by Guest
Re: Webplatform Contiki 2.5 port Reply #31 – November 14, 2012, 09:57:01 pm I am have never used cygwin before. I prefer to use MPLAB to build and debug my programs.What do I need to do to make this work in MPLAB ?How do I find which files I need to include and how ??PLease guide me.Thanks Last Edit: January 01, 1970, 01:00:00 am by Guest
Re: Webplatform Contiki 2.5 port Reply #32 – November 16, 2012, 10:18:58 am Getting Contiki to build in MPLAB is a significant challenge due to the project structure. Makefiles are the way to go.I also use Windows 7 64-bit and my builds work as per the instructions, so that is not your problem. You do need Cygwin for the makefile to work. If you paste here any build errors I am sure we can fix it.Chris Last Edit: January 01, 1970, 01:00:00 am by Guest
Re: Webplatform Contiki 2.5 port Reply #33 – November 16, 2012, 05:02:19 pm Allright. I will follow your advise and work with cygwin instead of trying to get it working with MPLAB.Here is my problem with cygwin.I did following steps.$ mkdir dpweb; cd dpweb $ git clone git://github.com/shuckc/contiki-mirror.git$ cd contiki-mirror/examples/hello-world/Then I did $ make savetarget TARGET=dp-webplatformI got thispic30-gcc version is '4.0.3' recommend 4.0.3saving Makefile.targetThen $ makeWhich worked fine and I got .HEX file which is perfect.But then I wanted to run something on native platform so I changed it "native"$ make savetarget TARGET=nativesaving Makefile.targetBut now if I change it back to dp-webplatform I get following error.$ make savetarget TARGET=dp-webplatformpic30-gcc version is '4.0.3' recommend 4.0.3obj_dp-webplatform/procinit.d:1: *** multiple target patterns. Stop.I searched online and found this error is related to PATH.Can you please let me know what do I need to do to get it working. Last Edit: January 01, 1970, 01:00:00 am by Guest
Re: Webplatform Contiki 2.5 port Reply #34 – November 16, 2012, 05:05:11 pm Do something like "rm *.hex && rm *.out" The build system does not "re-make" if the existing output files are there.I am quite a bit better at Makefiles since I modified the platform scripts for ds-pic. If there's something I can fix easily I will do so any push it to github. Good luck! Last Edit: January 01, 1970, 01:00:00 am by Guest
Re: Webplatform Contiki 2.5 port Reply #35 – November 16, 2012, 07:53:10 pm removed .hex and .out files but still same error.Thanks Last Edit: January 01, 1970, 01:00:00 am by Guest
Re: Webplatform Contiki 2.5 port Reply #36 – November 16, 2012, 08:18:43 pm Try 'make clean' Last Edit: January 01, 1970, 01:00:00 am by Guest
Re: Webplatform Contiki 2.5 port Reply #37 – November 16, 2012, 08:43:36 pm Bingo!!!!Thank you so much. I spent whole day yesterday for this. Last Edit: January 01, 1970, 01:00:00 am by Guest
Re: Webplatform Contiki 2.5 port Reply #38 – November 16, 2012, 08:47:05 pm :-( sorry - but also, thanks for sticking with it! Last Edit: January 01, 1970, 01:00:00 am by Guest
Re: Webplatform Contiki 2.5 port Reply #39 – August 31, 2013, 10:57:24 pm Guys, could someone please tell where this "https://github.com/shuckc/contiki-mirror" this lives now or where I could pull a copy? I'm getting a 404 on github for the original link.Thanks Last Edit: January 01, 1970, 01:00:00 am by Guest
Re: Webplatform Contiki 2.5 port Reply #40 – September 02, 2013, 10:05:55 am Seems like it is renamed: https://github.com/shuckc/contiki-dspic Last Edit: January 01, 1970, 01:00:00 am by Guest