dmitry chernov <[email protected]> wrote: > usbdrv/usbdrv.h:455:6: error: variable 'usbDescriptorDevice' must be const > in order to be put into read-only section by means of > '__attribute__((progmem))'
Please report that to the VUSB maintainer. Any data that are placed into progmem are required to be declared `const' now. This is an obvious consequence of the nature of flash memory, but previously, GCC didn't require that. This eventually lead to internal errors (crashes) of GCC, so this requirement has been added to GCC recently. The PGMSPACE macro of avr-libc has been modified for this, but anyone declaring their own progmem data have to adapt their code as well. -- cheers, J"org .-.-. --... ...-- -.. . DL8DTL http://www.sax.de/~joerg/ NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) _______________________________________________ AVR-chat mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/avr-chat
