Quote
zonalimitatore
Ok i understand.
I know platform.io from 3 days,but is not easy like arduino. I know 2.0 can autobuild
True, it does not look as simple as the Arduino IDE, but perhaps it is simpler to get it to do the right thing.
Quote
zonalimitatore
But..afterall.Why this versions of configuration.h (one with 1.1.9, one with 2 and original one)
hmm... because they use different words after the #define
And because they use different amounts of #define for the different versions of Marlin.
And because the config files are tightly linked to all the program code inside of Marlin, and the code inside Marlin changes every day (well the debug versions do), and thus the small changes to the order or wording inside the config files, needs to follow these changes.
Quote
zonalimitatore
work on all other users,and not for me.
hmmm.... what makes you say it works for everyone else?
Are you thinking about any particular persons or groups that you know it works for?
I have had issues every time I change to a different type/style of hardware. And most issues will take me at least one, some times two days to read the code inside Marlin, in order to figure out what needs to be different, either in the config files, or inside the code of Marlin.
So I understand that it feels like it is working for many other people, but in reality, most of them have had to spend quite a few days investigating for solutions, and only by now, they understand how to make it easy to get everything to work.
Quote
zonalimitatore
Work,ok....bt not my sd reader.
The only one difference is that i make the stupid things to upload 1.1.9 with bootloader file (included in .hex file),and i don't know why the programmer have add that.
Fortunately i have recover my board sing arduino uno like isp and rewrite bootloader,and repload the firm (the printer was dead)
So,guys....what can i do for make sd working?For me it's not a compile problem,cause like i say,others don't have this issue.
hmmm... I am not sure I fully understand all of this.
Did you not show the long list of compile errors? Are you able to make some combination of Arduino IDE or platform.io, and some versions of Marlin compile?
To get our help, I think you need to be much more detailed in what toolchain (compiler) you are trying to use, with which version of Marlin, and then you need to be rather picky as to which configuration.h files you use. You need to look at every #define within the configuration.h files you use, in order to figure out what is different, and why they are different, and only then will you know howto make the SD card work again.
Or of cause you can also just try many different combinations of it all, and then be happy when one of the combinations, by chance, ends up working.
P.S. I have made a small SD-card test sketch.
[github.com]
I use this test to eliminate any questions about hardware errors.
After this test is working, then I know it is only a question about settings, and other details, in the Firmware.