Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add new tag for the LUFA-120219-BETA release.

git-svn-id: http://lufa-lib.googlecode.com/svn/tags/LUFA-120219-BETA@2033 d5102386-fcda-11dd-9fdb-3debd5008f28
  • Loading branch information...
commit b5f2a4e576a677252eb5741fdbdeb641089d9bb0 1 parent 9b0c63f
Dean authored
Showing with 3,185 additions and 3,079 deletions.
  1. +2 −3 Bootloaders/CDC/BootloaderAPI.c
  2. +2 −2 Bootloaders/CDC/BootloaderAPI.h
  3. +12 −7 Bootloaders/CDC/BootloaderAPITable.S
  4. +1 −1  Bootloaders/CDC/BootloaderCDC.aps
  5. +5 −5 Bootloaders/CDC/BootloaderCDC.c
  6. +4 −4 Bootloaders/CDC/BootloaderCDC.h
  7. +12 −0 Bootloaders/CDC/BootloaderCDC.txt
  8. +4 −4 Bootloaders/CDC/Descriptors.c
  9. +2 −2 Bootloaders/CDC/Descriptors.h
  10. +5 −0 Bootloaders/CDC/makefile
  11. +2 −2 Bootloaders/DFU/BootloaderAPI.c
  12. +2 −2 Bootloaders/DFU/BootloaderAPI.h
  13. +12 −7 Bootloaders/DFU/BootloaderAPITable.S
  14. +1 −1  Bootloaders/DFU/BootloaderDFU.aps
  15. +7 −6 Bootloaders/DFU/BootloaderDFU.c
  16. +5 −5 Bootloaders/DFU/BootloaderDFU.h
  17. +6 −0 Bootloaders/DFU/BootloaderDFU.txt
  18. +3 −3 Bootloaders/DFU/Descriptors.c
  19. +2 −2 Bootloaders/DFU/Descriptors.h
  20. +5 −0 Bootloaders/DFU/makefile
  21. +3 −3 Bootloaders/HID/BootloaderHID.c
  22. +3 −3 Bootloaders/HID/BootloaderHID.h
  23. +3 −3 Bootloaders/HID/Descriptors.c
  24. +2 −2 Bootloaders/HID/Descriptors.h
  25. +4 −0 Bootloaders/HID/makefile
  26. +35 −3 Demos/Device/ClassDriver/AudioInput/AudioInput.c
  27. +2 −2 Demos/Device/ClassDriver/AudioInput/AudioInput.h
  28. +3 −3 Demos/Device/ClassDriver/AudioInput/Descriptors.c
  29. +2 −2 Demos/Device/ClassDriver/AudioInput/Descriptors.h
  30. +34 −2 Demos/Device/ClassDriver/AudioOutput/AudioOutput.c
  31. +2 −2 Demos/Device/ClassDriver/AudioOutput/AudioOutput.h
  32. +3 −3 Demos/Device/ClassDriver/AudioOutput/Descriptors.c
  33. +2 −2 Demos/Device/ClassDriver/AudioOutput/Descriptors.h
  34. +3 −3 Demos/Device/ClassDriver/DualVirtualSerial/Descriptors.c
  35. +2 −2 Demos/Device/ClassDriver/DualVirtualSerial/Descriptors.h
  36. +2 −2 Demos/Device/ClassDriver/DualVirtualSerial/DualVirtualSerial.c
  37. +2 −2 Demos/Device/ClassDriver/DualVirtualSerial/DualVirtualSerial.h
  38. +3 −3 Demos/Device/ClassDriver/GenericHID/Descriptors.c
  39. +2 −2 Demos/Device/ClassDriver/GenericHID/Descriptors.h
  40. +3 −3 Demos/Device/ClassDriver/GenericHID/GenericHID.c
  41. +2 −2 Demos/Device/ClassDriver/GenericHID/GenericHID.h
  42. +3 −3 Demos/Device/ClassDriver/Joystick/Descriptors.c
  43. +2 −2 Demos/Device/ClassDriver/Joystick/Descriptors.h
  44. +3 −3 Demos/Device/ClassDriver/Joystick/Joystick.c
  45. +2 −2 Demos/Device/ClassDriver/Joystick/Joystick.h
  46. +3 −3 Demos/Device/ClassDriver/Keyboard/Descriptors.c
  47. +2 −2 Demos/Device/ClassDriver/Keyboard/Descriptors.h
  48. +3 −3 Demos/Device/ClassDriver/Keyboard/Keyboard.c
  49. +2 −2 Demos/Device/ClassDriver/Keyboard/Keyboard.h
  50. +3 −3 Demos/Device/ClassDriver/KeyboardMouse/Descriptors.c
  51. +2 −2 Demos/Device/ClassDriver/KeyboardMouse/Descriptors.h
  52. +3 −3 Demos/Device/ClassDriver/KeyboardMouse/KeyboardMouse.c
  53. +2 −2 Demos/Device/ClassDriver/KeyboardMouse/KeyboardMouse.h
  54. +3 −3 Demos/Device/ClassDriver/KeyboardMouseMultiReport/Descriptors.c
  55. +2 −2 Demos/Device/ClassDriver/KeyboardMouseMultiReport/Descriptors.h
  56. +3 −3 Demos/Device/ClassDriver/KeyboardMouseMultiReport/KeyboardMouseMultiReport.c
  57. +2 −2 Demos/Device/ClassDriver/KeyboardMouseMultiReport/KeyboardMouseMultiReport.h
  58. +3 −3 Demos/Device/ClassDriver/MIDI/Descriptors.c
  59. +2 −2 Demos/Device/ClassDriver/MIDI/Descriptors.h
  60. +2 −2 Demos/Device/ClassDriver/MIDI/MIDI.c
  61. +2 −2 Demos/Device/ClassDriver/MIDI/MIDI.h
  62. +3 −3 Demos/Device/ClassDriver/MassStorage/Descriptors.c
  63. +2 −2 Demos/Device/ClassDriver/MassStorage/Descriptors.h
  64. +2 −2 Demos/Device/ClassDriver/MassStorage/Lib/DataflashManager.c
  65. +2 −2 Demos/Device/ClassDriver/MassStorage/Lib/DataflashManager.h
  66. +2 −2 Demos/Device/ClassDriver/MassStorage/Lib/SCSI.c
  67. +2 −2 Demos/Device/ClassDriver/MassStorage/Lib/SCSI.h
  68. +2 −2 Demos/Device/ClassDriver/MassStorage/MassStorage.c
  69. +2 −2 Demos/Device/ClassDriver/MassStorage/MassStorage.h
  70. +3 −3 Demos/Device/ClassDriver/MassStorageKeyboard/Descriptors.c
  71. +2 −2 Demos/Device/ClassDriver/MassStorageKeyboard/Descriptors.h
  72. +2 −2 Demos/Device/ClassDriver/MassStorageKeyboard/Lib/DataflashManager.c
  73. +2 −2 Demos/Device/ClassDriver/MassStorageKeyboard/Lib/DataflashManager.h
  74. +2 −2 Demos/Device/ClassDriver/MassStorageKeyboard/Lib/SCSI.c
  75. +2 −2 Demos/Device/ClassDriver/MassStorageKeyboard/Lib/SCSI.h
  76. +3 −3 Demos/Device/ClassDriver/MassStorageKeyboard/MassStorageKeyboard.c
  77. +2 −2 Demos/Device/ClassDriver/MassStorageKeyboard/MassStorageKeyboard.h
  78. +3 −3 Demos/Device/ClassDriver/Mouse/Descriptors.c
  79. +2 −2 Demos/Device/ClassDriver/Mouse/Descriptors.h
  80. +3 −3 Demos/Device/ClassDriver/Mouse/Mouse.c
  81. +2 −2 Demos/Device/ClassDriver/Mouse/Mouse.h
  82. +3 −3 Demos/Device/ClassDriver/RNDISEthernet/Descriptors.c
  83. +2 −2 Demos/Device/ClassDriver/RNDISEthernet/Descriptors.h
  84. +2 −2 Demos/Device/ClassDriver/RNDISEthernet/Lib/ARP.c
  85. +2 −2 Demos/Device/ClassDriver/RNDISEthernet/Lib/ARP.h
  86. +2 −2 Demos/Device/ClassDriver/RNDISEthernet/Lib/DHCP.c
  87. +2 −2 Demos/Device/ClassDriver/RNDISEthernet/Lib/DHCP.h
  88. +2 −2 Demos/Device/ClassDriver/RNDISEthernet/Lib/Ethernet.c
  89. +2 −2 Demos/Device/ClassDriver/RNDISEthernet/Lib/Ethernet.h
  90. +2 −2 Demos/Device/ClassDriver/RNDISEthernet/Lib/EthernetProtocols.h
  91. +2 −2 Demos/Device/ClassDriver/RNDISEthernet/Lib/ICMP.c
  92. +3 −3 Demos/Device/ClassDriver/RNDISEthernet/Lib/ICMP.h
  93. +2 −2 Demos/Device/ClassDriver/RNDISEthernet/Lib/IP.c
  94. +2 −2 Demos/Device/ClassDriver/RNDISEthernet/Lib/IP.h
  95. +2 −2 Demos/Device/ClassDriver/RNDISEthernet/Lib/ProtocolDecoders.c
  96. +2 −2 Demos/Device/ClassDriver/RNDISEthernet/Lib/ProtocolDecoders.h
  97. +2 −2 Demos/Device/ClassDriver/RNDISEthernet/Lib/TCP.c
  98. +2 −2 Demos/Device/ClassDriver/RNDISEthernet/Lib/TCP.h
  99. +2 −2 Demos/Device/ClassDriver/RNDISEthernet/Lib/UDP.c
  100. +2 −2 Demos/Device/ClassDriver/RNDISEthernet/Lib/UDP.h
  101. +2 −2 Demos/Device/ClassDriver/RNDISEthernet/Lib/Webserver.c
  102. +2 −2 Demos/Device/ClassDriver/RNDISEthernet/Lib/Webserver.h
  103. +2 −2 Demos/Device/ClassDriver/RNDISEthernet/RNDISEthernet.c
  104. +2 −2 Demos/Device/ClassDriver/RNDISEthernet/RNDISEthernet.h
  105. +3 −3 Demos/Device/ClassDriver/VirtualSerial/Descriptors.c
  106. +2 −2 Demos/Device/ClassDriver/VirtualSerial/Descriptors.h
  107. +2 −2 Demos/Device/ClassDriver/VirtualSerial/VirtualSerial.c
  108. +2 −2 Demos/Device/ClassDriver/VirtualSerial/VirtualSerial.h
  109. +3 −3 Demos/Device/ClassDriver/VirtualSerialMassStorage/Descriptors.c
  110. +2 −2 Demos/Device/ClassDriver/VirtualSerialMassStorage/Descriptors.h
  111. +2 −2 Demos/Device/ClassDriver/VirtualSerialMassStorage/Lib/DataflashManager.c
  112. +2 −2 Demos/Device/ClassDriver/VirtualSerialMassStorage/Lib/DataflashManager.h
  113. +2 −2 Demos/Device/ClassDriver/VirtualSerialMassStorage/Lib/SCSI.c
  114. +2 −2 Demos/Device/ClassDriver/VirtualSerialMassStorage/Lib/SCSI.h
  115. +2 −2 Demos/Device/ClassDriver/VirtualSerialMassStorage/VirtualSerialMassStorage.c
  116. +2 −2 Demos/Device/ClassDriver/VirtualSerialMassStorage/VirtualSerialMassStorage.h
  117. +3 −3 Demos/Device/ClassDriver/VirtualSerialMouse/Descriptors.c
  118. +2 −2 Demos/Device/ClassDriver/VirtualSerialMouse/Descriptors.h
  119. +3 −3 Demos/Device/ClassDriver/VirtualSerialMouse/VirtualSerialMouse.c
  120. +2 −2 Demos/Device/ClassDriver/VirtualSerialMouse/VirtualSerialMouse.h
  121. +3 −3 Demos/Device/Incomplete/Sideshow/Descriptors.c
  122. +2 −2 Demos/Device/Incomplete/Sideshow/Descriptors.h
  123. +2 −2 Demos/Device/Incomplete/Sideshow/Lib/SideshowApplications.c
  124. +2 −2 Demos/Device/Incomplete/Sideshow/Lib/SideshowApplications.h
  125. +2 −2 Demos/Device/Incomplete/Sideshow/Lib/SideshowCommands.c
  126. +2 −2 Demos/Device/Incomplete/Sideshow/Lib/SideshowCommands.h
  127. +2 −2 Demos/Device/Incomplete/Sideshow/Lib/SideshowCommon.c
  128. +2 −2 Demos/Device/Incomplete/Sideshow/Lib/SideshowCommon.h
  129. +2 −2 Demos/Device/Incomplete/Sideshow/Lib/SideshowContent.c
  130. +2 −2 Demos/Device/Incomplete/Sideshow/Lib/SideshowContent.h
  131. +2 −2 Demos/Device/Incomplete/Sideshow/Sideshow.c
  132. +2 −2 Demos/Device/Incomplete/Sideshow/Sideshow.h
  133. +3 −3 Demos/Device/Incomplete/TestAndMeasurement/Descriptors.c
  134. +2 −2 Demos/Device/Incomplete/TestAndMeasurement/Descriptors.h
  135. +2 −2 Demos/Device/Incomplete/TestAndMeasurement/TestAndMeasurement.c
  136. +2 −2 Demos/Device/Incomplete/TestAndMeasurement/TestAndMeasurement.h
  137. +2 −2 Demos/Device/LowLevel/AudioInput/AudioInput.c
  138. +2 −2 Demos/Device/LowLevel/AudioInput/AudioInput.h
  139. +3 −3 Demos/Device/LowLevel/AudioInput/Descriptors.c
  140. +2 −2 Demos/Device/LowLevel/AudioInput/Descriptors.h
  141. +2 −2 Demos/Device/LowLevel/AudioOutput/AudioOutput.c
  142. +2 −2 Demos/Device/LowLevel/AudioOutput/AudioOutput.h
  143. +3 −3 Demos/Device/LowLevel/AudioOutput/Descriptors.c
  144. +2 −2 Demos/Device/LowLevel/AudioOutput/Descriptors.h
  145. +3 −3 Demos/Device/LowLevel/DualVirtualSerial/Descriptors.c
  146. +2 −2 Demos/Device/LowLevel/DualVirtualSerial/Descriptors.h
  147. +2 −2 Demos/Device/LowLevel/DualVirtualSerial/DualVirtualSerial.c
  148. +2 −2 Demos/Device/LowLevel/DualVirtualSerial/DualVirtualSerial.h
  149. +3 −3 Demos/Device/LowLevel/GenericHID/Descriptors.c
  150. +2 −2 Demos/Device/LowLevel/GenericHID/Descriptors.h
  151. +2 −2 Demos/Device/LowLevel/GenericHID/GenericHID.c
  152. +2 −2 Demos/Device/LowLevel/GenericHID/GenericHID.h
  153. +3 −3 Demos/Device/LowLevel/Joystick/Descriptors.c
  154. +2 −2 Demos/Device/LowLevel/Joystick/Descriptors.h
  155. +2 −2 Demos/Device/LowLevel/Joystick/Joystick.c
  156. +2 −2 Demos/Device/LowLevel/Joystick/Joystick.h
  157. +3 −3 Demos/Device/LowLevel/Keyboard/Descriptors.c
  158. +2 −2 Demos/Device/LowLevel/Keyboard/Descriptors.h
  159. +2 −2 Demos/Device/LowLevel/Keyboard/Keyboard.c
  160. +2 −2 Demos/Device/LowLevel/Keyboard/Keyboard.h
  161. +3 −3 Demos/Device/LowLevel/KeyboardMouse/Descriptors.c
  162. +2 −2 Demos/Device/LowLevel/KeyboardMouse/Descriptors.h
  163. +2 −2 Demos/Device/LowLevel/KeyboardMouse/KeyboardMouse.c
  164. +2 −2 Demos/Device/LowLevel/KeyboardMouse/KeyboardMouse.h
  165. +3 −3 Demos/Device/LowLevel/MIDI/Descriptors.c
  166. +2 −2 Demos/Device/LowLevel/MIDI/Descriptors.h
  167. +2 −2 Demos/Device/LowLevel/MIDI/MIDI.c
  168. +2 −2 Demos/Device/LowLevel/MIDI/MIDI.h
  169. +3 −3 Demos/Device/LowLevel/MassStorage/Descriptors.c
  170. +2 −2 Demos/Device/LowLevel/MassStorage/Descriptors.h
  171. +2 −2 Demos/Device/LowLevel/MassStorage/Lib/DataflashManager.c
  172. +2 −2 Demos/Device/LowLevel/MassStorage/Lib/DataflashManager.h
  173. +2 −2 Demos/Device/LowLevel/MassStorage/Lib/SCSI.c
  174. +2 −2 Demos/Device/LowLevel/MassStorage/Lib/SCSI.h
  175. +2 −2 Demos/Device/LowLevel/MassStorage/MassStorage.c
  176. +2 −2 Demos/Device/LowLevel/MassStorage/MassStorage.h
  177. +3 −3 Demos/Device/LowLevel/Mouse/Descriptors.c
  178. +2 −2 Demos/Device/LowLevel/Mouse/Descriptors.h
  179. +2 −2 Demos/Device/LowLevel/Mouse/Mouse.c
  180. +2 −2 Demos/Device/LowLevel/Mouse/Mouse.h
  181. +3 −3 Demos/Device/LowLevel/RNDISEthernet/Descriptors.c
  182. +2 −2 Demos/Device/LowLevel/RNDISEthernet/Descriptors.h
  183. +2 −2 Demos/Device/LowLevel/RNDISEthernet/Lib/ARP.c
  184. +2 −2 Demos/Device/LowLevel/RNDISEthernet/Lib/ARP.h
  185. +2 −2 Demos/Device/LowLevel/RNDISEthernet/Lib/DHCP.c
  186. +2 −2 Demos/Device/LowLevel/RNDISEthernet/Lib/DHCP.h
  187. +2 −2 Demos/Device/LowLevel/RNDISEthernet/Lib/Ethernet.c
  188. +2 −2 Demos/Device/LowLevel/RNDISEthernet/Lib/Ethernet.h
  189. +2 −2 Demos/Device/LowLevel/RNDISEthernet/Lib/EthernetProtocols.h
  190. +2 −2 Demos/Device/LowLevel/RNDISEthernet/Lib/ICMP.c
  191. +3 −3 Demos/Device/LowLevel/RNDISEthernet/Lib/ICMP.h
  192. +2 −2 Demos/Device/LowLevel/RNDISEthernet/Lib/IP.c
  193. +2 −2 Demos/Device/LowLevel/RNDISEthernet/Lib/IP.h
  194. +2 −2 Demos/Device/LowLevel/RNDISEthernet/Lib/ProtocolDecoders.c
  195. +2 −2 Demos/Device/LowLevel/RNDISEthernet/Lib/ProtocolDecoders.h
  196. +2 −2 Demos/Device/LowLevel/RNDISEthernet/Lib/RNDIS.c
  197. +2 −2 Demos/Device/LowLevel/RNDISEthernet/Lib/RNDIS.h
  198. +2 −2 Demos/Device/LowLevel/RNDISEthernet/Lib/TCP.c
  199. +2 −2 Demos/Device/LowLevel/RNDISEthernet/Lib/TCP.h
  200. +2 −2 Demos/Device/LowLevel/RNDISEthernet/Lib/UDP.c
  201. +2 −2 Demos/Device/LowLevel/RNDISEthernet/Lib/UDP.h
  202. +2 −2 Demos/Device/LowLevel/RNDISEthernet/Lib/Webserver.c
  203. +2 −2 Demos/Device/LowLevel/RNDISEthernet/Lib/Webserver.h
  204. +2 −2 Demos/Device/LowLevel/RNDISEthernet/RNDISEthernet.c
  205. +2 −2 Demos/Device/LowLevel/RNDISEthernet/RNDISEthernet.h
  206. +3 −3 Demos/Device/LowLevel/VirtualSerial/Descriptors.c
  207. +2 −2 Demos/Device/LowLevel/VirtualSerial/Descriptors.h
  208. +2 −2 Demos/Device/LowLevel/VirtualSerial/VirtualSerial.c
  209. +2 −2 Demos/Device/LowLevel/VirtualSerial/VirtualSerial.h
  210. +3 −3 Demos/DualRole/ClassDriver/MouseHostDevice/Descriptors.c
  211. +2 −2 Demos/DualRole/ClassDriver/MouseHostDevice/Descriptors.h
  212. +7 −7 Demos/DualRole/ClassDriver/MouseHostDevice/DeviceFunctions.c
  213. +2 −2 Demos/DualRole/ClassDriver/MouseHostDevice/DeviceFunctions.h
  214. +2 −2 Demos/DualRole/ClassDriver/MouseHostDevice/HostFunctions.c
  215. +2 −2 Demos/DualRole/ClassDriver/MouseHostDevice/HostFunctions.h
  216. +2 −2 Demos/DualRole/ClassDriver/MouseHostDevice/MouseHostDevice.c
  217. +2 −2 Demos/DualRole/ClassDriver/MouseHostDevice/MouseHostDevice.h
  218. +2 −2 Demos/Host/ClassDriver/AndroidAccessoryHost/AndroidAccessoryHost.c
  219. +2 −2 Demos/Host/ClassDriver/AndroidAccessoryHost/AndroidAccessoryHost.h
  220. +62 −62 Demos/Host/ClassDriver/AndroidAccessoryHost/AndroidAccessoryHost.txt
  221. +1,565 −1,565 Demos/Host/ClassDriver/AndroidAccessoryHost/Doxygen.conf
  222. +723 −723 Demos/Host/ClassDriver/AndroidAccessoryHost/makefile
  223. +2 −2 Demos/Host/ClassDriver/AudioInputHost/AudioInputHost.c
  224. +2 −2 Demos/Host/ClassDriver/AudioInputHost/AudioInputHost.h
  225. +2 −2 Demos/Host/ClassDriver/AudioOutputHost/AudioOutputHost.c
  226. +2 −2 Demos/Host/ClassDriver/AudioOutputHost/AudioOutputHost.h
  227. +2 −2 Demos/Host/ClassDriver/JoystickHostWithParser/JoystickHostWithParser.c
  228. +2 −2 Demos/Host/ClassDriver/JoystickHostWithParser/JoystickHostWithParser.h
  229. +2 −2 Demos/Host/ClassDriver/KeyboardHost/KeyboardHost.c
  230. +2 −2 Demos/Host/ClassDriver/KeyboardHost/KeyboardHost.h
  231. +2 −2 Demos/Host/ClassDriver/KeyboardHostWithParser/KeyboardHostWithParser.c
  232. +2 −2 Demos/Host/ClassDriver/KeyboardHostWithParser/KeyboardHostWithParser.h
  233. +2 −2 Demos/Host/ClassDriver/MIDIHost/MIDIHost.c
  234. +2 −2 Demos/Host/ClassDriver/MIDIHost/MIDIHost.h
  235. +2 −2 Demos/Host/ClassDriver/MassStorageHost/MassStorageHost.c
  236. +2 −2 Demos/Host/ClassDriver/MassStorageHost/MassStorageHost.h
  237. +2 −2 Demos/Host/ClassDriver/MouseHost/MouseHost.c
  238. +2 −2 Demos/Host/ClassDriver/MouseHost/MouseHost.h
  239. +2 −2 Demos/Host/ClassDriver/MouseHostWithParser/MouseHostWithParser.c
  240. +2 −2 Demos/Host/ClassDriver/MouseHostWithParser/MouseHostWithParser.h
  241. +2 −2 Demos/Host/ClassDriver/PrinterHost/PrinterHost.c
  242. +2 −2 Demos/Host/ClassDriver/PrinterHost/PrinterHost.h
  243. +2 −2 Demos/Host/ClassDriver/RNDISEthernetHost/RNDISEthernetHost.c
  244. +2 −2 Demos/Host/ClassDriver/RNDISEthernetHost/RNDISEthernetHost.h
  245. +2 −2 Demos/Host/ClassDriver/StillImageHost/StillImageHost.c
  246. +2 −2 Demos/Host/ClassDriver/StillImageHost/StillImageHost.h
  247. +2 −2 Demos/Host/ClassDriver/VirtualSerialHost/VirtualSerialHost.c
  248. +2 −2 Demos/Host/ClassDriver/VirtualSerialHost/VirtualSerialHost.h
  249. +2 −2 Demos/Host/Incomplete/BluetoothHost/BluetoothEvents.c
  250. +2 −2 Demos/Host/Incomplete/BluetoothHost/BluetoothEvents.h
  251. +2 −2 Demos/Host/Incomplete/BluetoothHost/BluetoothHost.c
  252. +2 −2 Demos/Host/Incomplete/BluetoothHost/BluetoothHost.h
  253. +2 −2 Demos/Host/Incomplete/BluetoothHost/ConfigDescriptor.c
  254. +2 −2 Demos/Host/Incomplete/BluetoothHost/ConfigDescriptor.h
  255. +2 −2 Demos/Host/Incomplete/BluetoothHost/DeviceDescriptor.c
  256. +2 −2 Demos/Host/Incomplete/BluetoothHost/DeviceDescriptor.h
  257. +3 −3 Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothACLPackets.c
  258. +10 −10 Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothACLPackets.h
  259. +2 −2 Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothClassCodes.h
  260. +2 −2 Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothHCICommands.c
  261. +2 −2 Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothHCICommands.h
  262. +2 −2 Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothStack.c
  263. +3 −3 Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothStack.h
  264. +2 −2 Demos/Host/Incomplete/BluetoothHost/Lib/RFCOMM.c
  265. +2 −2 Demos/Host/Incomplete/BluetoothHost/Lib/RFCOMM.h
  266. +2 −2 Demos/Host/Incomplete/BluetoothHost/Lib/RFCOMMControl.c
  267. +2 −2 Demos/Host/Incomplete/BluetoothHost/Lib/RFCOMMControl.h
  268. +2 −2 Demos/Host/Incomplete/BluetoothHost/Lib/SDP.c
  269. +3 −3 Demos/Host/Incomplete/BluetoothHost/Lib/SDP.h
  270. +2 −2 Demos/Host/Incomplete/BluetoothHost/Lib/SDPServices.c
  271. +2 −2 Demos/Host/Incomplete/BluetoothHost/Lib/SDPServices.h
  272. +2 −2 Demos/Host/LowLevel/AndroidAccessoryHost/AndroidAccessoryHost.c
  273. +2 −2 Demos/Host/LowLevel/AndroidAccessoryHost/AndroidAccessoryHost.h
  274. +62 −62 Demos/Host/LowLevel/AndroidAccessoryHost/AndroidAccessoryHost.txt
  275. +2 −2 Demos/Host/LowLevel/AndroidAccessoryHost/ConfigDescriptor.c
  276. +2 −2 Demos/Host/LowLevel/AndroidAccessoryHost/ConfigDescriptor.h
  277. +2 −2 Demos/Host/LowLevel/AndroidAccessoryHost/DeviceDescriptor.c
  278. +2 −2 Demos/Host/LowLevel/AndroidAccessoryHost/DeviceDescriptor.h
  279. +2 −2 Demos/Host/LowLevel/AndroidAccessoryHost/Lib/AndroidAccessoryCommands.c
  280. +2 −2 Demos/Host/LowLevel/AndroidAccessoryHost/Lib/AndroidAccessoryCommands.h
  281. +2 −2 Demos/Host/LowLevel/AudioInputHost/AudioInputHost.c
  282. +2 −2 Demos/Host/LowLevel/AudioInputHost/AudioInputHost.h
  283. +2 −2 Demos/Host/LowLevel/AudioInputHost/ConfigDescriptor.c
  284. +2 −2 Demos/Host/LowLevel/AudioInputHost/ConfigDescriptor.h
  285. +2 −2 Demos/Host/LowLevel/AudioOutputHost/AudioOutputHost.c
  286. +2 −2 Demos/Host/LowLevel/AudioOutputHost/AudioOutputHost.h
  287. +2 −2 Demos/Host/LowLevel/AudioOutputHost/ConfigDescriptor.c
  288. +2 −2 Demos/Host/LowLevel/AudioOutputHost/ConfigDescriptor.h
  289. +2 −2 Demos/Host/LowLevel/GenericHIDHost/ConfigDescriptor.c
  290. +2 −2 Demos/Host/LowLevel/GenericHIDHost/ConfigDescriptor.h
  291. +2 −2 Demos/Host/LowLevel/GenericHIDHost/GenericHIDHost.c
  292. +2 −2 Demos/Host/LowLevel/GenericHIDHost/GenericHIDHost.h
  293. +2 −2 Demos/Host/LowLevel/JoystickHostWithParser/ConfigDescriptor.c
  294. +2 −2 Demos/Host/LowLevel/JoystickHostWithParser/ConfigDescriptor.h
  295. +2 −2 Demos/Host/LowLevel/JoystickHostWithParser/HIDReport.c
  296. +2 −2 Demos/Host/LowLevel/JoystickHostWithParser/HIDReport.h
  297. +2 −2 Demos/Host/LowLevel/JoystickHostWithParser/JoystickHostWithParser.c
  298. +2 −2 Demos/Host/LowLevel/JoystickHostWithParser/JoystickHostWithParser.h
  299. +2 −2 Demos/Host/LowLevel/KeyboardHost/ConfigDescriptor.c
  300. +2 −2 Demos/Host/LowLevel/KeyboardHost/ConfigDescriptor.h
Sorry, we could not display the entire diff because too many files (710) changed.
View
5 Bootloaders/CDC/BootloaderAPI.c
@@ -1,13 +1,13 @@
/*
LUFA Library
- Copyright (C) Dean Camera, 2011.
+ Copyright (C) Dean Camera, 2012.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
- Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com)
+ Copyright 2012 Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
@@ -71,4 +71,3 @@ void BootloaderAPI_WriteLock(const uint8_t LockBits)
{
boot_lock_bits_set_safe(LockBits);
}
-
View
4 Bootloaders/CDC/BootloaderAPI.h
@@ -1,13 +1,13 @@
/*
LUFA Library
- Copyright (C) Dean Camera, 2011.
+ Copyright (C) Dean Camera, 2012.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
- Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com)
+ Copyright 2012 Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
View
19 Bootloaders/CDC/BootloaderAPITable.S
@@ -32,12 +32,17 @@
.section .apitable, "ax"
.org 0
+; API function jump table
.global BootloaderAPI_JumpTable
BootloaderAPI_JumpTable:
- jmp BootloaderAPI_ErasePage
- jmp BootloaderAPI_WritePage
- jmp BootloaderAPI_FillWord
- jmp BootloaderAPI_ReadSignature
- jmp BootloaderAPI_ReadFuse
- jmp BootloaderAPI_ReadLock
- jmp BootloaderAPI_WriteLock
+ rjmp BootloaderAPI_ErasePage
+ rjmp BootloaderAPI_WritePage
+ rjmp BootloaderAPI_FillWord
+ rjmp BootloaderAPI_ReadSignature
+ rjmp BootloaderAPI_ReadFuse
+ rjmp BootloaderAPI_ReadLock
+ rjmp BootloaderAPI_WriteLock
+
+; Bootloader table signature
+.org 30
+ .word 0xDCFB
View
2  Bootloaders/CDC/BootloaderCDC.aps
@@ -1 +1 @@
-<AVRStudio><MANAGEMENT><ProjectName>BootloaderCDC</ProjectName><Created>13-Jul-2010 14:41:25</Created><LastEdit>13-Jul-2010 14:42:12</LastEdit><ICON>241</ICON><ProjectType>0</ProjectType><Created>13-Jul-2010 14:41:25</Created><Version>4</Version><Build>4, 18, 0, 685</Build><ProjectTypeName>AVR GCC</ProjectTypeName></MANAGEMENT><CODE_CREATION><ObjectFile>BootloaderCDC.elf</ObjectFile><EntryFile></EntryFile><SaveFolder>C:\Users\Dean\Documents\Electronics\Projects\WORK\LUFAWORK\Bootloaders\CDC\</SaveFolder></CODE_CREATION><DEBUG_TARGET><CURRENT_TARGET></CURRENT_TARGET><CURRENT_PART></CURRENT_PART><BREAKPOINTS></BREAKPOINTS><IO_EXPAND><HIDE>false</HIDE></IO_EXPAND><REGISTERNAMES><Register>R00</Register><Register>R01</Register><Register>R02</Register><Register>R03</Register><Register>R04</Register><Register>R05</Register><Register>R06</Register><Register>R07</Register><Register>R08</Register><Register>R09</Register><Register>R10</Register><Register>R11</Register><Register>R12</Register><Register>R13</Register><Register>R14</Register><Register>R15</Register><Register>R16</Register><Register>R17</Register><Register>R18</Register><Register>R19</Register><Register>R20</Register><Register>R21</Register><Register>R22</Register><Register>R23</Register><Register>R24</Register><Register>R25</Register><Register>R26</Register><Register>R27</Register><Register>R28</Register><Register>R29</Register><Register>R30</Register><Register>R31</Register></REGISTERNAMES><COM></COM><COMType>0</COMType><WATCHNUM>0</WATCHNUM><WATCHNAMES><Pane0></Pane0><Pane1></Pane1><Pane2></Pane2><Pane3></Pane3></WATCHNAMES><BreakOnTrcaeFull>0</BreakOnTrcaeFull></DEBUG_TARGET><Debugger><Triggers></Triggers></Debugger><AVRGCCPLUGIN><FILES><SOURCEFILE>BootloaderCDC.c</SOURCEFILE><SOURCEFILE>Descriptors.c</SOURCEFILE><HEADERFILE>BootloaderCDC.h</HEADERFILE><HEADERFILE>Descriptors.h</HEADERFILE><OTHERFILE>makefile</OTHERFILE></FILES><CONFIGS><CONFIG><NAME>default</NAME><USESEXTERNALMAKEFILE>YES</USESEXTERNALMAKEFILE><EXTERNALMAKEFILE>makefile</EXTERNALMAKEFILE><PART>atmega128</PART><HEX>1</HEX><LIST>1</LIST><MAP>1</MAP><OUTPUTFILENAME>BootloaderCDC.elf</OUTPUTFILENAME><OUTPUTDIR>default\</OUTPUTDIR><ISDIRTY>1</ISDIRTY><OPTIONS/><INCDIRS/><LIBDIRS/><LIBS/><LINKOBJECTS/><OPTIONSFORALL>-Wall -gdwarf-2 -std=gnu99 -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums</OPTIONSFORALL><LINKEROPTIONS></LINKEROPTIONS><SEGMENTS/></CONFIG></CONFIGS><LASTCONFIG>default</LASTCONFIG><USES_WINAVR>1</USES_WINAVR><GCC_LOC>C:\WinAVR-20100110\bin\avr-gcc.exe</GCC_LOC><MAKE_LOC>C:\WinAVR-20100110\utils\bin\make.exe</MAKE_LOC></AVRGCCPLUGIN><ProjectFiles><Files><Name>C:\Users\Dean\Documents\Electronics\Projects\WORK\LUFAWORK\Bootloaders\CDC\BootloaderCDC.h</Name><Name>C:\Users\Dean\Documents\Electronics\Projects\WORK\LUFAWORK\Bootloaders\CDC\Descriptors.h</Name><Name>C:\Users\Dean\Documents\Electronics\Projects\WORK\LUFAWORK\Bootloaders\CDC\BootloaderCDC.c</Name><Name>C:\Users\Dean\Documents\Electronics\Projects\WORK\LUFAWORK\Bootloaders\CDC\Descriptors.c</Name></Files></ProjectFiles><IOView><usergroups/><sort sorted="0" column="0" ordername="0" orderaddress="0" ordergroup="0"/></IOView><Files></Files><Events><Bookmarks></Bookmarks></Events><Trace><Filters></Filters></Trace></AVRStudio>
+<AVRStudio><MANAGEMENT><ProjectName>BootloaderCDC</ProjectName><Created>13-Jul-2010 14:41:25</Created><LastEdit>13-Jul-2010 14:42:12</LastEdit><ICON>241</ICON><ProjectType>0</ProjectType><Created>13-Jul-2010 14:41:25</Created><Version>4</Version><Build>4, 18, 0, 685</Build><ProjectTypeName>AVR GCC</ProjectTypeName></MANAGEMENT><CODE_CREATION><ObjectFile>BootloaderCDC.elf</ObjectFile><EntryFile></EntryFile><SaveFolder>C:\Users\Dean\Documents\Electronics\Projects\WORK\LUFAWORK\Bootloaders\CDC\</SaveFolder></CODE_CREATION><DEBUG_TARGET><CURRENT_TARGET></CURRENT_TARGET><CURRENT_PART></CURRENT_PART><BREAKPOINTS></BREAKPOINTS><IO_EXPAND><HIDE>false</HIDE></IO_EXPAND><REGISTERNAMES><Register>R00</Register><Register>R01</Register><Register>R02</Register><Register>R03</Register><Register>R04</Register><Register>R05</Register><Register>R06</Register><Register>R07</Register><Register>R08</Register><Register>R09</Register><Register>R10</Register><Register>R11</Register><Register>R12</Register><Register>R13</Register><Register>R14</Register><Register>R15</Register><Register>R16</Register><Register>R17</Register><Register>R18</Register><Register>R19</Register><Register>R20</Register><Register>R21</Register><Register>R22</Register><Register>R23</Register><Register>R24</Register><Register>R25</Register><Register>R26</Register><Register>R27</Register><Register>R28</Register><Register>R29</Register><Register>R30</Register><Register>R31</Register></REGISTERNAMES><COM></COM><COMType>0</COMType><WATCHNUM>0</WATCHNUM><WATCHNAMES><Pane0></Pane0><Pane1></Pane1><Pane2></Pane2><Pane3></Pane3></WATCHNAMES><BreakOnTrcaeFull>0</BreakOnTrcaeFull></DEBUG_TARGET><Debugger><Triggers></Triggers></Debugger><AVRGCCPLUGIN><FILES><SOURCEFILE>BootloaderAPITable.S</SOURCEFILE><SOURCEFILE>BootloaderCDC.c</SOURCEFILE><SOURCEFILE>Descriptors.c</SOURCEFILE><HEADERFILE>BootloaderCDC.h</HEADERFILE><HEADERFILE>Descriptors.h</HEADERFILE><OTHERFILE>makefile</OTHERFILE></FILES><CONFIGS><CONFIG><NAME>default</NAME><USESEXTERNALMAKEFILE>YES</USESEXTERNALMAKEFILE><EXTERNALMAKEFILE>makefile</EXTERNALMAKEFILE><PART>atmega128</PART><HEX>1</HEX><LIST>1</LIST><MAP>1</MAP><OUTPUTFILENAME>BootloaderCDC.elf</OUTPUTFILENAME><OUTPUTDIR>default\</OUTPUTDIR><ISDIRTY>1</ISDIRTY><OPTIONS/><INCDIRS/><LIBDIRS/><LIBS/><LINKOBJECTS/><OPTIONSFORALL>-Wall -gdwarf-2 -std=gnu99 -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums</OPTIONSFORALL><LINKEROPTIONS></LINKEROPTIONS><SEGMENTS/></CONFIG></CONFIGS><LASTCONFIG>default</LASTCONFIG><USES_WINAVR>1</USES_WINAVR><GCC_LOC>C:\WinAVR-20100110\bin\avr-gcc.exe</GCC_LOC><MAKE_LOC>C:\WinAVR-20100110\utils\bin\make.exe</MAKE_LOC></AVRGCCPLUGIN><ProjectFiles><Files><Name>C:\Users\Dean\Documents\Electronics\Projects\WORK\LUFAWORK\Bootloaders\CDC\BootloaderCDC.h</Name><Name>C:\Users\Dean\Documents\Electronics\Projects\WORK\LUFAWORK\Bootloaders\CDC\Descriptors.h</Name><Name>C:\Users\Dean\Documents\Electronics\Projects\WORK\LUFAWORK\Bootloaders\CDC\BootloaderCDC.c</Name><Name>C:\Users\Dean\Documents\Electronics\Projects\WORK\LUFAWORK\Bootloaders\CDC\Descriptors.c</Name></Files></ProjectFiles><IOView><usergroups/><sort sorted="0" column="0" ordername="0" orderaddress="0" ordergroup="0"/></IOView><Files></Files><Events><Bookmarks></Bookmarks></Events><Trace><Filters></Filters></Trace></AVRStudio>
View
10 Bootloaders/CDC/BootloaderCDC.c
@@ -1,13 +1,13 @@
/*
LUFA Library
- Copyright (C) Dean Camera, 2011.
+ Copyright (C) Dean Camera, 2012.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
- Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com)
+ Copyright 2012 Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
@@ -88,7 +88,7 @@ int main(void)
}
/** Configures all hardware required for the bootloader. */
-void SetupHardware(void)
+static void SetupHardware(void)
{
/* Disable watchdog if enabled by bootloader/fuses */
MCUSR &= ~(1 << WDRF);
@@ -101,7 +101,7 @@ void SetupHardware(void)
MCUCR = (1 << IVCE);
MCUCR = (1 << IVSEL);
- /* Initialize USB Subsystem */
+ /* Initialize the USB and other board hardware drivers */
USB_Init();
LEDs_Init();
@@ -350,7 +350,7 @@ static void WriteNextResponseByte(const uint8_t Response)
/** Task to read in AVR910 commands from the CDC data OUT endpoint, process them, perform the required actions
* and send the appropriate response back to the host.
*/
-void CDC_Task(void)
+static void CDC_Task(void)
{
/* Select the OUT endpoint */
Endpoint_SelectEndpoint(CDC_RX_EPNUM);
View
8 Bootloaders/CDC/BootloaderCDC.h
@@ -1,13 +1,13 @@
/*
LUFA Library
- Copyright (C) Dean Camera, 2011.
+ Copyright (C) Dean Camera, 2012.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
- Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com)
+ Copyright 2012 Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
@@ -72,8 +72,8 @@
typedef void (*AppPtr_t)(void) ATTR_NO_RETURN;
/* Function Prototypes: */
- void CDC_Task(void);
- void SetupHardware(void);
+ static void CDC_Task(void);
+ static void SetupHardware(void);
void EVENT_USB_Device_ConfigurationChanged(void);
View
12 Bootloaders/CDC/BootloaderCDC.txt
@@ -103,14 +103,26 @@
* uint8_t (*BootloaderAPI_ReadFuse)(uint16_t Address) = BOOTLOADER_API_START(4);
* uint8_t (*BootloaderAPI_ReadLock)(void) = BOOTLOADER_API_START(5);
* void (*BootloaderAPI_WriteLock)(uint8_t LockBits) = BOOTLOADER_API_START(6);
+ *
+ * #define BOOTLOADER_SIG_START (FLASHEND - 32)
+ * #define BOOTLOADER_SIGNATURE 0xDCFB
* \endcode
*
+ * Bootloaders reporting a device release revision number of 1.00 or greater are bootloader API enabled. From the application
+ * the API support of the bootloader can be detected by reading the FLASH memory bytes located at address \c BOOTLOADER_SIG_START
+ * and comparing them to the value \c BOOTLOADER_SIGNATURE.
+ *
* \section Sec_Options Project Options
*
* The following defines can be found in this demo, which can control the demo behaviour when defined, or changed in value.
*
* <table>
* <tr>
+ * <td><b>Define Name:</b></td>
+ * <td><b>Location:</b></td>
+ * <td><b>Description:</b></td>
+ * </tr>
+ * <tr>
* <td>NO_BLOCK_SUPPORT</td>
* <td>Makefile LUFA_OPTS</td>
* <td>Define to disable memory block read/write support in the bootloader, requiring all reads and writes to be made
View
8 Bootloaders/CDC/Descriptors.c
@@ -1,13 +1,13 @@
/*
LUFA Library
- Copyright (C) Dean Camera, 2011.
+ Copyright (C) Dean Camera, 2012.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
- Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com)
+ Copyright 2012 Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
@@ -55,7 +55,7 @@ const USB_Descriptor_Device_t DeviceDescriptor =
.VendorID = 0x03EB,
.ProductID = 0x204A,
- .ReleaseNumber = VERSION_BCD(00.01),
+ .ReleaseNumber = VERSION_BCD(01.00),
.ManufacturerStrIndex = NO_DESCRIPTOR,
.ProductStrIndex = 0x01,
@@ -81,7 +81,7 @@ const USB_Descriptor_Configuration_t ConfigurationDescriptor =
.ConfigurationNumber = 1,
.ConfigurationStrIndex = NO_DESCRIPTOR,
- .ConfigAttributes = USB_CONFIG_ATTR_BUSPOWERED,
+ .ConfigAttributes = USB_CONFIG_ATTR_RESERVED,
.MaxPowerConsumption = USB_CONFIG_POWER_MA(100)
},
View
4 Bootloaders/CDC/Descriptors.h
@@ -1,13 +1,13 @@
/*
LUFA Library
- Copyright (C) Dean Camera, 2011.
+ Copyright (C) Dean Camera, 2012.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
- Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com)
+ Copyright 2012 Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
View
5 Bootloaders/CDC/makefile
@@ -96,6 +96,11 @@ F_USB = $(F_CPU)
# bytes, and so will need to be doubled to obtain the byte address needed by AVR-GCC.
FLASH_SIZE_KB = 128
BOOT_SECTION_SIZE_KB = 4
+
+
+# Formulas used to calculate the starting address of the Bootloader section, and the User Application
+# API jump table (for more information on the latter, see the bootloader documentation). These formulas
+# should not need to be altered - modify the FLASH_SIZE_KB and BOOT_SECTION_KB values above instead.
BOOT_START = 0x$(shell echo "obase=16; ($(FLASH_SIZE_KB) - $(BOOT_SECTION_SIZE_KB)) * 1024" | bc)
BOOT_API_TABLESTART = 0x$(shell echo "obase=16; (($(FLASH_SIZE_KB) * 1024) - 32)" | bc)
View
4 Bootloaders/DFU/BootloaderAPI.c
@@ -1,13 +1,13 @@
/*
LUFA Library
- Copyright (C) Dean Camera, 2011.
+ Copyright (C) Dean Camera, 2012.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
- Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com)
+ Copyright 2012 Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
View
4 Bootloaders/DFU/BootloaderAPI.h
@@ -1,13 +1,13 @@
/*
LUFA Library
- Copyright (C) Dean Camera, 2011.
+ Copyright (C) Dean Camera, 2012.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
- Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com)
+ Copyright 2012 Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
View
19 Bootloaders/DFU/BootloaderAPITable.S
@@ -32,12 +32,17 @@
.section .apitable, "ax"
.org 0
+; API function jump table
.global BootloaderAPI_JumpTable
BootloaderAPI_JumpTable:
- jmp BootloaderAPI_ErasePage
- jmp BootloaderAPI_WritePage
- jmp BootloaderAPI_FillWord
- jmp BootloaderAPI_ReadSignature
- jmp BootloaderAPI_ReadFuse
- jmp BootloaderAPI_ReadLock
- jmp BootloaderAPI_WriteLock
+ rjmp BootloaderAPI_ErasePage
+ rjmp BootloaderAPI_WritePage
+ rjmp BootloaderAPI_FillWord
+ rjmp BootloaderAPI_ReadSignature
+ rjmp BootloaderAPI_ReadFuse
+ rjmp BootloaderAPI_ReadLock
+ rjmp BootloaderAPI_WriteLock
+
+; Bootloader table signature
+.org 30
+ .word 0xDCFB
View
2  Bootloaders/DFU/BootloaderDFU.aps
@@ -1 +1 @@
-<AVRStudio><MANAGEMENT><ProjectName>BootloaderDFU</ProjectName><Created>13-Jul-2010 14:42:28</Created><LastEdit>13-Jul-2010 14:46:54</LastEdit><ICON>241</ICON><ProjectType>0</ProjectType><Created>13-Jul-2010 14:42:28</Created><Version>4</Version><Build>4, 18, 0, 685</Build><ProjectTypeName>AVR GCC</ProjectTypeName></MANAGEMENT><CODE_CREATION><ObjectFile>BootloaderDFU.elf</ObjectFile><EntryFile></EntryFile><SaveFolder>C:\Users\Dean\Documents\Electronics\Projects\WORK\LUFAWORK\Bootloaders\DFU\</SaveFolder></CODE_CREATION><DEBUG_TARGET><CURRENT_TARGET></CURRENT_TARGET><CURRENT_PART></CURRENT_PART><BREAKPOINTS></BREAKPOINTS><IO_EXPAND><HIDE>false</HIDE></IO_EXPAND><REGISTERNAMES><Register>R00</Register><Register>R01</Register><Register>R02</Register><Register>R03</Register><Register>R04</Register><Register>R05</Register><Register>R06</Register><Register>R07</Register><Register>R08</Register><Register>R09</Register><Register>R10</Register><Register>R11</Register><Register>R12</Register><Register>R13</Register><Register>R14</Register><Register>R15</Register><Register>R16</Register><Register>R17</Register><Register>R18</Register><Register>R19</Register><Register>R20</Register><Register>R21</Register><Register>R22</Register><Register>R23</Register><Register>R24</Register><Register>R25</Register><Register>R26</Register><Register>R27</Register><Register>R28</Register><Register>R29</Register><Register>R30</Register><Register>R31</Register></REGISTERNAMES><COM></COM><COMType>0</COMType><WATCHNUM>0</WATCHNUM><WATCHNAMES><Pane0></Pane0><Pane1></Pane1><Pane2></Pane2><Pane3></Pane3></WATCHNAMES><BreakOnTrcaeFull>0</BreakOnTrcaeFull></DEBUG_TARGET><Debugger><Triggers></Triggers></Debugger><AVRGCCPLUGIN><FILES><SOURCEFILE>BootloaderDFU.c</SOURCEFILE><SOURCEFILE>Descriptors.c</SOURCEFILE><HEADERFILE>BootloaderDFU.h</HEADERFILE><HEADERFILE>Descriptors.h</HEADERFILE><OTHERFILE>makefile</OTHERFILE></FILES><CONFIGS><CONFIG><NAME>default</NAME><USESEXTERNALMAKEFILE>YES</USESEXTERNALMAKEFILE><EXTERNALMAKEFILE>makefile</EXTERNALMAKEFILE><PART>atmega128</PART><HEX>1</HEX><LIST>1</LIST><MAP>1</MAP><OUTPUTFILENAME>BootloaderDFU.elf</OUTPUTFILENAME><OUTPUTDIR>default\</OUTPUTDIR><ISDIRTY>1</ISDIRTY><OPTIONS/><INCDIRS/><LIBDIRS/><LIBS/><LINKOBJECTS/><OPTIONSFORALL>-Wall -gdwarf-2 -std=gnu99 -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums</OPTIONSFORALL><LINKEROPTIONS></LINKEROPTIONS><SEGMENTS/></CONFIG></CONFIGS><LASTCONFIG>default</LASTCONFIG><USES_WINAVR>1</USES_WINAVR><GCC_LOC>C:\WinAVR-20100110\bin\avr-gcc.exe</GCC_LOC><MAKE_LOC>C:\WinAVR-20100110\utils\bin\make.exe</MAKE_LOC></AVRGCCPLUGIN><IOView><usergroups/><sort sorted="0" column="0" ordername="0" orderaddress="0" ordergroup="0"/></IOView><Files></Files><Events><Bookmarks></Bookmarks></Events><Trace><Filters></Filters></Trace></AVRStudio>
+<AVRStudio><MANAGEMENT><ProjectName>BootloaderDFU</ProjectName><Created>13-Jul-2010 14:42:28</Created><LastEdit>13-Jul-2010 14:46:54</LastEdit><ICON>241</ICON><ProjectType>0</ProjectType><Created>13-Jul-2010 14:42:28</Created><Version>4</Version><Build>4, 18, 0, 685</Build><ProjectTypeName>AVR GCC</ProjectTypeName></MANAGEMENT><CODE_CREATION><ObjectFile>BootloaderDFU.elf</ObjectFile><EntryFile></EntryFile><SaveFolder>C:\Users\Dean\Documents\Electronics\Projects\WORK\LUFAWORK\Bootloaders\DFU\</SaveFolder></CODE_CREATION><DEBUG_TARGET><CURRENT_TARGET></CURRENT_TARGET><CURRENT_PART></CURRENT_PART><BREAKPOINTS></BREAKPOINTS><IO_EXPAND><HIDE>false</HIDE></IO_EXPAND><REGISTERNAMES><Register>R00</Register><Register>R01</Register><Register>R02</Register><Register>R03</Register><Register>R04</Register><Register>R05</Register><Register>R06</Register><Register>R07</Register><Register>R08</Register><Register>R09</Register><Register>R10</Register><Register>R11</Register><Register>R12</Register><Register>R13</Register><Register>R14</Register><Register>R15</Register><Register>R16</Register><Register>R17</Register><Register>R18</Register><Register>R19</Register><Register>R20</Register><Register>R21</Register><Register>R22</Register><Register>R23</Register><Register>R24</Register><Register>R25</Register><Register>R26</Register><Register>R27</Register><Register>R28</Register><Register>R29</Register><Register>R30</Register><Register>R31</Register></REGISTERNAMES><COM></COM><COMType>0</COMType><WATCHNUM>0</WATCHNUM><WATCHNAMES><Pane0></Pane0><Pane1></Pane1><Pane2></Pane2><Pane3></Pane3></WATCHNAMES><BreakOnTrcaeFull>0</BreakOnTrcaeFull></DEBUG_TARGET><Debugger><Triggers></Triggers></Debugger><AVRGCCPLUGIN><FILES><SOURCEFILE>BootloaderAPITable.S</SOURCEFILE><SOURCEFILE>BootloaderDFU.c</SOURCEFILE><SOURCEFILE>Descriptors.c</SOURCEFILE><HEADERFILE>BootloaderDFU.h</HEADERFILE><HEADERFILE>Descriptors.h</HEADERFILE><OTHERFILE>makefile</OTHERFILE></FILES><CONFIGS><CONFIG><NAME>default</NAME><USESEXTERNALMAKEFILE>YES</USESEXTERNALMAKEFILE><EXTERNALMAKEFILE>makefile</EXTERNALMAKEFILE><PART>atmega128</PART><HEX>1</HEX><LIST>1</LIST><MAP>1</MAP><OUTPUTFILENAME>BootloaderDFU.elf</OUTPUTFILENAME><OUTPUTDIR>default\</OUTPUTDIR><ISDIRTY>1</ISDIRTY><OPTIONS/><INCDIRS/><LIBDIRS/><LIBS/><LINKOBJECTS/><OPTIONSFORALL>-Wall -gdwarf-2 -std=gnu99 -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums</OPTIONSFORALL><LINKEROPTIONS></LINKEROPTIONS><SEGMENTS/></CONFIG></CONFIGS><LASTCONFIG>default</LASTCONFIG><USES_WINAVR>1</USES_WINAVR><GCC_LOC>C:\WinAVR-20100110\bin\avr-gcc.exe</GCC_LOC><MAKE_LOC>C:\WinAVR-20100110\utils\bin\make.exe</MAKE_LOC></AVRGCCPLUGIN><IOView><usergroups/><sort sorted="0" column="0" ordername="0" orderaddress="0" ordergroup="0"/></IOView><Files></Files><Events><Bookmarks></Bookmarks></Events><Trace><Filters></Filters></Trace></AVRStudio>
View
13 Bootloaders/DFU/BootloaderDFU.c
@@ -1,13 +1,13 @@
/*
LUFA Library
- Copyright (C) Dean Camera, 2011.
+ Copyright (C) Dean Camera, 2012.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
- Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com)
+ Copyright 2012 Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
@@ -137,7 +137,7 @@ int main(void)
}
/** Configures all hardware required for the bootloader. */
-void SetupHardware(void)
+static void SetupHardware(void)
{
/* Disable watchdog if enabled by bootloader/fuses */
MCUSR &= ~(1 << WDRF);
@@ -150,7 +150,7 @@ void SetupHardware(void)
MCUCR = (1 << IVCE);
MCUCR = (1 << IVSEL);
- /* Initialize the USB subsystem */
+ /* Initialize the USB and other board hardware drivers */
USB_Init();
LEDs_Init();
@@ -160,10 +160,11 @@ void SetupHardware(void)
}
/** Resets all configured hardware required for the bootloader back to their original states. */
-void ResetHardware(void)
+static void ResetHardware(void)
{
- /* Shut down the USB subsystem */
+ /* Shut down the USB and other board hardware drivers */
USB_Disable();
+ LEDs_Disable();
/* Relocate the interrupt vector table back to the application section */
MCUCR = (1 << IVCE);
View
10 Bootloaders/DFU/BootloaderDFU.h
@@ -1,13 +1,13 @@
/*
LUFA Library
- Copyright (C) Dean Camera, 2011.
+ Copyright (C) Dean Camera, 2012.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
- Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com)
+ Copyright 2012 Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
@@ -148,7 +148,7 @@
/** Type define for a structure containing a complete DFU command issued by the host. */
typedef struct
{
- uint8_t Command; /**< Single byte command to perform, one of the COMMAND_* macro values */
+ uint8_t Command; /**< Single byte command to perform, one of the \c COMMAND_* macro values */
uint8_t Data[5]; /**< Command parameters */
uint16_t DataSize; /**< Size of the command parameters */
} DFU_Command_t;
@@ -192,8 +192,8 @@
};
/* Function Prototypes: */
- void SetupHardware(void);
- void ResetHardware(void);
+ static void SetupHardware(void);
+ static void ResetHardware(void);
void EVENT_USB_Device_ControlRequest(void);
View
6 Bootloaders/DFU/BootloaderDFU.txt
@@ -108,8 +108,14 @@
* uint8_t (*BootloaderAPI_ReadFuse)(uint16_t Address) = BOOTLOADER_API_START(4);
* uint8_t (*BootloaderAPI_ReadLock)(void) = BOOTLOADER_API_START(5);
* void (*BootloaderAPI_WriteLock)(uint8_t LockBits) = BOOTLOADER_API_START(6);
+ *
+ * #define BOOTLOADER_SIG_START (FLASHEND - 32)
+ * #define BOOTLOADER_SIGNATURE 0xDCFB
* \endcode
*
+ * From the application the API support of the bootloader can be detected by reading the FLASH memory bytes located at address
+ * \c BOOTLOADER_SIG_START and comparing them to the value \c BOOTLOADER_SIGNATURE.
+ *
* \section Sec_Options Project Options
*
* The following defines can be found in this demo, which can control the demo behaviour when defined, or changed in value.
View
6 Bootloaders/DFU/Descriptors.c
@@ -1,13 +1,13 @@
/*
LUFA Library
- Copyright (C) Dean Camera, 2011.
+ Copyright (C) Dean Camera, 2012.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
- Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com)
+ Copyright 2012 Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
@@ -81,7 +81,7 @@ const USB_Descriptor_Configuration_t ConfigurationDescriptor =
.ConfigurationNumber = 1,
.ConfigurationStrIndex = NO_DESCRIPTOR,
- .ConfigAttributes = USB_CONFIG_ATTR_BUSPOWERED,
+ .ConfigAttributes = USB_CONFIG_ATTR_RESERVED,
.MaxPowerConsumption = USB_CONFIG_POWER_MA(100)
},
View
4 Bootloaders/DFU/Descriptors.h
@@ -1,13 +1,13 @@
/*
LUFA Library
- Copyright (C) Dean Camera, 2011.
+ Copyright (C) Dean Camera, 2012.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
- Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com)
+ Copyright 2012 Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
View
5 Bootloaders/DFU/makefile
@@ -96,6 +96,11 @@ F_USB = $(F_CPU)
# bytes, and so will need to be doubled to obtain the byte address needed by AVR-GCC.
FLASH_SIZE_KB = 128
BOOT_SECTION_SIZE_KB = 4
+
+
+# Formulas used to calculate the starting address of the Bootloader section, and the User Application
+# API jump table (for more information on the latter, see the bootloader documentation). These formulas
+# should not need to be altered - modify the FLASH_SIZE_KB and BOOT_SECTION_KB values above instead.
BOOT_START = 0x$(shell echo "obase=16; ($(FLASH_SIZE_KB) - $(BOOT_SECTION_SIZE_KB)) * 1024" | bc)
BOOT_API_TABLESTART = 0x$(shell echo "obase=16; (($(FLASH_SIZE_KB) * 1024) - 32)" | bc)
View
6 Bootloaders/HID/BootloaderHID.c
@@ -1,13 +1,13 @@
/*
LUFA Library
- Copyright (C) Dean Camera, 2011.
+ Copyright (C) Dean Camera, 2012.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
- Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com)
+ Copyright 2012 Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
@@ -65,7 +65,7 @@ int main(void)
}
/** Configures all hardware required for the bootloader. */
-void SetupHardware(void)
+static void SetupHardware(void)
{
/* Disable watchdog if enabled by bootloader/fuses */
MCUSR &= ~(1 << WDRF);
View
6 Bootloaders/HID/BootloaderHID.h
@@ -1,13 +1,13 @@
/*
LUFA Library
- Copyright (C) Dean Camera, 2011.
+ Copyright (C) Dean Camera, 2012.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
- Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com)
+ Copyright 2012 Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
@@ -53,7 +53,7 @@
#define COMMAND_STARTAPPLICATION 0xFFFF
/* Function Prototypes: */
- void SetupHardware(void);
+ static void SetupHardware(void);
void EVENT_USB_Device_ConfigurationChanged(void);
void EVENT_USB_Device_UnhandledControlRequest(void);
View
6 Bootloaders/HID/Descriptors.c
@@ -1,13 +1,13 @@
/*
LUFA Library
- Copyright (C) Dean Camera, 2011.
+ Copyright (C) Dean Camera, 2012.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
- Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com)
+ Copyright 2012 Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
@@ -101,7 +101,7 @@ const USB_Descriptor_Configuration_t ConfigurationDescriptor =
.ConfigurationNumber = 1,
.ConfigurationStrIndex = NO_DESCRIPTOR,
- .ConfigAttributes = USB_CONFIG_ATTR_BUSPOWERED,
+ .ConfigAttributes = USB_CONFIG_ATTR_RESERVED,
.MaxPowerConsumption = USB_CONFIG_POWER_MA(100)
},
View
4 Bootloaders/HID/Descriptors.h
@@ -1,13 +1,13 @@
/*
LUFA Library
- Copyright (C) Dean Camera, 2011.
+ Copyright (C) Dean Camera, 2012.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
- Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com)
+ Copyright 2012 Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
View
4 Bootloaders/HID/makefile
@@ -96,6 +96,10 @@ F_USB = $(F_CPU)
# bytes, and so will need to be doubled to obtain the byte address needed by AVR-GCC.
FLASH_SIZE_KB = 128
BOOT_SECTION_SIZE_KB = 4
+
+
+# Formulas used to calculate the starting address of the Bootloader section. These formulas
+# should not need to be altered - modify the FLASH_SIZE_KB and BOOT_SECTION_KB values above instead.
BOOT_START = 0x$(shell echo "obase=16; ($(FLASH_SIZE_KB) - $(BOOT_SECTION_SIZE_KB)) * 1024" | bc)
View
38 Demos/Device/ClassDriver/AudioInput/AudioInput.c
@@ -1,13 +1,13 @@
/*
LUFA Library
- Copyright (C) Dean Camera, 2011.
+ Copyright (C) Dean Camera, 2012.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
- Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com)
+ Copyright 2012 Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
@@ -186,7 +186,7 @@ void EVENT_USB_Device_ControlRequest(void)
* \param[in,out] Data Pointer to a location where the parameter data is stored for SET operations, or where
* the retrieved data is to be stored for GET operations.
*
- * \return Boolean true if the property get/set was successful, false otherwise
+ * \return Boolean \c true if the property get/set was successful, \c false otherwise
*/
bool CALLBACK_Audio_Device_GetSetEndpointProperty(USB_ClassInfo_Audio_Device_t* const AudioInterfaceInfo,
const uint8_t EndpointProperty,
@@ -234,3 +234,35 @@ bool CALLBACK_Audio_Device_GetSetEndpointProperty(USB_ClassInfo_Audio_Device_t*
return false;
}
+/** Audio class driver callback for the setting and retrieval of streaming interface properties. This callback must be implemented
+ * in the user application to handle property manipulations on streaming audio interfaces.
+ *
+ * When the DataLength parameter is NULL, this callback should only indicate whether the specified operation is valid for
+ * the given entity and should return as fast as possible. When non-NULL, this value may be altered for GET operations
+ * to indicate the size of the retreived data.
+ *
+ * \note The length of the retrieved data stored into the Data buffer on GET operations should not exceed the initial value
+ * of the \c DataLength parameter.
+ *
+ * \param[in,out] AudioInterfaceInfo Pointer to a structure containing an Audio Class configuration and state.
+ * \param[in] Property Property of the interface to get or set, a value from \ref Audio_ClassRequests_t.
+ * \param[in] EntityAddress Address of the audio entity whose property is being referenced.
+ * \param[in] Parameter Parameter of the entity to get or set, specific to each type of entity (see USB Audio specification).
+ * \param[in,out] DataLength For SET operations, the length of the parameter data to set. For GET operations, the maximum
+ * length of the retrieved data. When NULL, the function should return whether the given property
+ * and parameter is valid for the requested endpoint without reading or modifying the Data buffer.
+ * \param[in,out] Data Pointer to a location where the parameter data is stored for SET operations, or where
+ * the retrieved data is to be stored for GET operations.
+ *
+ * \return Boolean \c true if the property GET/SET was successful, \c false otherwise
+ */
+bool CALLBACK_Audio_Device_GetSetInterfaceProperty(USB_ClassInfo_Audio_Device_t* const AudioInterfaceInfo,
+ const uint8_t Property,
+ const uint8_t EntityAddress,
+ const uint16_t Parameter,
+ uint16_t* const DataLength,
+ uint8_t* Data)
+{
+ /* No audio interface entities in the device descriptor, thus no properties to get or set. */
+ return false;
+}
View
4 Demos/Device/ClassDriver/AudioInput/AudioInput.h
@@ -1,13 +1,13 @@
/*
LUFA Library
- Copyright (C) Dean Camera, 2011.
+ Copyright (C) Dean Camera, 2012.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
- Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com)
+ Copyright 2012 Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
View
6 Demos/Device/ClassDriver/AudioInput/Descriptors.c
@@ -1,13 +1,13 @@
/*
LUFA Library
- Copyright (C) Dean Camera, 2011.
+ Copyright (C) Dean Camera, 2012.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
- Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com)
+ Copyright 2012 Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
@@ -81,7 +81,7 @@ const USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.ConfigurationNumber = 1,
.ConfigurationStrIndex = NO_DESCRIPTOR,
- .ConfigAttributes = (USB_CONFIG_ATTR_BUSPOWERED | USB_CONFIG_ATTR_SELFPOWERED),
+ .ConfigAttributes = (USB_CONFIG_ATTR_RESERVED | USB_CONFIG_ATTR_SELFPOWERED),
.MaxPowerConsumption = USB_CONFIG_POWER_MA(100)
},
View
4 Demos/Device/ClassDriver/AudioInput/Descriptors.h
@@ -1,13 +1,13 @@
/*
LUFA Library
- Copyright (C) Dean Camera, 2011.
+ Copyright (C) Dean Camera, 2012.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
- Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com)
+ Copyright 2012 Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
View
36 Demos/Device/ClassDriver/AudioOutput/AudioOutput.c
@@ -1,13 +1,13 @@
/*
LUFA Library
- Copyright (C) Dean Camera, 2011.
+ Copyright (C) Dean Camera, 2012.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
- Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com)
+ Copyright 2012 Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
@@ -271,3 +271,35 @@ bool CALLBACK_Audio_Device_GetSetEndpointProperty(USB_ClassInfo_Audio_Device_t*
return false;
}
+/** Audio class driver callback for the setting and retrieval of streaming interface properties. This callback must be implemented
+ * in the user application to handle property manipulations on streaming audio interfaces.
+ *
+ * When the DataLength parameter is NULL, this callback should only indicate whether the specified operation is valid for
+ * the given entity and should return as fast as possible. When non-NULL, this value may be altered for GET operations
+ * to indicate the size of the retreived data.
+ *
+ * \note The length of the retrieved data stored into the Data buffer on GET operations should not exceed the initial value
+ * of the \c DataLength parameter.
+ *
+ * \param[in,out] AudioInterfaceInfo Pointer to a structure containing an Audio Class configuration and state.
+ * \param[in] Property Property of the interface to get or set, a value from \ref Audio_ClassRequests_t.
+ * \param[in] EntityAddress Address of the audio entity whose property is being referenced.
+ * \param[in] Parameter Parameter of the entity to get or set, specific to each type of entity (see USB Audio specification).
+ * \param[in,out] DataLength For SET operations, the length of the parameter data to set. For GET operations, the maximum
+ * length of the retrieved data. When NULL, the function should return whether the given property
+ * and parameter is valid for the requested endpoint without reading or modifying the Data buffer.
+ * \param[in,out] Data Pointer to a location where the parameter data is stored for SET operations, or where
+ * the retrieved data is to be stored for GET operations.
+ *
+ * \return Boolean \c true if the property GET/SET was successful, \c false otherwise
+ */
+bool CALLBACK_Audio_Device_GetSetInterfaceProperty(USB_ClassInfo_Audio_Device_t* const AudioInterfaceInfo,
+ const uint8_t Property,
+ const uint8_t EntityAddress,
+ const uint16_t Parameter,
+ uint16_t* const DataLength,
+ uint8_t* Data)
+{
+ /* No audio interface entities in the device descriptor, thus no properties to get or set. */
+ return false;
+}
View
4 Demos/Device/ClassDriver/AudioOutput/AudioOutput.h
@@ -1,13 +1,13 @@
/*
LUFA Library
- Copyright (C) Dean Camera, 2011.
+ Copyright (C) Dean Camera, 2012.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
- Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com)
+ Copyright 2012 Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
View
6 Demos/Device/ClassDriver/AudioOutput/Descriptors.c
@@ -1,13 +1,13 @@
/*
LUFA Library
- Copyright (C) Dean Camera, 2011.
+ Copyright (C) Dean Camera, 2012.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
- Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com)
+ Copyright 2012 Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
@@ -81,7 +81,7 @@ const USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.ConfigurationNumber = 1,
.ConfigurationStrIndex = NO_DESCRIPTOR,
- .ConfigAttributes = (USB_CONFIG_ATTR_BUSPOWERED | USB_CONFIG_ATTR_SELFPOWERED),
+ .ConfigAttributes = (USB_CONFIG_ATTR_RESERVED | USB_CONFIG_ATTR_SELFPOWERED),
.MaxPowerConsumption = USB_CONFIG_POWER_MA(100)
},
View
4 Demos/Device/ClassDriver/AudioOutput/Descriptors.h
@@ -1,13 +1,13 @@
/*
LUFA Library
- Copyright (C) Dean Camera, 2011.
+ Copyright (C) Dean Camera, 2012.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
- Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com)
+ Copyright 2012 Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
View
6 Demos/Device/ClassDriver/DualVirtualSerial/Descriptors.c
@@ -1,13 +1,13 @@
/*
LUFA Library
- Copyright (C) Dean Camera, 2011.
+ Copyright (C) Dean Camera, 2012.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
- Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com)
+ Copyright 2012 Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
@@ -93,7 +93,7 @@ const USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.ConfigurationNumber = 1,
.ConfigurationStrIndex = NO_DESCRIPTOR,
- .ConfigAttributes = (USB_CONFIG_ATTR_BUSPOWERED | USB_CONFIG_ATTR_SELFPOWERED),
+ .ConfigAttributes = (USB_CONFIG_ATTR_RESERVED | USB_CONFIG_ATTR_SELFPOWERED),
.MaxPowerConsumption = USB_CONFIG_POWER_MA(100)
},
View
4 Demos/Device/ClassDriver/DualVirtualSerial/Descriptors.h
@@ -1,13 +1,13 @@
/*
LUFA Library
- Copyright (C) Dean Camera, 2011.
+ Copyright (C) Dean Camera, 2012.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
- Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com)
+ Copyright 2012 Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
View
4 Demos/Device/ClassDriver/DualVirtualSerial/DualVirtualSerial.c
@@ -1,13 +1,13 @@
/*
LUFA Library
- Copyright (C) Dean Camera, 2011.
+ Copyright (C) Dean Camera, 2012.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
- Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com)
+ Copyright 2012 Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
View
4 Demos/Device/ClassDriver/DualVirtualSerial/DualVirtualSerial.h
@@ -1,13 +1,13 @@
/*
LUFA Library
- Copyright (C) Dean Camera, 2011.
+ Copyright (C) Dean Camera, 2012.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
- Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com)
+ Copyright 2012 Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
View
6 Demos/Device/ClassDriver/GenericHID/Descriptors.c
@@ -1,13 +1,13 @@
/*
LUFA Library
- Copyright (C) Dean Camera, 2011.
+ Copyright (C) Dean Camera, 2012.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
- Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com)
+ Copyright 2012 Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
@@ -99,7 +99,7 @@ const USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.ConfigurationNumber = 1,
.ConfigurationStrIndex = NO_DESCRIPTOR,
- .ConfigAttributes = (USB_CONFIG_ATTR_BUSPOWERED | USB_CONFIG_ATTR_SELFPOWERED),
+ .ConfigAttributes = (USB_CONFIG_ATTR_RESERVED | USB_CONFIG_ATTR_SELFPOWERED),
.MaxPowerConsumption = USB_CONFIG_POWER_MA(100)
},
View
4 Demos/Device/ClassDriver/GenericHID/Descriptors.h
@@ -1,13 +1,13 @@
/*
LUFA Library
- Copyright (C) Dean Camera, 2011.
+ Copyright (C) Dean Camera, 2012.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
- Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com)
+ Copyright 2012 Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
View
6 Demos/Device/ClassDriver/GenericHID/GenericHID.c
@@ -1,13 +1,13 @@
/*
LUFA Library
- Copyright (C) Dean Camera, 2011.
+ Copyright (C) Dean Camera, 2012.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
- Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com)
+ Copyright 2012 Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
@@ -133,7 +133,7 @@ void EVENT_USB_Device_StartOfFrame(void)
* \param[in,out] ReportID Report ID requested by the host if non-zero, otherwise callback should set to the generated report ID
* \param[in] ReportType Type of the report to create, either HID_REPORT_ITEM_In or HID_REPORT_ITEM_Feature
* \param[out] ReportData Pointer to a buffer where the created report should be stored
- * \param[out] ReportSize Number of bytes written in the report (or zero if no report is to be sent
+ * \param[out] ReportSize Number of bytes written in the report (or zero if no report is to be sent)
*
* \return Boolean true to force the sending of the report, false to let the library determine if it needs to be sent
*/
View
4 Demos/Device/ClassDriver/GenericHID/GenericHID.h
@@ -1,13 +1,13 @@
/*
LUFA Library
- Copyright (C) Dean Camera, 2011.
+ Copyright (C) Dean Camera, 2012.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
- Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com)
+ Copyright 2012 Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
View
6 Demos/Device/ClassDriver/Joystick/Descriptors.c
@@ -1,13 +1,13 @@
/*
LUFA Library
- Copyright (C) Dean Camera, 2011.
+ Copyright (C) Dean Camera, 2012.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
- Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com)
+ Copyright 2012 Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
@@ -100,7 +100,7 @@ const USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.ConfigurationNumber = 1,
.ConfigurationStrIndex = NO_DESCRIPTOR,
- .ConfigAttributes = (USB_CONFIG_ATTR_BUSPOWERED | USB_CONFIG_ATTR_SELFPOWERED),
+ .ConfigAttributes = (USB_CONFIG_ATTR_RESERVED | USB_CONFIG_ATTR_SELFPOWERED),
.MaxPowerConsumption = USB_CONFIG_POWER_MA(100)
},
View
4 Demos/Device/ClassDriver/Joystick/Descriptors.h
@@ -1,13 +1,13 @@
/*
LUFA Library
- Copyright (C) Dean Camera, 2011.
+ Copyright (C) Dean Camera, 2012.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
- Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com)
+ Copyright 2012 Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
View
6 Demos/Device/ClassDriver/Joystick/Joystick.c
@@ -1,13 +1,13 @@
/*
LUFA Library
- Copyright (C) Dean Camera, 2011.
+ Copyright (C) Dean Camera, 2012.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
- Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com)
+ Copyright 2012 Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
@@ -135,7 +135,7 @@ void EVENT_USB_Device_StartOfFrame(void)
* \param[in,out] ReportID Report ID requested by the host if non-zero, otherwise callback should set to the generated report ID
* \param[in] ReportType Type of the report to create, either HID_REPORT_ITEM_In or HID_REPORT_ITEM_Feature
* \param[out] ReportData Pointer to a buffer where the created report should be stored
- * \param[out] ReportSize Number of bytes written in the report (or zero if no report is to be sent
+ * \param[out] ReportSize Number of bytes written in the report (or zero if no report is to be sent)
*
* \return Boolean true to force the sending of the report, false to let the library determine if it needs to be sent
*/
View
4 Demos/Device/ClassDriver/Joystick/Joystick.h
@@ -1,13 +1,13 @@
/*
LUFA Library
- Copyright (C) Dean Camera, 2011.
+ Copyright (C) Dean Camera, 2012.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
- Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com)
+ Copyright 2012 Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
View
6 Demos/Device/ClassDriver/Keyboard/Descriptors.c
@@ -1,13 +1,13 @@
/*
LUFA Library
- Copyright (C) Dean Camera, 2011.
+ Copyright (C) Dean Camera, 2012.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
- Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com)
+ Copyright 2012 Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
@@ -95,7 +95,7 @@ const USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.ConfigurationNumber = 1,
.ConfigurationStrIndex = NO_DESCRIPTOR,
- .ConfigAttributes = (USB_CONFIG_ATTR_BUSPOWERED | USB_CONFIG_ATTR_SELFPOWERED),
+ .ConfigAttributes = (USB_CONFIG_ATTR_RESERVED | USB_CONFIG_ATTR_SELFPOWERED),
.MaxPowerConsumption = USB_CONFIG_POWER_MA(100)
},
View
4 Demos/Device/ClassDriver/Keyboard/Descriptors.h
@@ -1,13 +1,13 @@
/*
LUFA Library
- Copyright (C) Dean Camera, 2011.
+ Copyright (C) Dean Camera, 2012.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
- Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com)
+ Copyright 2012 Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
View
6 Demos/Device/ClassDriver/Keyboard/Keyboard.c
@@ -1,13 +1,13 @@
/*
LUFA Library
- Copyright (C) Dean Camera, 2011.
+ Copyright (C) Dean Camera, 2012.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
- Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com)
+ Copyright 2012 Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
@@ -135,7 +135,7 @@ void EVENT_USB_Device_StartOfFrame(void)
* \param[in,out] ReportID Report ID requested by the host if non-zero, otherwise callback should set to the generated report ID
* \param[in] ReportType Type of the report to create, either HID_REPORT_ITEM_In or HID_REPORT_ITEM_Feature
* \param[out] ReportData Pointer to a buffer where the created report should be stored
- * \param[out] ReportSize Number of bytes written in the report (or zero if no report is to be sent
+ * \param[out] ReportSize Number of bytes written in the report (or zero if no report is to be sent)
*
* \return Boolean true to force the sending of the report, false to let the library determine if it needs to be sent
*/
View
4 Demos/Device/ClassDriver/Keyboard/Keyboard.h
@@ -1,13 +1,13 @@
/*
LUFA Library
- Copyright (C) Dean Camera, 2011.
+ Copyright (C) Dean Camera, 2012.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
- Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com)
+ Copyright 2012 Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
View
6 Demos/Device/ClassDriver/KeyboardMouse/Descriptors.c
@@ -1,13 +1,13 @@
/*
LUFA Library
- Copyright (C) Dean Camera, 2011.
+ Copyright (C) Dean Camera, 2012.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
- Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com)
+ Copyright 2012 Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
@@ -111,7 +111,7 @@ const USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.ConfigurationNumber = 1,
.ConfigurationStrIndex = NO_DESCRIPTOR,
- .ConfigAttributes = (USB_CONFIG_ATTR_BUSPOWERED | USB_CONFIG_ATTR_SELFPOWERED),
+ .ConfigAttributes = (USB_CONFIG_ATTR_RESERVED | USB_CONFIG_ATTR_SELFPOWERED),
.MaxPowerConsumption = USB_CONFIG_POWER_MA(100)
},
View
4 Demos/Device/ClassDriver/KeyboardMouse/Descriptors.h
@@ -1,13 +1,13 @@
/*
LUFA Library
- Copyright (C) Dean Camera, 2011.
+ Copyright (C) Dean Camera, 2012.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
- Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com)
+ Copyright 2012 Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
View
6 Demos/Device/ClassDriver/KeyboardMouse/KeyboardMouse.c
@@ -1,13 +1,13 @@
/*
LUFA Library
- Copyright (C) Dean Camera, 2011.
+ Copyright (C) Dean Camera, 2012.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
- Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com)
+ Copyright 2012 Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
@@ -161,7 +161,7 @@ void EVENT_USB_Device_StartOfFrame(void)
* \param[in,out] ReportID Report ID requested by the host if non-zero, otherwise callback should set to the generated report ID
* \param[in] ReportType Type of the report to create, either HID_REPORT_ITEM_In or HID_REPORT_ITEM_Feature
* \param[out] ReportData Pointer to a buffer where the created report should be stored
- * \param[out] ReportSize Number of bytes written in the report (or zero if no report is to be sent
+ * \param[out] ReportSize Number of bytes written in the report (or zero if no report is to be sent)
*
* \return Boolean true to force the sending of the report, false to let the library determine if it needs to be sent
*/
View
4 Demos/Device/ClassDriver/KeyboardMouse/KeyboardMouse.h
@@ -1,13 +1,13 @@
/*
LUFA Library
- Copyright (C) Dean Camera, 2011.
+ Copyright (C) Dean Camera, 2012.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
- Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com)
+ Copyright 2012 Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
View
6 Demos/Device/ClassDriver/KeyboardMouseMultiReport/Descriptors.c
@@ -1,13 +1,13 @@
/*
LUFA Library
- Copyright (C) Dean Camera, 2011.
+ Copyright (C) Dean Camera, 2012.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
- Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com)
+ Copyright 2012 Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
@@ -158,7 +158,7 @@ const USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.ConfigurationNumber = 1,
.ConfigurationStrIndex = NO_DESCRIPTOR,
- .ConfigAttributes = (USB_CONFIG_ATTR_BUSPOWERED | USB_CONFIG_ATTR_SELFPOWERED),
+ .ConfigAttributes = (USB_CONFIG_ATTR_RESERVED | USB_CONFIG_ATTR_SELFPOWERED),
.MaxPowerConsumption = USB_CONFIG_POWER_MA(100)
},
View
4 Demos/Device/ClassDriver/KeyboardMouseMultiReport/Descriptors.h
@@ -1,13 +1,13 @@
/*
LUFA Library
- Copyright (C) Dean Camera, 2011.
+ Copyright (C) Dean Camera, 2012.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
- Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com)
+ Copyright 2012 Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
View
6 Demos/Device/ClassDriver/KeyboardMouseMultiReport/KeyboardMouseMultiReport.c
@@ -1,13 +1,13 @@
/*
LUFA Library
- Copyright (C) Dean Camera, 2011.
+ Copyright (C) Dean Camera, 2012.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
- Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com)
+ Copyright 2012 Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
@@ -134,7 +134,7 @@ void EVENT_USB_Device_StartOfFrame(void)
* \param[in,out] ReportID Report ID requested by the host if non-zero, otherwise callback should set to the generated report ID
* \param[in] ReportType Type of the report to create, either HID_REPORT_ITEM_In or HID_REPORT_ITEM_Feature
* \param[out] ReportData Pointer to a buffer where the created report should be stored
- * \param[out] ReportSize Number of bytes written in the report (or zero if no report is to be sent
+ * \param[out] ReportSize Number of bytes written in the report (or zero if no report is to be sent)
*
* \return Boolean true to force the sending of the report, false to let the library determine if it needs to be sent
*/
View
4 Demos/Device/ClassDriver/KeyboardMouseMultiReport/KeyboardMouseMultiReport.h
@@ -1,13 +1,13 @@
/*
LUFA Library
- Copyright (C) Dean Camera, 2011.
+ Copyright (C) Dean Camera, 2012.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
- Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com)
+ Copyright 2012 Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
View
6 Demos/Device/ClassDriver/MIDI/Descriptors.c
@@ -1,13 +1,13 @@
/*
LUFA Library
- Copyright (C) Dean Camera, 2011.
+ Copyright (C) Dean Camera, 2012.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
- Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com)
+ Copyright 2012 Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
@@ -81,7 +81,7 @@ const USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.ConfigurationNumber = 1,
.ConfigurationStrIndex = NO_DESCRIPTOR,
- .ConfigAttributes = (USB_CONFIG_ATTR_BUSPOWERED | USB_CONFIG_ATTR_SELFPOWERED),
+ .ConfigAttributes = (USB_CONFIG_ATTR_RESERVED | USB_CONFIG_ATTR_SELFPOWERED),
.MaxPowerConsumption = USB_CONFIG_POWER_MA(100)
},
View
4 Demos/Device/ClassDriver/MIDI/Descriptors.h
@@ -1,13 +1,13 @@
/*
LUFA Library
- Copyright (C) Dean Camera, 2011.
+ Copyright (C) Dean Camera, 2012.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
- Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com)
+ Copyright 2012 Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
View
4 Demos/Device/ClassDriver/MIDI/MIDI.c
@@ -1,13 +1,13 @@
/*
LUFA Library
- Copyright (C) Dean Camera, 2011.
+ Copyright (C) Dean Camera, 2012.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
- Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com)
+ Copyright 2012 Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
View
4 Demos/Device/ClassDriver/MIDI/MIDI.h
@@ -1,13 +1,13 @@
/*
LUFA Library
- Copyright (C) Dean Camera, 2011.
+ Copyright (C) Dean Camera, 2012.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
- Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com)
+ Copyright 2012 Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
View
6 Demos/Device/ClassDriver/MassStorage/Descriptors.c
@@ -1,13 +1,13 @@
/*
LUFA Library
- Copyright (C) Dean Camera, 2011.
+ Copyright (C) Dean Camera, 2012.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
- Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com)
+ Copyright 2012 Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
@@ -93,7 +93,7 @@ const USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.ConfigurationNumber = 1,
.ConfigurationStrIndex = NO_DESCRIPTOR,
- .ConfigAttributes = USB_CONFIG_ATTR_BUSPOWERED,
+ .ConfigAttributes = USB_CONFIG_ATTR_RESERVED,
.MaxPowerConsumption = USB_CONFIG_POWER_MA(100)
},
View
4 Demos/Device/ClassDriver/MassStorage/Descriptors.h
@@ -1,13 +1,13 @@
/*
LUFA Library
- Copyright (C) Dean Camera, 2011.
+ Copyright (C) Dean Camera, 2012.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
- Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com)
+ Copyright 2012 Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
View
4 Demos/Device/ClassDriver/MassStorage/Lib/DataflashManager.c
@@ -1,13 +1,13 @@
/*
LUFA Library
- Copyright (C) Dean Camera, 2011.
+ Copyright (C) Dean Camera, 2012.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
- Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com)
+ Copyright 2012 Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
View
4 Demos/Device/ClassDriver/MassStorage/Lib/DataflashManager.h
@@ -1,13 +1,13 @@
/*
LUFA Library
- Copyright (C) Dean Camera, 2011.
+ Copyright (C) Dean Camera, 2012.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
- Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com)
+ Copyright 2012 Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
View
4 Demos/Device/ClassDriver/MassStorage/Lib/SCSI.c
@@ -1,13 +1,13 @@
/*
LUFA Library
- Copyright (C) Dean Camera, 2011.
+ Copyright (C) Dean Camera, 2012.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
- Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com)
+ Copyright 2012 Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
View
4 Demos/Device/ClassDriver/MassStorage/Lib/SCSI.h
@@ -1,13 +1,13 @@
/*
LUFA Library
- Copyright (C) Dean Camera, 2011.
+ Copyright (C) Dean Camera, 2012.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
- Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com)
+ Copyright 2012 Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
View
4 Demos/Device/ClassDriver/MassStorage/MassStorage.c
@@ -1,13 +1,13 @@
/*
LUFA Library
- Copyright (C) Dean Camera, 2011.
+ Copyright (C) Dean Camera, 2012.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
- Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com)
+ Copyright 2012 Dean Camera (dean [at] fourwalledcubicle [dot] com)