AtmelStudio6
Posted: Sun Jul 01, 2012 8:03 pm
Hey there,
I tried V-USB in the development environment to use AtmelStudio6. I've made everything as described in this tutorial. But unfortunately I keep getting errors like this:
I tried V-USB in the development environment to use AtmelStudio6. I've made everything as described in this tutorial. But unfortunately I keep getting errors like this:
Code: Select all
Error 1 variable 'usbDescriptorDevice' must be const in order to be put into read-only section by means of '__attribute__((progmem))' C:\Programmieren\USB-Input\USB-Input\USB-Input\V-USB\usbdrv.h 455 6 USB-Input
Code: Select all
Error 2 variable 'usbDescriptorConfiguration' must be const in order to be put into read-only section by means of '__attribute__((progmem))' C:\Programmieren\USB-Input\USB-Input\USB-Input\V-USB\usbdrv.h 461 6 USB-Input
Code: Select all
Error 3 variable 'usbDescriptorHidReport' must be const in order to be put into read-only section by means of '__attribute__((progmem))' C:\Programmieren\USB-Input\USB-Input\USB-Input\V-USB\usbdrv.h 467 6 USB-Input
Code: Select all
Error 4 variable 'usbDescriptorString0' must be const in order to be put into read-only section by means of '__attribute__((progmem))' C:\Programmieren\USB-Input\USB-Input\USB-Input\V-USB\usbdrv.h 473 6 USB-Input
Code: Select all
Error 5 variable 'usbDescriptorStringVendor' must be const in order to be put into read-only section by means of '__attribute__((progmem))' C:\Programmieren\USB-Input\USB-Input\USB-Input\V-USB\usbdrv.h 479 5 USB-Input
Code: Select all
Error 6 variable 'usbDescriptorStringDevice' must be const in order to be put into read-only section by means of '__attribute__((progmem))' C:\Programmieren\USB-Input\USB-Input\USB-Input\V-USB\usbdrv.h 485 5 USB-Input
Code: Select all
Error 7 variable 'usbDescriptorStringSerialNumber' must be const in order to be put into read-only section by means of '__attribute__((progmem))' C:\Programmieren\USB-Input\USB-Input\USB-Input\V-USB\usbdrv.h 491 5 USB-Input