Open BitKnitting opened 11 years ago
It looks like you're copying the patched Adafruit library to your Libraries folder? Don't do that. Just put all the files, the Arduino CC3000Patch.ino file, the Adafruit library files etc. in a single folder called "CC3000Patch" in your regular documents or Arduino programs folder, and run it from there.
I THOUGHT i followed directions: deleted adafruit's library. But receiving multiple define conflicts, e.g. (just copy/pasted a few...there are many):
CC3000Patch/Adafruit_CC3000_4Patching.cpp.o: In function
Adafruit_CC3000': /Users/margaret/Documents/Arduino/libraries/CC3000Patch/Adafruit_CC3000_4Patching.cpp:181: multiple definition of
Adafruit_CC3000::Adafruit_CC3000(unsigned char, unsigned char, unsigned char, unsigned char)' Adafruit_CC3000_4Patching.cpp.o:Adafruit_CC3000_4Patching.cpp:181: first defined here CC3000Patch/Adafruit_CC3000_4Patching.cpp.o:(.bss.g_csPin+0x0): multiple definition ofg_csPin' Adafruit_CC3000_4Patching.cpp.o:(.bss.g_csPin+0x0): first defined here CC3000Patch/Adafruit_CC3000_4Patching.cpp.o:(.bss.g_irqPin+0x0): multiple definition of
g_irqPin' Adafruit_CC3000_4Patching.cpp.o:(.bss.g_irqPin+0x0): first defined here CC3000Patch/Adafruit_CC3000_4Patching.cpp.o:(.bss.g_vbatPin+0x0): multiple definition ofg_vbatPin' Adafruit_CC3000_4Patching.cpp.o:(.bss.g_vbatPin+0x0): first defined here CC3000Patch/Adafruit_CC3000_4Patching.cpp.o:(.bss.g_IRQnum+0x0): multiple definition of
g_IRQnum' Adafruit_CC3000_4Patching.cpp.o:(.bss.g_IRQnum+0x0): first defined here CC3000Patch/Adafruit_CC3000_4Patching.cpp.o:(.bss.g_SPIspeed+0x0): multiple definition ofg_SPIspeed' Adafruit_CC3000_4Patching.cpp.o:(.bss.g_SPIspeed+0x0): first defined here CC3000Patch/Adafruit_CC3000_4Patching.cpp.o:(.bss.ulCC3000DHCP+0x0): multiple definition of
ulCC3000