Advertisement
Guest User

Untitled

a guest
Aug 6th, 2016
219
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.20 KB | None | 0 0
  1. .pioenvs\uno\UsbKeyboard\usbdrv.c:70:14: error: variable 'usbDescriptorString0' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
  2. PROGMEM char usbDescriptorString0[] = { /* language descriptor */
  3. ^
  4. .pioenvs\uno\UsbKeyboard\usbdrv.c:70:14: error: conflicting types for 'usbDescriptorString0'
  5.  
  6. In file included from .pioenvs\uno\UsbKeyboard\usbdrv.c:12:0:
  7. .pioenvs\uno\UsbKeyboard\usbdrv.h:497:12: note: previous declaration of 'usbDescriptorString0' was here
  8. const char usbDescriptorString0[];
  9. ^
  10. .pioenvs\uno\UsbKeyboard\usbdrv.c:80:14: error: variable 'usbDescriptorStringVendor' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
  11. PROGMEM int usbDescriptorStringVendor[] = {
  12. ^
  13. .pioenvs\uno\UsbKeyboard\usbdrv.c:80:14: error: conflicting types for 'usbDescriptorStringVendor'
  14. In file included from .pioenvs\uno\UsbKeyboard\usbdrv.c:12:0:
  15. .pioenvs\uno\UsbKeyboard\usbdrv.h:503:11: note: previous declaration of 'usbDescriptorStringVendor' was here
  16. const int usbDescriptorStringVendor[];
  17. ^
  18. .pioenvs\uno\UsbKeyboard\usbdrv.c:89:14: error: variable 'usbDescriptorStringDevice' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
  19. PROGMEM int usbDescriptorStringDevice[] = {
  20. ^
  21. .pioenvs\uno\UsbKeyboard\usbdrv.c:89:14: error: conflicting types for 'usbDescriptorStringDevice'
  22. In file included from .pioenvs\uno\UsbKeyboard\usbdrv.c:12:0:
  23. .pioenvs\uno\UsbKeyboard\usbdrv.h:509:11: note: previous declaration of 'usbDescriptorStringDevice' was here
  24. const int usbDescriptorStringDevice[];
  25. ^
  26. .pioenvs\uno\UsbKeyboard\usbdrv.c:111:14: error: variable 'usbDescriptorDevice' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
  27. PROGMEM char usbDescriptorDevice[] = { /* USB device descriptor */
  28. ^
  29. .pioenvs\uno\UsbKeyboard\usbdrv.c:111:14: error: conflicting types for 'usbDescriptorDevice'
  30. In file included from .pioenvs\uno\UsbKeyboard\usbdrv.c:12:0:
  31. .pioenvs\uno\UsbKeyboard\usbdrv.h:479:12: note: previous declaration of 'usbDescriptorDevice' was here
  32. const char usbDescriptorDevice[];
  33. ^
  34. .pioenvs\uno\UsbKeyboard\usbdrv.c:142:14: error: variable 'usbDescriptorConfiguration' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
  35. PROGMEM char usbDescriptorConfiguration[] = { /* USB configuration descriptor */
  36. ^
  37. .pioenvs\uno\UsbKeyboard\usbdrv.c:142:14: error: conflicting types for 'usbDescriptorConfiguration'
  38. In file included from .pioenvs\uno\UsbKeyboard\usbdrv.c:12:0:
  39. .pioenvs\uno\UsbKeyboard\usbdrv.h:485:12: note: previous declaration of 'usbDescriptorConfiguration' was here
  40. const char usbDescriptorConfiguration[];
  41. ^
  42. avr-gcc -x assembler-with-cpp -g -Os -Wall -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000L -DPLATFORMIO=021101 -DARDUINO_ARCH_AVR -DARDUINO_AVR_UNO -DARDUINO=10608 -I.pioenvs\uno\FrameworkArduino -I.pioenvs\uno\Framew
  43. orkArduinoVariant -I.pioenvs\uno\Keypad -I.pioenvs\uno\Keypad\utility -I.pioenvs\uno\MIDI -I.pioenvs\uno\UsbKeyboard -c -o .pioenvs\uno\UsbKeyboard\usbdrvasm.o .pioenvs\uno\UsbKeyboard\usbdrvasm.S
  44. scons: *** [.pioenvs\uno\UsbKeyboard\usbdrv.o] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement