Created Fri, 30 Dec 2011 11:49:52 +0000 by davepic32
Fri, 30 Dec 2011 11:49:52 +0000
Purchased CHIPKIT MAX32 with Network shield hardware and downloaded MPIDE as well as libraries for ethernet and USB. Board working for USB host and LED blinking. When compiling Ethernet example programs, it gives compiling error :
CPU/ Board combination not defined.
Can you provide solution ?
Fri, 30 Dec 2011 19:09:02 +0000
Which example sketch are you using?
Jacob
Sat, 31 Dec 2011 00:19:53 +0000
More specifically you need to make sure you selected the chipKITEthernet examples, the Ethernet examples are not for the chipKIT product line.
Sat, 31 Mar 2012 20:48:10 +0000
I'm having the same problem. I have the ChipKit Network Shield attached to the ChipKit Max32. Power is provided by the USB on the Max32.
I'm using the ChipKITTelnetServer example and when running Verify, get the following messages:
\mpide\libraries\chipKITEthernet\utility\chipKITEthernetAPI.c: In function 'InitializeBoard': \mpide\libraries\chipKITEthernet\utility\chipKITEthernetAPI.c:121:3: error: #error Board/CPU combination not defined
All the other ChipKitEthernet examples I've tried have the same problem.
Any ideas about how to fix this?
Thanks.
Sat, 31 Mar 2012 22:00:29 +0000
Fixed:
I was using Board -> ChipKIT Max32-USB for Serial
When I changed that to "ChipKIT Max32" everything worked fine.