Ethernet library too big

Hello!!

I'm making a project with arduino ethernet shield and I use an RTC and the sd card slot, so I have 6 libraries imported and I have no space in my code.

I detect that the Ethernet library is big so my question is: There are another lighter library for ethernet? I only use it for get information of the components.

Thanks :slight_smile:

Let me know what arduino board ur using??
what are list of library u added???
what is Size of code it showing???
share some snap shot of error message also link from where you download library!!!
if possible put your code here??

elobrate what your trying to do??

While you don't seem too keen to say exactly what you are doing, I think what you have found is that it is time to move to a Mega.

Sorry,

I was in the work and I have no details.

This is my imports:

#include <SD.h>

#include <Time.h>
#include <Wire.h>
#include <DS1307RTC.h>

#include <SPI.h>
#include <Ethernet.h>

Maybe I must go to mega... jeje, because my code is above 32k. And yes, I have functions, I'm programmer :slight_smile:

marioqn:
Maybe I must go to mega.

I'm sure you must. And your project is much more likely to grow than shrink. Further, even if your compiler says your code is 31k, that is not a guarantee it will run.

Having two time related libraries may be a bit unusual, but probably not relevant. I understand the compiler only uses stuff that you need from a library.

Thanks for your help.

I'll buy a mega :wink: