Since 1.8 functionorder depends on a extreme long constant variable :-)

Hello,

my older project on http://fritzing.org/projects/mp3-sound-door-bell-wit-an-arduino
I can now not direct upload with the new IDE 1.8 :frowning:

I found following out:

following function order I normally use:
declare libraries, pins, variables, constants
const unsigned char sample PROGMEM = {…} with this constant i have the problem when it
exceeded a size I don’t know at the moment the order of function changes! ***

void setup() {
// put your setup code here, to run once:

}

***When it exceed the functions has to place now here!

void loop() {
// put your main code here, to run repeatedly:

function01();
function02();
function03();

}

void function01(){
}

void function01(){
}

void function01(){
}

Attached the examples compiled with IDE 1.8

Hopefully you can help me otherwise I have to rework my fritzing project :frowning: zzzzzzzz

TestSoundProjekt.zip (53.9 KB)

Is it the purpose of your Post to point out a shortcoming with the new version of the IDE - which is a perfectly reasonable thing to do?

Or are you simply trying to figure out how to get your project to work?

If the latter I suggest you continue using the version of the IDE that works. It is perfectly practical to have several versions of the IDE on your PC. The IDE is just a Java program.

...R

Hello Robin,

I want point out a shortcoming with the 1.8 IDE. Indeed this case of use is really seldom.

The example code I spent hopefully gives the arduino Team a better imagination to fix the IDE-shortcoming out.

Well it is not necessary to correct my project code. It works and worked since 05/01/2014.

Best regards from a big friend of ARDUINO

Michael J.

Merry Christmas and a Happy New Year!

michaeljohannes:
I want point out a shortcoming with the 1.8 IDE.

It is good of you to take the trouble.

Unfortunately I have never seen any evidence that the Arduino developers bother to read their own Forum.

...R

Trouble with the IDE should be posted here…

michaeljohannes:

Quote from: michaeljohannes Sun Dec 25 2016 13:54:27 GMT-0500 (EST)***When it exceed the functions has to place now here!

What error or problem occurs if you don't move the functions? If you get "not defined" errors on the function names it may be a problem with where the IDE places the auto-generated function prototypes. If you put in your own function prototypes that should prevent the problem.

***When it exceed the functions has to place now here!
void function01();
void function02();
void function03();

void loop() {
  // put your main code here, to run repeatedly:

  function01();
  function02();
  function03();

}

void function01(){
}

void function01(){
}

void function01(){
}