chirag2239
Member level 3
![Member level 3](/styles/images/ranks/dlevel3.gif)
Hello,
I am using Arduino 1.6.4 IDE and my problem is that I am working on ATmega2560 and I need to bootload it. So I found the hex file of bootloader file and I opened it into Arduino IDE. So when I am verifying the code, it gives the error of this :
bootloader_2560:6: error: variable 'atmega2560_v2' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
variable 'atmega2560_v2' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
What error is this and why?
Please help me to solve. Please provide the compiled file. Here I have attached the whole folder. Please find the attachment and provide the compiled error free file.
Thanks.
Chirag
I am using Arduino 1.6.4 IDE and my problem is that I am working on ATmega2560 and I need to bootload it. So I found the hex file of bootloader file and I opened it into Arduino IDE. So when I am verifying the code, it gives the error of this :
bootloader_2560:6: error: variable 'atmega2560_v2' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
variable 'atmega2560_v2' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
What error is this and why?
Please help me to solve. Please provide the compiled file. Here I have attached the whole folder. Please find the attachment and provide the compiled error free file.
Thanks.
Chirag