Jelajahi Sumber

update license year from 2012 to 2013

hathach 13 tahun lalu
induk
melakukan
535f330026
52 mengubah file dengan 79 tambahan dan 66 penghapusan
  1. 1 1
      demos/bsp/boards/board.c
  2. 1 1
      demos/bsp/boards/board.h
  3. 1 1
      demos/bsp/boards/board_at86rf2xx.c
  4. 1 1
      demos/bsp/boards/board_at86rf2xx.h
  5. 1 1
      demos/bsp/boards/board_ea4357.c
  6. 1 1
      demos/bsp/boards/board_ea4357.h
  7. 1 1
      demos/bsp/boards/board_lpcxpresso1347.c
  8. 1 1
      demos/bsp/boards/board_lpcxpresso1347.h
  9. 1 1
      demos/bsp/boards/board_ngx4330.c
  10. 1 1
      demos/bsp/boards/printf_retarget.c
  11. 2 0
      demos/host/.cproject
  12. 20 10
      demos/host/tusb_config.h
  13. 1 1
      tinyusb/class/cdc.c
  14. 1 1
      tinyusb/class/cdc.h
  15. 1 1
      tinyusb/class/hid.c
  16. 1 1
      tinyusb/class/hid.h
  17. 1 1
      tinyusb/class/hid_device.h
  18. 1 1
      tinyusb/class/hid_host.c
  19. 4 4
      tinyusb/class/hid_host.h
  20. 1 1
      tinyusb/common/assertion.h
  21. 1 1
      tinyusb/common/binary.h
  22. 2 1
      tinyusb/common/common.h
  23. 1 1
      tinyusb/common/compiler/compiler.h
  24. 1 1
      tinyusb/common/compiler/compiler_gcc.h
  25. 1 1
      tinyusb/common/compiler/compiler_iar.h
  26. 1 1
      tinyusb/common/errors.c
  27. 1 1
      tinyusb/common/errors.h
  28. 1 1
      tinyusb/common/fifo.c
  29. 1 1
      tinyusb/common/fifo.h
  30. 1 1
      tinyusb/core/std_descriptors.h
  31. 1 1
      tinyusb/core/tusb_types.h
  32. 1 1
      tinyusb/device/dcd.c
  33. 1 1
      tinyusb/device/dcd.h
  34. 1 1
      tinyusb/doxygen/license.md
  35. 1 1
      tinyusb/hal/hal.h
  36. 1 1
      tinyusb/hal/hal_lpc11uxx.c
  37. 1 1
      tinyusb/hal/hal_lpc11uxx.h
  38. 1 1
      tinyusb/hal/hal_lpc13uxx.c
  39. 1 1
      tinyusb/hal/hal_lpc13uxx.h
  40. 1 1
      tinyusb/hal/hal_lpc43xx.c
  41. 1 1
      tinyusb/hal/hal_lpc43xx.h
  42. 1 1
      tinyusb/host/hcd.c
  43. 1 1
      tinyusb/host/hcd.h
  44. 1 1
      tinyusb/host/usbd_host.c
  45. 4 4
      tinyusb/host/usbd_host.h
  46. 1 1
      tinyusb/license.txt
  47. 1 1
      tinyusb/osal/osal.h
  48. 1 1
      tinyusb/osal/osal_none.c
  49. 1 1
      tinyusb/osal/osal_none.h
  50. 1 1
      tinyusb/tusb.c
  51. 1 1
      tinyusb/tusb.h
  52. 1 1
      tinyusb/tusb_option.h

+ 1 - 1
demos/bsp/boards/board.c

@@ -7,7 +7,7 @@
 
 
 /*
 /*
  * Software License Agreement (BSD License)
  * Software License Agreement (BSD License)
- * Copyright (c) 2012, hathach (tinyusb.net)
+ * Copyright (c) 2013, hathach (tinyusb.net)
  * All rights reserved.
  * All rights reserved.
  *
  *
  * Redistribution and use in source and binary forms, with or without modification,
  * Redistribution and use in source and binary forms, with or without modification,

+ 1 - 1
demos/bsp/boards/board.h

@@ -7,7 +7,7 @@
 
 
 /*
 /*
  * Software License Agreement (BSD License)
  * Software License Agreement (BSD License)
- * Copyright (c) 2012, hathach (tinyusb.net)
+ * Copyright (c) 2013, hathach (tinyusb.net)
  * All rights reserved.
  * All rights reserved.
  *
  *
  * Redistribution and use in source and binary forms, with or without modification,
  * Redistribution and use in source and binary forms, with or without modification,

+ 1 - 1
demos/bsp/boards/board_at86rf2xx.c

@@ -7,7 +7,7 @@
 
 
 /*
 /*
  * Software License Agreement (BSD License)
  * Software License Agreement (BSD License)
- * Copyright (c) 2012, hathach (tinyusb.net)
+ * Copyright (c) 2013, hathach (tinyusb.net)
  * All rights reserved.
  * All rights reserved.
  *
  *
  * Redistribution and use in source and binary forms, with or without modification,
  * Redistribution and use in source and binary forms, with or without modification,

+ 1 - 1
demos/bsp/boards/board_at86rf2xx.h

@@ -7,7 +7,7 @@
 
 
 /*
 /*
  * Software License Agreement (BSD License)
  * Software License Agreement (BSD License)
- * Copyright (c) 2012, hathach (tinyusb.net)
+ * Copyright (c) 2013, hathach (tinyusb.net)
  * All rights reserved.
  * All rights reserved.
  *
  *
  * Redistribution and use in source and binary forms, with or without modification,
  * Redistribution and use in source and binary forms, with or without modification,

+ 1 - 1
demos/bsp/boards/board_ea4357.c

@@ -7,7 +7,7 @@
 
 
 /*
 /*
  * Software License Agreement (BSD License)
  * Software License Agreement (BSD License)
- * Copyright (c) 2012, hathach (tinyusb.net)
+ * Copyright (c) 2013, hathach (tinyusb.net)
  * All rights reserved.
  * All rights reserved.
  *
  *
  * Redistribution and use in source and binary forms, with or without modification,
  * Redistribution and use in source and binary forms, with or without modification,

+ 1 - 1
demos/bsp/boards/board_ea4357.h

@@ -7,7 +7,7 @@
 
 
 /*
 /*
  * Software License Agreement (BSD License)
  * Software License Agreement (BSD License)
- * Copyright (c) 2012, hathach (tinyusb.net)
+ * Copyright (c) 2013, hathach (tinyusb.net)
  * All rights reserved.
  * All rights reserved.
  *
  *
  * Redistribution and use in source and binary forms, with or without modification,
  * Redistribution and use in source and binary forms, with or without modification,

+ 1 - 1
demos/bsp/boards/board_lpcxpresso1347.c

@@ -7,7 +7,7 @@
 
 
 /*
 /*
  * Software License Agreement (BSD License)
  * Software License Agreement (BSD License)
- * Copyright (c) 2012, hathach (tinyusb.net)
+ * Copyright (c) 2013, hathach (tinyusb.net)
  * All rights reserved.
  * All rights reserved.
  *
  *
  * Redistribution and use in source and binary forms, with or without modification,
  * Redistribution and use in source and binary forms, with or without modification,

+ 1 - 1
demos/bsp/boards/board_lpcxpresso1347.h

@@ -7,7 +7,7 @@
 
 
 /*
 /*
  * Software License Agreement (BSD License)
  * Software License Agreement (BSD License)
- * Copyright (c) 2012, hathach (tinyusb.net)
+ * Copyright (c) 2013, hathach (tinyusb.net)
  * All rights reserved.
  * All rights reserved.
  *
  *
  * Redistribution and use in source and binary forms, with or without modification,
  * Redistribution and use in source and binary forms, with or without modification,

+ 1 - 1
demos/bsp/boards/board_ngx4330.c

@@ -7,7 +7,7 @@
 
 
 /*
 /*
  * Software License Agreement (BSD License)
  * Software License Agreement (BSD License)
- * Copyright (c) 2012, hathach (tinyusb.net)
+ * Copyright (c) 2013, hathach (tinyusb.net)
  * All rights reserved.
  * All rights reserved.
  *
  *
  * Redistribution and use in source and binary forms, with or without modification,
  * Redistribution and use in source and binary forms, with or without modification,

+ 1 - 1
demos/bsp/boards/printf_retarget.c

@@ -7,7 +7,7 @@
 
 
 /*
 /*
  * Software License Agreement (BSD License)
  * Software License Agreement (BSD License)
- * Copyright (c) 2012, hathach (tinyusb.net)
+ * Copyright (c) 2013, hathach (tinyusb.net)
  * All rights reserved.
  * All rights reserved.
  *
  *
  * Redistribution and use in source and binary forms, with or without modification,
  * Redistribution and use in source and binary forms, with or without modification,

+ 2 - 0
demos/host/.cproject

@@ -429,6 +429,7 @@
 				</scannerConfigBuildInfo>
 				</scannerConfigBuildInfo>
 			</storageModule>
 			</storageModule>
 			<storageModule moduleId="org.eclipse.cdt.internal.ui.text.commentOwnerProjectMappings"/>
 			<storageModule moduleId="org.eclipse.cdt.internal.ui.text.commentOwnerProjectMappings"/>
+			<storageModule moduleId="org.eclipse.cdt.make.core.buildtargets"/>
 		</cconfiguration>
 		</cconfiguration>
 		<cconfiguration id="com.crt.advproject.config.exe.debug.1239969983.636406670">
 		<cconfiguration id="com.crt.advproject.config.exe.debug.1239969983.636406670">
 			<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.crt.advproject.config.exe.debug.1239969983.636406670" moduleId="org.eclipse.cdt.core.settings" name="Board EA4357">
 			<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.crt.advproject.config.exe.debug.1239969983.636406670" moduleId="org.eclipse.cdt.core.settings" name="Board EA4357">
@@ -856,6 +857,7 @@
 				</scannerConfigBuildInfo>
 				</scannerConfigBuildInfo>
 			</storageModule>
 			</storageModule>
 			<storageModule moduleId="org.eclipse.cdt.internal.ui.text.commentOwnerProjectMappings"/>
 			<storageModule moduleId="org.eclipse.cdt.internal.ui.text.commentOwnerProjectMappings"/>
+			<storageModule moduleId="org.eclipse.cdt.make.core.buildtargets"/>
 		</cconfiguration>
 		</cconfiguration>
 	</storageModule>
 	</storageModule>
 	<storageModule moduleId="cdtBuildSystem" version="4.0.0">
 	<storageModule moduleId="cdtBuildSystem" version="4.0.0">

+ 20 - 10
demos/host/tusb_config.h

@@ -7,7 +7,7 @@
 
 
 /*
 /*
  * Software License Agreement (BSD License)
  * Software License Agreement (BSD License)
- * Copyright (c) 2012, hathach (tinyusb.net)
+ * Copyright (c) 2013, hathach (tinyusb.net)
  * All rights reserved.
  * All rights reserved.
  *
  *
  * Redistribution and use in source and binary forms, with or without modification,
  * Redistribution and use in source and binary forms, with or without modification,
@@ -55,26 +55,36 @@
  extern "C" {
  extern "C" {
 #endif
 #endif
 
 
+//--------------------------------------------------------------------+
+// HOST CONFIGURATION
+//--------------------------------------------------------------------+
 #define TUSB_CFG_HOST
 #define TUSB_CFG_HOST
 
 
+//------------- CORE/CONTROLLER -------------//
 #define TUSB_CFG_HOST_CONTROLLER_NUM 1
 #define TUSB_CFG_HOST_CONTROLLER_NUM 1
-#define TUSB_CFG_HOST_DEVICE_MAX 1
-#define TUSB_CFG_CONFIGURATION_MAX 1
+#define TUSB_CFG_HOST_DEVICE_MAX     1
+#define TUSB_CFG_CONFIGURATION_MAX   1
 
 
-#define TUSB_CFG_HOST_HID_KEYBOARD
+//------------- CLASS -------------//
+#define TUSB_CFG_HOST_HID_KEYBOARD  1
+#define TUSB_CFG_HOST_HID_KEYBOARD_ENDPOINT_SIZE  64
 
 
-/// Enable Device Support
+//--------------------------------------------------------------------+
+// DEVICE CONFIGURATION
+//--------------------------------------------------------------------+
 //#define TUSB_CFG_DEVICE
 //#define TUSB_CFG_DEVICE
 
 
-/// Enable CDC Support
-//#define TUSB_CFG_DEVICE_CDC
+//------------- CORE/CONTROLLER -------------//
 
 
-/// Enable HID Keyboard support
+//------------- CLASS -------------//
+//#define TUSB_CFG_DEVICE_CDC
 #define TUSB_CFG_DEVICE_HID_KEYBOARD
 #define TUSB_CFG_DEVICE_HID_KEYBOARD
-
-/// Enable HID Mouse support
 //#define TUSB_CFG_DEVICE_HID_MOUSE
 //#define TUSB_CFG_DEVICE_HID_MOUSE
 
 
+//--------------------------------------------------------------------+
+// COMMON CONFIGURATION
+//--------------------------------------------------------------------+
+
 #define TUSB_CFG_DEBUG 3
 #define TUSB_CFG_DEBUG 3
 
 
 #define TUSB_CFG_OS TUSB_OS_NONE
 #define TUSB_CFG_OS TUSB_OS_NONE

+ 1 - 1
tinyusb/class/cdc.c

@@ -7,7 +7,7 @@
 
 
 /*
 /*
  * Software License Agreement (BSD License)
  * Software License Agreement (BSD License)
- * Copyright (c) 2012, hathach (tinyusb.net)
+ * Copyright (c) 2013, hathach (tinyusb.net)
  * All rights reserved.
  * All rights reserved.
  *
  *
  * Redistribution and use in source and binary forms, with or without modification,
  * Redistribution and use in source and binary forms, with or without modification,

+ 1 - 1
tinyusb/class/cdc.h

@@ -7,7 +7,7 @@
 
 
 /*
 /*
  * Software License Agreement (BSD License)
  * Software License Agreement (BSD License)
- * Copyright (c) 2012, hathach (tinyusb.net)
+ * Copyright (c) 2013, hathach (tinyusb.net)
  * All rights reserved.
  * All rights reserved.
  *
  *
  * Redistribution and use in source and binary forms, with or without modification,
  * Redistribution and use in source and binary forms, with or without modification,

+ 1 - 1
tinyusb/class/hid.c

@@ -7,7 +7,7 @@
 
 
 /*
 /*
  * Software License Agreement (BSD License)
  * Software License Agreement (BSD License)
- * Copyright (c) 2012, hathach (tinyusb.net)
+ * Copyright (c) 2013, hathach (tinyusb.net)
  * All rights reserved.
  * All rights reserved.
  *
  *
  * Redistribution and use in source and binary forms, with or without modification,
  * Redistribution and use in source and binary forms, with or without modification,

+ 1 - 1
tinyusb/class/hid.h

@@ -7,7 +7,7 @@
 
 
 /*
 /*
  * Software License Agreement (BSD License)
  * Software License Agreement (BSD License)
- * Copyright (c) 2012, hathach (tinyusb.net)
+ * Copyright (c) 2013, hathach (tinyusb.net)
  * All rights reserved.
  * All rights reserved.
  *
  *
  * Redistribution and use in source and binary forms, with or without modification,
  * Redistribution and use in source and binary forms, with or without modification,

+ 1 - 1
tinyusb/class/hid_device.h

@@ -7,7 +7,7 @@
 
 
 /*
 /*
  * Software License Agreement (BSD License)
  * Software License Agreement (BSD License)
- * Copyright (c) 2012, hathach (tinyusb.net)
+ * Copyright (c) 2013, hathach (tinyusb.net)
  * All rights reserved.
  * All rights reserved.
  *
  *
  * Redistribution and use in source and binary forms, with or without modification,
  * Redistribution and use in source and binary forms, with or without modification,

+ 1 - 1
tinyusb/class/hid_host.c

@@ -7,7 +7,7 @@
 
 
 /*
 /*
  * Software License Agreement (BSD License)
  * Software License Agreement (BSD License)
- * Copyright (c) 2012, hathach (tinyusb.net)
+ * Copyright (c) 2013, hathach (tinyusb.net)
  * All rights reserved.
  * All rights reserved.
  *
  *
  * Redistribution and use in source and binary forms, with or without modification,
  * Redistribution and use in source and binary forms, with or without modification,

+ 4 - 4
tinyusb/class/hid_host.h

@@ -7,7 +7,7 @@
 
 
 /*
 /*
  * Software License Agreement (BSD License)
  * Software License Agreement (BSD License)
- * Copyright (c) 2012, hathach (tinyusb.net)
+ * Copyright (c) 2013, hathach (tinyusb.net)
  * All rights reserved.
  * All rights reserved.
  *
  *
  * Redistribution and use in source and binary forms, with or without modification,
  * Redistribution and use in source and binary forms, with or without modification,
@@ -61,8 +61,8 @@
 //--------------------------------------------------------------------+
 //--------------------------------------------------------------------+
 // APPLICATION API
 // APPLICATION API
 //--------------------------------------------------------------------+
 //--------------------------------------------------------------------+
-uint8_t tusbh_hid_keyboard_no_instances(tusb_handle_device_t const device_hdl);
-tusb_error_t tusbh_hid_keyboard_get(tusb_handle_device_t const handle, uint8_t instance_num, tusb_keyboard_report_t * const report);
+uint8_t tusbh_hid_keyboard_no_instances(tusb_handle_device_t const device_hdl) ATTR_WARN_UNUSED_RESULT;
+tusb_error_t tusbh_hid_keyboard_get(tusb_handle_device_t const handle, uint8_t instance_num, tusb_keyboard_report_t * const report) ATTR_WARN_UNUSED_RESULT;
 
 
 //--------------------------------------------------------------------+
 //--------------------------------------------------------------------+
 // INTERNAL API
 // INTERNAL API
@@ -81,7 +81,7 @@ typedef struct {
 } class_hid_keyboard_info_t;
 } class_hid_keyboard_info_t;
 
 
 void class_hid_keyboard_init(void);
 void class_hid_keyboard_init(void);
-tusb_error_t class_hid_keyboard_install(uint8_t const dev_addr, uint8_t const *descriptor);
+tusb_error_t class_hid_keyboard_install(uint8_t const dev_addr, uint8_t const *descriptor) ATTR_WARN_UNUSED_RESULT;
 
 
 #endif
 #endif
 
 

+ 1 - 1
tinyusb/common/assertion.h

@@ -7,7 +7,7 @@
 
 
 /*
 /*
  * Software License Agreement (BSD License)
  * Software License Agreement (BSD License)
- * Copyright (c) 2012, hathach (tinyusb.net)
+ * Copyright (c) 2013, hathach (tinyusb.net)
  * All rights reserved.
  * All rights reserved.
  *
  *
  * Redistribution and use in source and binary forms, with or without modification,
  * Redistribution and use in source and binary forms, with or without modification,

+ 1 - 1
tinyusb/common/binary.h

@@ -7,7 +7,7 @@
 
 
 /*
 /*
  * Software License Agreement (BSD License)
  * Software License Agreement (BSD License)
- * Copyright (c) 2012, hathach (tinyusb.net)
+ * Copyright (c) 2013, hathach (tinyusb.net)
  * All rights reserved.
  * All rights reserved.
  *
  *
  * Redistribution and use in source and binary forms, with or without modification,
  * Redistribution and use in source and binary forms, with or without modification,

+ 2 - 1
tinyusb/common/common.h

@@ -7,7 +7,7 @@
 
 
 /*
 /*
  * Software License Agreement (BSD License)
  * Software License Agreement (BSD License)
- * Copyright (c) 2012, hathach (tinyusb.net)
+ * Copyright (c) 2013, hathach (tinyusb.net)
  * All rights reserved.
  * All rights reserved.
  *
  *
  * Redistribution and use in source and binary forms, with or without modification,
  * Redistribution and use in source and binary forms, with or without modification,
@@ -80,6 +80,7 @@
   #define STATIC_
   #define STATIC_
 #endif
 #endif
 
 
+
 /// form an uint32_t from 4 x uint8_t
 /// form an uint32_t from 4 x uint8_t
 static inline uint32_t u32_from_u8(uint8_t b1, uint8_t b2, uint8_t b3, uint8_t b4) ATTR_ALWAYS_INLINE ATTR_CONST;
 static inline uint32_t u32_from_u8(uint8_t b1, uint8_t b2, uint8_t b3, uint8_t b4) ATTR_ALWAYS_INLINE ATTR_CONST;
 static inline uint32_t u32_from_u8(uint8_t b1, uint8_t b2, uint8_t b3, uint8_t b4)
 static inline uint32_t u32_from_u8(uint8_t b1, uint8_t b2, uint8_t b3, uint8_t b4)

+ 1 - 1
tinyusb/common/compiler/compiler.h

@@ -7,7 +7,7 @@
 
 
 /*
 /*
  * Software License Agreement (BSD License)
  * Software License Agreement (BSD License)
- * Copyright (c) 2012, hathach (tinyusb.net)
+ * Copyright (c) 2013, hathach (tinyusb.net)
  * All rights reserved.
  * All rights reserved.
  *
  *
  * Redistribution and use in source and binary forms, with or without modification,
  * Redistribution and use in source and binary forms, with or without modification,

+ 1 - 1
tinyusb/common/compiler/compiler_gcc.h

@@ -7,7 +7,7 @@
 
 
 /*
 /*
  * Software License Agreement (BSD License)
  * Software License Agreement (BSD License)
- * Copyright (c) 2012, hathach (tinyusb.net)
+ * Copyright (c) 2013, hathach (tinyusb.net)
  * All rights reserved.
  * All rights reserved.
  *
  *
  * Redistribution and use in source and binary forms, with or without modification,
  * Redistribution and use in source and binary forms, with or without modification,

+ 1 - 1
tinyusb/common/compiler/compiler_iar.h

@@ -7,7 +7,7 @@
 
 
 /*
 /*
  * Software License Agreement (BSD License)
  * Software License Agreement (BSD License)
- * Copyright (c) 2012, hathach (tinyusb.net)
+ * Copyright (c) 2013, hathach (tinyusb.net)
  * All rights reserved.
  * All rights reserved.
  *
  *
  * Redistribution and use in source and binary forms, with or without modification,
  * Redistribution and use in source and binary forms, with or without modification,

+ 1 - 1
tinyusb/common/errors.c

@@ -7,7 +7,7 @@
 
 
 /*
 /*
  * Software License Agreement (BSD License)
  * Software License Agreement (BSD License)
- * Copyright (c) 2012, hathach (tinyusb.net)
+ * Copyright (c) 2013, hathach (tinyusb.net)
  * All rights reserved.
  * All rights reserved.
  *
  *
  * Redistribution and use in source and binary forms, with or without modification,
  * Redistribution and use in source and binary forms, with or without modification,

+ 1 - 1
tinyusb/common/errors.h

@@ -7,7 +7,7 @@
 
 
 /*
 /*
  * Software License Agreement (BSD License)
  * Software License Agreement (BSD License)
- * Copyright (c) 2012, hathach (tinyusb.net)
+ * Copyright (c) 2013, hathach (tinyusb.net)
  * All rights reserved.
  * All rights reserved.
  *
  *
  * Redistribution and use in source and binary forms, with or without modification,
  * Redistribution and use in source and binary forms, with or without modification,

+ 1 - 1
tinyusb/common/fifo.c

@@ -7,7 +7,7 @@
 
 
 /*
 /*
  * Software License Agreement (BSD License)
  * Software License Agreement (BSD License)
- * Copyright (c) 2012, hathach (tinyusb.net)
+ * Copyright (c) 2013, hathach (tinyusb.net)
  * All rights reserved.
  * All rights reserved.
  *
  *
  * Redistribution and use in source and binary forms, with or without modification,
  * Redistribution and use in source and binary forms, with or without modification,

+ 1 - 1
tinyusb/common/fifo.h

@@ -7,7 +7,7 @@
 
 
 /*
 /*
  * Software License Agreement (BSD License)
  * Software License Agreement (BSD License)
- * Copyright (c) 2012, hathach (tinyusb.net)
+ * Copyright (c) 2013, hathach (tinyusb.net)
  * All rights reserved.
  * All rights reserved.
  *
  *
  * Redistribution and use in source and binary forms, with or without modification,
  * Redistribution and use in source and binary forms, with or without modification,

+ 1 - 1
tinyusb/core/std_descriptors.h

@@ -7,7 +7,7 @@
 
 
 /*
 /*
  * Software License Agreement (BSD License)
  * Software License Agreement (BSD License)
- * Copyright (c) 2012, hathach (tinyusb.net)
+ * Copyright (c) 2013, hathach (tinyusb.net)
  * All rights reserved.
  * All rights reserved.
  *
  *
  * Redistribution and use in source and binary forms, with or without modification,
  * Redistribution and use in source and binary forms, with or without modification,

+ 1 - 1
tinyusb/core/tusb_types.h

@@ -7,7 +7,7 @@
 
 
 /*
 /*
  * Software License Agreement (BSD License)
  * Software License Agreement (BSD License)
- * Copyright (c) 2012, hathach (tinyusb.net)
+ * Copyright (c) 2013, hathach (tinyusb.net)
  * All rights reserved.
  * All rights reserved.
  *
  *
  * Redistribution and use in source and binary forms, with or without modification,
  * Redistribution and use in source and binary forms, with or without modification,

+ 1 - 1
tinyusb/device/dcd.c

@@ -7,7 +7,7 @@
 
 
 /*
 /*
  * Software License Agreement (BSD License)
  * Software License Agreement (BSD License)
- * Copyright (c) 2012, hathach (tinyusb.net)
+ * Copyright (c) 2013, hathach (tinyusb.net)
  * All rights reserved.
  * All rights reserved.
  *
  *
  * Redistribution and use in source and binary forms, with or without modification,
  * Redistribution and use in source and binary forms, with or without modification,

+ 1 - 1
tinyusb/device/dcd.h

@@ -7,7 +7,7 @@
 
 
 /*
 /*
  * Software License Agreement (BSD License)
  * Software License Agreement (BSD License)
- * Copyright (c) 2012, hathach (tinyusb.net)
+ * Copyright (c) 2013, hathach (tinyusb.net)
  * All rights reserved.
  * All rights reserved.
  *
  *
  * Redistribution and use in source and binary forms, with or without modification,
  * Redistribution and use in source and binary forms, with or without modification,

+ 1 - 1
tinyusb/doxygen/license.md

@@ -1,7 +1,7 @@
 # License
 # License
 
 
 <pre>Software License Agreement (BSD License)
 <pre>Software License Agreement (BSD License)
-Copyright (c) 2012, hathach (tinyusb.net)
+Copyright (c) 2013, hathach (tinyusb.net)
 All rights reserved.
 All rights reserved.
 
 
 Redistribution and use in source and binary forms, with or without modification,
 Redistribution and use in source and binary forms, with or without modification,

+ 1 - 1
tinyusb/hal/hal.h

@@ -7,7 +7,7 @@
 
 
 /*
 /*
  * Software License Agreement (BSD License)
  * Software License Agreement (BSD License)
- * Copyright (c) 2012, hathach (tinyusb.net)
+ * Copyright (c) 2013, hathach (tinyusb.net)
  * All rights reserved.
  * All rights reserved.
  *
  *
  * Redistribution and use in source and binary forms, with or without modification,
  * Redistribution and use in source and binary forms, with or without modification,

+ 1 - 1
tinyusb/hal/hal_lpc11uxx.c

@@ -7,7 +7,7 @@
 
 
 /*
 /*
  * Software License Agreement (BSD License)
  * Software License Agreement (BSD License)
- * Copyright (c) 2012, hathach (tinyusb.net)
+ * Copyright (c) 2013, hathach (tinyusb.net)
  * All rights reserved.
  * All rights reserved.
  *
  *
  * Redistribution and use in source and binary forms, with or without modification,
  * Redistribution and use in source and binary forms, with or without modification,

+ 1 - 1
tinyusb/hal/hal_lpc11uxx.h

@@ -7,7 +7,7 @@
 
 
 /*
 /*
  * Software License Agreement (BSD License)
  * Software License Agreement (BSD License)
- * Copyright (c) 2012, hathach (tinyusb.net)
+ * Copyright (c) 2013, hathach (tinyusb.net)
  * All rights reserved.
  * All rights reserved.
  *
  *
  * Redistribution and use in source and binary forms, with or without modification,
  * Redistribution and use in source and binary forms, with or without modification,

+ 1 - 1
tinyusb/hal/hal_lpc13uxx.c

@@ -7,7 +7,7 @@
 
 
 /*
 /*
  * Software License Agreement (BSD License)
  * Software License Agreement (BSD License)
- * Copyright (c) 2012, hathach (tinyusb.net)
+ * Copyright (c) 2013, hathach (tinyusb.net)
  * All rights reserved.
  * All rights reserved.
  *
  *
  * Redistribution and use in source and binary forms, with or without modification,
  * Redistribution and use in source and binary forms, with or without modification,

+ 1 - 1
tinyusb/hal/hal_lpc13uxx.h

@@ -7,7 +7,7 @@
 
 
 /*
 /*
  * Software License Agreement (BSD License)
  * Software License Agreement (BSD License)
- * Copyright (c) 2012, hathach (tinyusb.net)
+ * Copyright (c) 2013, hathach (tinyusb.net)
  * All rights reserved.
  * All rights reserved.
  *
  *
  * Redistribution and use in source and binary forms, with or without modification,
  * Redistribution and use in source and binary forms, with or without modification,

+ 1 - 1
tinyusb/hal/hal_lpc43xx.c

@@ -7,7 +7,7 @@
 
 
 /*
 /*
  * Software License Agreement (BSD License)
  * Software License Agreement (BSD License)
- * Copyright (c) 2012, hathach (tinyusb.net)
+ * Copyright (c) 2013, hathach (tinyusb.net)
  * All rights reserved.
  * All rights reserved.
  *
  *
  * Redistribution and use in source and binary forms, with or without modification,
  * Redistribution and use in source and binary forms, with or without modification,

+ 1 - 1
tinyusb/hal/hal_lpc43xx.h

@@ -7,7 +7,7 @@
 
 
 /*
 /*
  * Software License Agreement (BSD License)
  * Software License Agreement (BSD License)
- * Copyright (c) 2012, hathach (tinyusb.net)
+ * Copyright (c) 2013, hathach (tinyusb.net)
  * All rights reserved.
  * All rights reserved.
  *
  *
  * Redistribution and use in source and binary forms, with or without modification,
  * Redistribution and use in source and binary forms, with or without modification,

+ 1 - 1
tinyusb/host/hcd.c

@@ -7,7 +7,7 @@
 
 
 /*
 /*
  * Software License Agreement (BSD License)
  * Software License Agreement (BSD License)
- * Copyright (c) 2012, hathach (tinyusb.net)
+ * Copyright (c) 2013, hathach (tinyusb.net)
  * All rights reserved.
  * All rights reserved.
  *
  *
  * Redistribution and use in source and binary forms, with or without modification,
  * Redistribution and use in source and binary forms, with or without modification,

+ 1 - 1
tinyusb/host/hcd.h

@@ -7,7 +7,7 @@
 
 
 /*
 /*
  * Software License Agreement (BSD License)
  * Software License Agreement (BSD License)
- * Copyright (c) 2012, hathach (tinyusb.net)
+ * Copyright (c) 2013, hathach (tinyusb.net)
  * All rights reserved.
  * All rights reserved.
  *
  *
  * Redistribution and use in source and binary forms, with or without modification,
  * Redistribution and use in source and binary forms, with or without modification,

+ 1 - 1
tinyusb/host/usbd_host.c

@@ -7,7 +7,7 @@
 
 
 /*
 /*
  * Software License Agreement (BSD License)
  * Software License Agreement (BSD License)
- * Copyright (c) 2012, hathach (tinyusb.net)
+ * Copyright (c) 2013, hathach (tinyusb.net)
  * All rights reserved.
  * All rights reserved.
  *
  *
  * Redistribution and use in source and binary forms, with or without modification,
  * Redistribution and use in source and binary forms, with or without modification,

+ 4 - 4
tinyusb/host/usbd_host.h

@@ -7,7 +7,7 @@
 
 
 /*
 /*
  * Software License Agreement (BSD License)
  * Software License Agreement (BSD License)
- * Copyright (c) 2012, hathach (tinyusb.net)
+ * Copyright (c) 2013, hathach (tinyusb.net)
  * All rights reserved.
  * All rights reserved.
  *
  *
  * Redistribution and use in source and binary forms, with or without modification,
  * Redistribution and use in source and binary forms, with or without modification,
@@ -133,7 +133,7 @@ typedef uint32_t tusb_handle_device_t;
 //--------------------------------------------------------------------+
 //--------------------------------------------------------------------+
 void         tusbh_device_mounting_cb (tusb_error_t const error, tusb_handle_device_t const device_hdl);
 void         tusbh_device_mounting_cb (tusb_error_t const error, tusb_handle_device_t const device_hdl);
 void         tusbh_device_mounted_cb (tusb_error_t const error, tusb_handle_device_t const device_hdl);
 void         tusbh_device_mounted_cb (tusb_error_t const error, tusb_handle_device_t const device_hdl);
-tusb_error_t tusbh_configuration_set     (tusb_handle_device_t const device_hdl, uint8_t const configure_number);
+tusb_error_t tusbh_configuration_set     (tusb_handle_device_t const device_hdl, uint8_t const configure_number) ATTR_WARN_UNUSED_RESULT;
 
 
 
 
 //--------------------------------------------------------------------+
 //--------------------------------------------------------------------+
@@ -141,8 +141,8 @@ tusb_error_t tusbh_configuration_set     (tusb_handle_device_t const device_hdl,
 //--------------------------------------------------------------------+
 //--------------------------------------------------------------------+
 #ifdef _TINY_USB_SOURCE_FILE_
 #ifdef _TINY_USB_SOURCE_FILE_
 
 
-bool          usbh_device_is_plugged(tusb_handle_device_t const device_hdl);
-pipe_status_t usbh_pipe_status_get(pipe_handle_t pipe_hdl);
+bool          usbh_device_is_plugged(tusb_handle_device_t const device_hdl) ATTR_WARN_UNUSED_RESULT;
+pipe_status_t usbh_pipe_status_get(pipe_handle_t pipe_hdl) ATTR_WARN_UNUSED_RESULT;
 
 
 #endif
 #endif
 
 

+ 1 - 1
tinyusb/license.txt

@@ -1,6 +1,6 @@
 /*
 /*
  * Software License Agreement (BSD License)
  * Software License Agreement (BSD License)
- * Copyright (c) 2012, hathach (tinyusb.net)
+ * Copyright (c) 2013, hathach (tinyusb.net)
  * All rights reserved.
  * All rights reserved.
  *
  *
  * Redistribution and use in source and binary forms, with or without modification,
  * Redistribution and use in source and binary forms, with or without modification,

+ 1 - 1
tinyusb/osal/osal.h

@@ -7,7 +7,7 @@
 
 
 /*
 /*
  * Software License Agreement (BSD License)
  * Software License Agreement (BSD License)
- * Copyright (c) 2012, hathach (tinyusb.net)
+ * Copyright (c) 2013, hathach (tinyusb.net)
  * All rights reserved.
  * All rights reserved.
  *
  *
  * Redistribution and use in source and binary forms, with or without modification,
  * Redistribution and use in source and binary forms, with or without modification,

+ 1 - 1
tinyusb/osal/osal_none.c

@@ -7,7 +7,7 @@
 
 
 /*
 /*
  * Software License Agreement (BSD License)
  * Software License Agreement (BSD License)
- * Copyright (c) 2012, hathach (tinyusb.net)
+ * Copyright (c) 2013, hathach (tinyusb.net)
  * All rights reserved.
  * All rights reserved.
  *
  *
  * Redistribution and use in source and binary forms, with or without modification,
  * Redistribution and use in source and binary forms, with or without modification,

+ 1 - 1
tinyusb/osal/osal_none.h

@@ -7,7 +7,7 @@
 
 
 /*
 /*
  * Software License Agreement (BSD License)
  * Software License Agreement (BSD License)
- * Copyright (c) 2012, hathach (tinyusb.net)
+ * Copyright (c) 2013, hathach (tinyusb.net)
  * All rights reserved.
  * All rights reserved.
  *
  *
  * Redistribution and use in source and binary forms, with or without modification,
  * Redistribution and use in source and binary forms, with or without modification,

+ 1 - 1
tinyusb/tusb.c

@@ -7,7 +7,7 @@
 
 
 /*
 /*
  * Software License Agreement (BSD License)
  * Software License Agreement (BSD License)
- * Copyright (c) 2012, hathach (tinyusb.net)
+ * Copyright (c) 2013, hathach (tinyusb.net)
  * All rights reserved.
  * All rights reserved.
  *
  *
  * Redistribution and use in source and binary forms, with or without modification,
  * Redistribution and use in source and binary forms, with or without modification,

+ 1 - 1
tinyusb/tusb.h

@@ -7,7 +7,7 @@
 
 
 /*
 /*
  * Software License Agreement (BSD License)
  * Software License Agreement (BSD License)
- * Copyright (c) 2012, hathach (tinyusb.net)
+ * Copyright (c) 2013, hathach (tinyusb.net)
  * All rights reserved.
  * All rights reserved.
  *
  *
  * Redistribution and use in source and binary forms, with or without modification,
  * Redistribution and use in source and binary forms, with or without modification,

+ 1 - 1
tinyusb/tusb_option.h

@@ -7,7 +7,7 @@
 
 
 /*
 /*
  * Software License Agreement (BSD License)
  * Software License Agreement (BSD License)
- * Copyright (c) 2012, hathach (tinyusb.net)
+ * Copyright (c) 2013, hathach (tinyusb.net)
  * All rights reserved.
  * All rights reserved.
  *
  *
  * Redistribution and use in source and binary forms, with or without modification,
  * Redistribution and use in source and binary forms, with or without modification,