Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

WD v1.5_b008 compile issues
#1

Hi,
I'm trying to compile the last WD software with:
#define DisplayType 1 // 0= TFT 160x128 ST7735, 1= TFT 320x240 ILI9341, 4= 20x4 LCD, 5= 16x2 LCD
But i have an error (in french)
Quote:Le croquis utilise 30 962 octets (100%) de l'espace de stockage de programmes. Le maximum est de 30 720 octets.
Les variables globales utilisent 1 294 octets (63%) de mémoire dynamique, ce qui laisse 754 octets pour les variables locales. Le maximum est de 2 048 octets.

This mean that the 'sketch' is to big !!
Could someone advice me what to do please ?
Thanks
Reply
#2

Arduino IDE version?
Are you using the supplied libraries?

Quote:Sketch uses 30,624 bytes (99%) of program storage space. Maximum is 30,720 bytes.
Global variables use 1,103 bytes (53%) of dynamic memory, leaving 945 bytes for local variables. Maximum is 2,048 bytes.

Reply
#3

IDE 166
I merged the supplied library folder to the Arduino folder.

I remember that when i try to compile WD project the first time, Adafruit_GFX library was missing then i get this library from internet.
Reply
#4

I updated the missing library, can you please download the software package, and try again?

Reply
#5

It' ok now with the updated library. Sketch size : 30 284 octets (98%)
But when i try to add the touch display (#define Touch_Display 1)
Sketch is too big again : 31 008 octets (100%)
(Maximum is 30 720 octets)
If i add the local temp sensor it's even worse : 31 652 octets (103%)
Is it working for you ?
Reply
#6

Yes, it is.
Please check again, if you are using the supplied Adafruit_ILI9341 library.
Newer versions may be greater and use more memory.

Reply
#7

I just overwrite Adafruit_ILI9341 library to be sure but have the same problem.
I can do some other tests again this evening! (i have to go to sleep because i'm standing up at 6)
Thanks
Reply
#8

I'm using Arduino IDE 1.7.7 from: http://www.arduino.org/software

   

   

Seems they are using compiler directives, more optimized for size.
I checked with Arduino IDE 1.6.7 from: https://www.arduino.cc/en/Main/Software
and it fails!

The software download page was updated: Now is pointed that Arduino IDE 1.7.x is required


The split of the Arduino Team, is starting to cause troubles...Confused

Reply
#9

Hi,
Latest IDE (178) installed, latest WD library folder added and latest WD project compiled succesfully!
First Wireless Display working well now.
   
Thanks for your prompt useful replies.
Reply
#10

Thanks for the feedback.
The Wireless Display units are a really useful add on to the WeatherDuino Pro2 system.

Reply




Users browsing this thread: 1 Guest(s)