Created Fri, 18 Nov 2011 23:34:04 +0000 by smitthhyy
Fri, 18 Nov 2011 23:34:04 +0000
I'm getting an error that I can't work out how to solve and get on all the libraries for the chipKIT Network shield.
As an example, when I compile the ChipLITWebServer example, I get: [color=#FF0000]In file included from C:\Users\smitthhyy\Documents\Arduino\libraries\chipKITEthernet\utility/TCPIP Stack/TCPIP.h:295:0, from C:\Users\smitthhyy\Documents\Arduino\libraries\chipKITEthernet\utility\ARP.c:64: C:\Users\smitthhyy\Documents\Arduino\libraries\chipKITEthernet\utility/TCPIP Stack/MAC.h:90:3: error: #error No Ethernet/WiFi controller defined in HardwareProfile.h. Defines for an ENC28J60, ENC424J600/624J600, or WiFi MRF24WB10 must be present.[/color]
I suspect it's the way I've installed. Can anyone point me in the right direction?
I have mpide in [color=#0000FF]C:\Program Files (x86)\mpide-0022[/color] The sketches and the 3rd party libraries are in [color=#0000FF]C:\Users\smitthhyy\Documents\Arduino[/color] OS: Win7 SP1 64bit MPIDE ver: 0022.
Appreciate your help!
Sat, 19 Nov 2011 00:08:45 +0000
Make sure your using the latest IDE:
mpide-0022-windows-20110822
Also, I have the chipkit libraries installed in the library directory in my sketch directory. Make sure you don't run the Arduino Ethernet examples in place of the chipKIT ones, I was bang my head against the wall for a couple of day because of this.
Jacob
Sat, 19 Nov 2011 00:53:55 +0000
Thanks Jacob. Running latest, and libraries are in the sketches folder as per the readme.
Sat, 19 Nov 2011 02:22:50 +0000
SOLVED
Need to make sure you have the 'chipKIT MAX32' selected under the menu item 'tools' - 'board'.
Selecting "chipKIT MAX32-USB for Serial" with mpide-0022 will cause these errors.
Sat, 19 Nov 2011 02:59:58 +0000
Oh yeah, that'll do it.