Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Fix for the compiling errors with the new Arduino IDE version
#1
Hi Airic,

First thank you very much for making this available for all of us!

Just for your information, I managed to compile and deploy using the last Arduino version.
Maybe you (and other new users) are interested to know the way. I basically used the information from here:
http://forum.arduino.cc/index.php?topic=272313.0

The fix is in the last post:
Code:
Pre 1.5.8:    const prog_car mystring[]    PROGMEM = {"...."}
        1.5.8:        const char      mystring[]      PROGMEM = {"...."}
        Pre 1.5.8:    PROGMEM const char * string_table[] = { &s1, &s2...}
        1.5.8:        PGM_P const string_table[] PROGMEM = { &s1, &s2...}
        // For saving pointers to structs
        Pre 1.5.8:    PROGMEM const struct mode * master_mode_table[] =
        1.5.8:        const struct mode * const   master_mode_table[]  PROGMEM =

Best Regards,
Daniel
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)