Closed billylegota closed 9 years ago
When I try to add const to the offending statements it just makes problems worse.
What version of the Arduino IDE?
Sent from my Amiga 1000 in 4096 colors!
On Dec 29, 2014, at 3:04 PM, billylegota notifications@github.com wrote:
When I try to add const to the offending statements it just makes problems worse.
— Reply to this email directly or view it on GitHub.
Version 1:1.0.5+dfsg2-2 installed via apt-get from the Official Ubuntu repositories.
Might it be that the IDE is out of date? I am installing the recommended build off of arduino.cc to see if that fixes the issue.
Just tried the "new" IDE from the arduino website. Works like a charm.
Okay. Excellent. I've noticed differences with various arduino programs and reliability of programming between 1.0, 1.0.5 and 1.5?
Sent from my Amiga 1000 in 4096 colors!
On Dec 29, 2014, at 7:15 PM, billylegota notifications@github.com wrote:
Just tried the "new" IDE from the arduino website. Works like a charm.
— Reply to this email directly or view it on GitHub.
When I try to upload the code to my Arduino Uno it returns the following error:
In file included from /usr/share/arduino/hardware/arduino/cores/arduino/Arduino.h:8:0, from TinyBasicPlus.ino:81: TinyBasicPlus.ino:278:33: error: variable ‘keywords’ must be const in order to be put into read-only section by means of ‘attribute((progmem))’ TinyBasicPlus.ino:370:33: error: variable ‘func_tab’ must be const in order to be put into read-only section by means of ‘attribute((progmem))’ TinyBasicPlus.ino:385:31: error: variable ‘to_tab’ must be const in order to be put into read-only section by means of ‘attribute((progmem))’ TinyBasicPlus.ino:390:33: error: variable ‘step_tab’ must be const in order to be put into read-only section by means of ‘attribute((progmem))’ TinyBasicPlus.ino:395:34: error: variable ‘relop_tab’ must be const in order to be put into read-only section by means of ‘attribute((progmem))’ TinyBasicPlus.ino:415:36: error: variable ‘highlow_tab’ must be const in order to be put into read-only section by means of ‘attribute((progmem))’
Any idea what is causing this?