summaryrefslogtreecommitdiff
path: root/demos
diff options
context:
space:
mode:
authorhathach <[email protected]>2013-01-27 13:50:40 +0700
committerhathach <[email protected]>2013-01-27 13:50:40 +0700
commit535f33002670dc0ca20aa73d7c025faea15b88d0 (patch)
treed043b0dcdc573d011e9dad06882720190ba74a3c /demos
parentf613c32422a9b1815785d38427d3096a97bd3457 (diff)
update license year from 2012 to 2013
Diffstat (limited to 'demos')
-rw-r--r--demos/bsp/boards/board.c2
-rw-r--r--demos/bsp/boards/board.h2
-rw-r--r--demos/bsp/boards/board_at86rf2xx.c2
-rw-r--r--demos/bsp/boards/board_at86rf2xx.h2
-rw-r--r--demos/bsp/boards/board_ea4357.c2
-rw-r--r--demos/bsp/boards/board_ea4357.h2
-rw-r--r--demos/bsp/boards/board_lpcxpresso1347.c2
-rw-r--r--demos/bsp/boards/board_lpcxpresso1347.h2
-rw-r--r--demos/bsp/boards/board_ngx4330.c2
-rw-r--r--demos/bsp/boards/printf_retarget.c2
-rw-r--r--demos/host/.cproject2
-rw-r--r--demos/host/tusb_config.h30
12 files changed, 32 insertions, 20 deletions
diff --git a/demos/bsp/boards/board.c b/demos/bsp/boards/board.c
index 78f794c0c..aca9f16e2 100644
--- a/demos/bsp/boards/board.c
+++ b/demos/bsp/boards/board.c
@@ -7,7 +7,7 @@
/*
* Software License Agreement (BSD License)
- * Copyright (c) 2012, hathach (tinyusb.net)
+ * Copyright (c) 2013, hathach (tinyusb.net)
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
diff --git a/demos/bsp/boards/board.h b/demos/bsp/boards/board.h
index 237c346d4..611386c8e 100644
--- a/demos/bsp/boards/board.h
+++ b/demos/bsp/boards/board.h
@@ -7,7 +7,7 @@
/*
* Software License Agreement (BSD License)
- * Copyright (c) 2012, hathach (tinyusb.net)
+ * Copyright (c) 2013, hathach (tinyusb.net)
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
diff --git a/demos/bsp/boards/board_at86rf2xx.c b/demos/bsp/boards/board_at86rf2xx.c
index 476efdce7..07471b99f 100644
--- a/demos/bsp/boards/board_at86rf2xx.c
+++ b/demos/bsp/boards/board_at86rf2xx.c
@@ -7,7 +7,7 @@
/*
* Software License Agreement (BSD License)
- * Copyright (c) 2012, hathach (tinyusb.net)
+ * Copyright (c) 2013, hathach (tinyusb.net)
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
diff --git a/demos/bsp/boards/board_at86rf2xx.h b/demos/bsp/boards/board_at86rf2xx.h
index 49fab2ead..0961e626c 100644
--- a/demos/bsp/boards/board_at86rf2xx.h
+++ b/demos/bsp/boards/board_at86rf2xx.h
@@ -7,7 +7,7 @@
/*
* Software License Agreement (BSD License)
- * Copyright (c) 2012, hathach (tinyusb.net)
+ * Copyright (c) 2013, hathach (tinyusb.net)
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
diff --git a/demos/bsp/boards/board_ea4357.c b/demos/bsp/boards/board_ea4357.c
index 1902e2ce9..00a2af7bf 100644
--- a/demos/bsp/boards/board_ea4357.c
+++ b/demos/bsp/boards/board_ea4357.c
@@ -7,7 +7,7 @@
/*
* Software License Agreement (BSD License)
- * Copyright (c) 2012, hathach (tinyusb.net)
+ * Copyright (c) 2013, hathach (tinyusb.net)
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
diff --git a/demos/bsp/boards/board_ea4357.h b/demos/bsp/boards/board_ea4357.h
index faab1f4e1..1b27ba13b 100644
--- a/demos/bsp/boards/board_ea4357.h
+++ b/demos/bsp/boards/board_ea4357.h
@@ -7,7 +7,7 @@
/*
* Software License Agreement (BSD License)
- * Copyright (c) 2012, hathach (tinyusb.net)
+ * Copyright (c) 2013, hathach (tinyusb.net)
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
diff --git a/demos/bsp/boards/board_lpcxpresso1347.c b/demos/bsp/boards/board_lpcxpresso1347.c
index 987a0ba86..5e5d276fa 100644
--- a/demos/bsp/boards/board_lpcxpresso1347.c
+++ b/demos/bsp/boards/board_lpcxpresso1347.c
@@ -7,7 +7,7 @@
/*
* Software License Agreement (BSD License)
- * Copyright (c) 2012, hathach (tinyusb.net)
+ * Copyright (c) 2013, hathach (tinyusb.net)
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
diff --git a/demos/bsp/boards/board_lpcxpresso1347.h b/demos/bsp/boards/board_lpcxpresso1347.h
index f9a9aa768..badaa52f7 100644
--- a/demos/bsp/boards/board_lpcxpresso1347.h
+++ b/demos/bsp/boards/board_lpcxpresso1347.h
@@ -7,7 +7,7 @@
/*
* Software License Agreement (BSD License)
- * Copyright (c) 2012, hathach (tinyusb.net)
+ * Copyright (c) 2013, hathach (tinyusb.net)
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
diff --git a/demos/bsp/boards/board_ngx4330.c b/demos/bsp/boards/board_ngx4330.c
index f6f469b51..8496638cc 100644
--- a/demos/bsp/boards/board_ngx4330.c
+++ b/demos/bsp/boards/board_ngx4330.c
@@ -7,7 +7,7 @@
/*
* Software License Agreement (BSD License)
- * Copyright (c) 2012, hathach (tinyusb.net)
+ * Copyright (c) 2013, hathach (tinyusb.net)
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
diff --git a/demos/bsp/boards/printf_retarget.c b/demos/bsp/boards/printf_retarget.c
index 232839b3c..501213a3a 100644
--- a/demos/bsp/boards/printf_retarget.c
+++ b/demos/bsp/boards/printf_retarget.c
@@ -7,7 +7,7 @@
/*
* Software License Agreement (BSD License)
- * Copyright (c) 2012, hathach (tinyusb.net)
+ * Copyright (c) 2013, hathach (tinyusb.net)
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
diff --git a/demos/host/.cproject b/demos/host/.cproject
index 6d8f8efb2..b9eebffc8 100644
--- a/demos/host/.cproject
+++ b/demos/host/.cproject
@@ -429,6 +429,7 @@
</scannerConfigBuildInfo>
</storageModule>
<storageModule moduleId="org.eclipse.cdt.internal.ui.text.commentOwnerProjectMappings"/>
+ <storageModule moduleId="org.eclipse.cdt.make.core.buildtargets"/>
</cconfiguration>
<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">
@@ -856,6 +857,7 @@
</scannerConfigBuildInfo>
</storageModule>
<storageModule moduleId="org.eclipse.cdt.internal.ui.text.commentOwnerProjectMappings"/>
+ <storageModule moduleId="org.eclipse.cdt.make.core.buildtargets"/>
</cconfiguration>
</storageModule>
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
diff --git a/demos/host/tusb_config.h b/demos/host/tusb_config.h
index e30751423..846492670 100644
--- a/demos/host/tusb_config.h
+++ b/demos/host/tusb_config.h
@@ -7,7 +7,7 @@
/*
* Software License Agreement (BSD License)
- * Copyright (c) 2012, hathach (tinyusb.net)
+ * Copyright (c) 2013, hathach (tinyusb.net)
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
@@ -55,26 +55,36 @@
extern "C" {
#endif
+//--------------------------------------------------------------------+
+// HOST CONFIGURATION
+//--------------------------------------------------------------------+
#define TUSB_CFG_HOST
+//------------- CORE/CONTROLLER -------------//
#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
-/// 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
-
-/// Enable HID Mouse support
//#define TUSB_CFG_DEVICE_HID_MOUSE
+//--------------------------------------------------------------------+
+// COMMON CONFIGURATION
+//--------------------------------------------------------------------+
+
#define TUSB_CFG_DEBUG 3
#define TUSB_CFG_OS TUSB_OS_NONE