Hi,
the CC3000HostDriver offers a convenient BSD socket interface. While porting to the Atmel SAM3S platform I found that the macros and types around fd_set for select() tends to conflict quite badly with the predefined Atmel headers. This is a common problem, as for example a specific setup might also use a normal Ethernet PHY with another BSD socket interface implementation.
To avoid any conflicts it would be good to prefix all CC3000 definitions with CC3000_, or cc_ or something similar, and offer the actual BSD names as a compile time option through conditional compilation.
For some reason I just had conflicts in these symbols:
fd_set
FD_SET()
FD_CLR()
FD_ISSET()
FD_ZERO()
Renaming these macros and types manually to CC3000_ to disambiguate them solved the problem for me.
Cheers,
Johannes