Explorar o código

doxygen have problem with bolding the hyperlink. use <b> instead

hathach %!s(int64=12) %!d(string=hai) anos
pai
achega
14133342ec

+ 6 - 6
boards/readme.md

@@ -2,14 +2,14 @@
 
 ## Supported Boards ##
 
-this code base already had supported a handful of boards. However due to my limited arsenal, **only bold ones are (probably) guaranteed to run out of the box**. Other are merely implemented based on their schematics and need help from you to make it work.
+this code base already had supported for a handful of boards. However due to my limited collection, **only bold ones are (probably) guaranteed to run out of the box**. Other are merely implemented based on their schematics and needed help from you to make it work.
 
 ### NXP MCU ###
 
 - [LPCXpresso 11u14](http://www.embeddedartists.com/products/lpcxpresso/lpc11U14_xpr.php) with base board (for some peripherals to work)
-- **[Microbuilder RF1GHZNODE](http://www.microbuilder.eu/Blog/13-03-14/LPC1xxx_1GHZ_Wireless_Board_Preview.aspx)** equipped with LPC11u37
-- **[LPCXpresso 1347](http://www.embeddedartists.com/products/lpcxpresso/lpc1347_xpr.php)** with base board (for some peripherals to work)
-- **[LPCXpresso 1769](http://www.embeddedartists.com/products/lpcxpresso/lpc1347_xpr.php)** with base board (for some peripherals to work)
-- **[Embedded Artists LPC4357 OEM & Base board](http://www.embeddedartists.com/products/kits/lpc4357_kit.php)**
-- **[NGX LPC4330 Explorer](http://shop.ngxtechnologies.com/product_info.php?products_id=104)**
+- [<b>Microbuilder RF1GHZNODE</b>](http://www.microbuilder.eu/Blog/13-03-14/LPC1xxx_1GHZ_Wireless_Board_Preview.aspx) equipped with LPC11u37
+- [<b>LPCXpresso 1347</b>](http://www.embeddedartists.com/products/lpcxpresso/lpc1347_xpr.php) with base board (for some peripherals to work)
+- [<b>LPCXpresso 1769</b>](http://www.embeddedartists.com/products/lpcxpresso/lpc1347_xpr.php)** with base board (for some peripherals to work)
+- [<b>Embedded Artists LPC4357 OEM & Base board</b>](http://www.embeddedartists.com/products/kits/lpc4357_kit.php)
+- [<b>NGX LPC4330 Explorer</b>](http://shop.ngxtechnologies.com/product_info.php?products_id=104)
 - [Keil MCB4357 Evaluation Board](http://www.keil.com/mcb4300)

+ 5 - 5
demos/host/host_cmsis_rtx/host_cmsis_rtx.ewp

@@ -2778,22 +2778,22 @@
   <group>
     <name>app</name>
     <file>
-      <name>$PROJ_DIR$\..\src\cdc_serial_app.c</name>
+      <name>$PROJ_DIR$\..\src\cdc_serial_host_app.c</name>
     </file>
     <file>
-      <name>$PROJ_DIR$\..\src\cli.c</name>
+      <name>$PROJ_DIR$\..\src\msc_cli.c</name>
     </file>
     <file>
-      <name>$PROJ_DIR$\..\src\keyboard_app.c</name>
+      <name>$PROJ_DIR$\..\src\keyboard_host_app.c</name>
     </file>
     <file>
       <name>$PROJ_DIR$\..\src\main.c</name>
     </file>
     <file>
-      <name>$PROJ_DIR$\..\src\mouse_app.c</name>
+      <name>$PROJ_DIR$\..\src\mouse_host_app.c</name>
     </file>
     <file>
-      <name>$PROJ_DIR$\..\src\msc_app.c</name>
+      <name>$PROJ_DIR$\..\src\msc_host_app.c</name>
     </file>
   </group>
   <group>

+ 26 - 26
demos/host/host_cmsis_rtx/host_cmsis_rtx.uvopt

@@ -622,7 +622,7 @@
 
   <Group>
     <GroupName>app</GroupName>
-    <tvExp>0</tvExp>
+    <tvExp>1</tvExp>
     <tvExpOptDlg>0</tvExpOptDlg>
     <cbSel>0</cbSel>
     <RteFlg>0</RteFlg>
@@ -634,7 +634,7 @@
       <Focus>0</Focus>
       <ColumnNumber>64</ColumnNumber>
       <tvExpOptDlg>0</tvExpOptDlg>
-      <TopLine>57</TopLine>
+      <TopLine>58</TopLine>
       <CurrentLine>64</CurrentLine>
       <bDave2>0</bDave2>
       <PathWithFileName>..\src\main.c</PathWithFileName>
@@ -648,13 +648,13 @@
       <FileType>1</FileType>
       <tvExp>0</tvExp>
       <Focus>0</Focus>
-      <ColumnNumber>1</ColumnNumber>
+      <ColumnNumber>0</ColumnNumber>
       <tvExpOptDlg>0</tvExpOptDlg>
       <TopLine>0</TopLine>
       <CurrentLine>0</CurrentLine>
       <bDave2>0</bDave2>
-      <PathWithFileName>..\src\cdc_serial_app.c</PathWithFileName>
-      <FilenameWithoutPath>cdc_serial_app.c</FilenameWithoutPath>
+      <PathWithFileName>..\src\cdc_serial_host_app.c</PathWithFileName>
+      <FilenameWithoutPath>cdc_serial_host_app.c</FilenameWithoutPath>
       <RteFlg>0</RteFlg>
       <bShared>0</bShared>
     </File>
@@ -664,13 +664,13 @@
       <FileType>1</FileType>
       <tvExp>0</tvExp>
       <Focus>0</Focus>
-      <ColumnNumber>48</ColumnNumber>
+      <ColumnNumber>0</ColumnNumber>
       <tvExpOptDlg>0</tvExpOptDlg>
-      <TopLine>103</TopLine>
-      <CurrentLine>107</CurrentLine>
+      <TopLine>0</TopLine>
+      <CurrentLine>0</CurrentLine>
       <bDave2>0</bDave2>
-      <PathWithFileName>..\src\keyboard_app.c</PathWithFileName>
-      <FilenameWithoutPath>keyboard_app.c</FilenameWithoutPath>
+      <PathWithFileName>..\src\keyboard_host_app.c</PathWithFileName>
+      <FilenameWithoutPath>keyboard_host_app.c</FilenameWithoutPath>
       <RteFlg>0</RteFlg>
       <bShared>0</bShared>
     </File>
@@ -680,13 +680,13 @@
       <FileType>1</FileType>
       <tvExp>0</tvExp>
       <Focus>0</Focus>
-      <ColumnNumber>47</ColumnNumber>
+      <ColumnNumber>0</ColumnNumber>
       <tvExpOptDlg>0</tvExpOptDlg>
       <TopLine>0</TopLine>
       <CurrentLine>0</CurrentLine>
       <bDave2>0</bDave2>
-      <PathWithFileName>..\src\mouse_app.c</PathWithFileName>
-      <FilenameWithoutPath>mouse_app.c</FilenameWithoutPath>
+      <PathWithFileName>..\src\mouse_host_app.c</PathWithFileName>
+      <FilenameWithoutPath>mouse_host_app.c</FilenameWithoutPath>
       <RteFlg>0</RteFlg>
       <bShared>0</bShared>
     </File>
@@ -701,8 +701,8 @@
       <TopLine>0</TopLine>
       <CurrentLine>0</CurrentLine>
       <bDave2>0</bDave2>
-      <PathWithFileName>..\src\rndis_app.c</PathWithFileName>
-      <FilenameWithoutPath>rndis_app.c</FilenameWithoutPath>
+      <PathWithFileName>..\src\rndis_host_app.c</PathWithFileName>
+      <FilenameWithoutPath>rndis_host_app.c</FilenameWithoutPath>
       <RteFlg>0</RteFlg>
       <bShared>0</bShared>
     </File>
@@ -714,11 +714,11 @@
       <Focus>0</Focus>
       <ColumnNumber>0</ColumnNumber>
       <tvExpOptDlg>0</tvExpOptDlg>
-      <TopLine>143</TopLine>
-      <CurrentLine>145</CurrentLine>
+      <TopLine>0</TopLine>
+      <CurrentLine>0</CurrentLine>
       <bDave2>0</bDave2>
-      <PathWithFileName>..\src\msc_app.c</PathWithFileName>
-      <FilenameWithoutPath>msc_app.c</FilenameWithoutPath>
+      <PathWithFileName>..\src\msc_host_app.c</PathWithFileName>
+      <FilenameWithoutPath>msc_host_app.c</FilenameWithoutPath>
       <RteFlg>0</RteFlg>
       <bShared>0</bShared>
     </File>
@@ -733,8 +733,8 @@
       <TopLine>0</TopLine>
       <CurrentLine>0</CurrentLine>
       <bDave2>0</bDave2>
-      <PathWithFileName>..\src\cli.c</PathWithFileName>
-      <FilenameWithoutPath>cli.c</FilenameWithoutPath>
+      <PathWithFileName>..\src\msc_cli.c</PathWithFileName>
+      <FilenameWithoutPath>msc_cli.c</FilenameWithoutPath>
       <RteFlg>0</RteFlg>
       <bShared>0</bShared>
     </File>
@@ -986,7 +986,7 @@
       <Focus>0</Focus>
       <ColumnNumber>17</ColumnNumber>
       <tvExpOptDlg>0</tvExpOptDlg>
-      <TopLine>370</TopLine>
+      <TopLine>371</TopLine>
       <CurrentLine>373</CurrentLine>
       <bDave2>0</bDave2>
       <PathWithFileName>..\..\..\tinyusb\host\usbh.c</PathWithFileName>
@@ -1346,7 +1346,7 @@
       <Focus>0</Focus>
       <ColumnNumber>0</ColumnNumber>
       <tvExpOptDlg>0</tvExpOptDlg>
-      <TopLine>214</TopLine>
+      <TopLine>215</TopLine>
       <CurrentLine>218</CurrentLine>
       <bDave2>0</bDave2>
       <PathWithFileName>..\..\..\vendor\cmsis_rtos_rtx\RTX_Conf_CM.c</PathWithFileName>
@@ -1522,7 +1522,7 @@
       <Focus>0</Focus>
       <ColumnNumber>68</ColumnNumber>
       <tvExpOptDlg>0</tvExpOptDlg>
-      <TopLine>117</TopLine>
+      <TopLine>118</TopLine>
       <CurrentLine>120</CurrentLine>
       <bDave2>0</bDave2>
       <PathWithFileName>..\..\..\mcu\lpc43xx\CMSIS_LPC43xx_DriverLib\src\system_LPC43xx.c</PathWithFileName>
@@ -1554,7 +1554,7 @@
       <Focus>0</Focus>
       <ColumnNumber>25</ColumnNumber>
       <tvExpOptDlg>0</tvExpOptDlg>
-      <TopLine>163</TopLine>
+      <TopLine>164</TopLine>
       <CurrentLine>166</CurrentLine>
       <bDave2>0</bDave2>
       <PathWithFileName>..\..\..\mcu\lpc43xx\keil\startup_LPC43xx.s</PathWithFileName>
@@ -1658,7 +1658,7 @@
       <Focus>0</Focus>
       <ColumnNumber>22</ColumnNumber>
       <tvExpOptDlg>0</tvExpOptDlg>
-      <TopLine>125</TopLine>
+      <TopLine>126</TopLine>
       <CurrentLine>128</CurrentLine>
       <bDave2>0</bDave2>
       <PathWithFileName>..\..\..\mcu\lpc175x_6x\keil\startup_LPC17xx.s</PathWithFileName>

+ 36 - 36
demos/host/host_cmsis_rtx/host_cmsis_rtx.uvproj

@@ -397,34 +397,34 @@
               <FilePath>..\src\main.c</FilePath>
             </File>
             <File>
-              <FileName>cdc_serial_app.c</FileName>
+              <FileName>cdc_serial_host_app.c</FileName>
               <FileType>1</FileType>
-              <FilePath>..\src\cdc_serial_app.c</FilePath>
+              <FilePath>..\src\cdc_serial_host_app.c</FilePath>
             </File>
             <File>
-              <FileName>keyboard_app.c</FileName>
+              <FileName>keyboard_host_app.c</FileName>
               <FileType>1</FileType>
-              <FilePath>..\src\keyboard_app.c</FilePath>
+              <FilePath>..\src\keyboard_host_app.c</FilePath>
             </File>
             <File>
-              <FileName>mouse_app.c</FileName>
+              <FileName>mouse_host_app.c</FileName>
               <FileType>1</FileType>
-              <FilePath>..\src\mouse_app.c</FilePath>
+              <FilePath>..\src\mouse_host_app.c</FilePath>
             </File>
             <File>
-              <FileName>rndis_app.c</FileName>
+              <FileName>rndis_host_app.c</FileName>
               <FileType>1</FileType>
-              <FilePath>..\src\rndis_app.c</FilePath>
+              <FilePath>..\src\rndis_host_app.c</FilePath>
             </File>
             <File>
-              <FileName>msc_app.c</FileName>
+              <FileName>msc_host_app.c</FileName>
               <FileType>1</FileType>
-              <FilePath>..\src\msc_app.c</FilePath>
+              <FilePath>..\src\msc_host_app.c</FilePath>
             </File>
             <File>
-              <FileName>cli.c</FileName>
+              <FileName>msc_cli.c</FileName>
               <FileType>1</FileType>
-              <FilePath>..\src\cli.c</FilePath>
+              <FilePath>..\src\msc_cli.c</FilePath>
             </File>
           </Files>
         </Group>
@@ -1200,34 +1200,34 @@
               <FilePath>..\src\main.c</FilePath>
             </File>
             <File>
-              <FileName>cdc_serial_app.c</FileName>
+              <FileName>cdc_serial_host_app.c</FileName>
               <FileType>1</FileType>
-              <FilePath>..\src\cdc_serial_app.c</FilePath>
+              <FilePath>..\src\cdc_serial_host_app.c</FilePath>
             </File>
             <File>
-              <FileName>keyboard_app.c</FileName>
+              <FileName>keyboard_host_app.c</FileName>
               <FileType>1</FileType>
-              <FilePath>..\src\keyboard_app.c</FilePath>
+              <FilePath>..\src\keyboard_host_app.c</FilePath>
             </File>
             <File>
-              <FileName>mouse_app.c</FileName>
+              <FileName>mouse_host_app.c</FileName>
               <FileType>1</FileType>
-              <FilePath>..\src\mouse_app.c</FilePath>
+              <FilePath>..\src\mouse_host_app.c</FilePath>
             </File>
             <File>
-              <FileName>rndis_app.c</FileName>
+              <FileName>rndis_host_app.c</FileName>
               <FileType>1</FileType>
-              <FilePath>..\src\rndis_app.c</FilePath>
+              <FilePath>..\src\rndis_host_app.c</FilePath>
             </File>
             <File>
-              <FileName>msc_app.c</FileName>
+              <FileName>msc_host_app.c</FileName>
               <FileType>1</FileType>
-              <FilePath>..\src\msc_app.c</FilePath>
+              <FilePath>..\src\msc_host_app.c</FilePath>
             </File>
             <File>
-              <FileName>cli.c</FileName>
+              <FileName>msc_cli.c</FileName>
               <FileType>1</FileType>
-              <FilePath>..\src\cli.c</FilePath>
+              <FilePath>..\src\msc_cli.c</FilePath>
             </File>
           </Files>
         </Group>
@@ -1969,34 +1969,34 @@
               <FilePath>..\src\main.c</FilePath>
             </File>
             <File>
-              <FileName>cdc_serial_app.c</FileName>
+              <FileName>cdc_serial_host_app.c</FileName>
               <FileType>1</FileType>
-              <FilePath>..\src\cdc_serial_app.c</FilePath>
+              <FilePath>..\src\cdc_serial_host_app.c</FilePath>
             </File>
             <File>
-              <FileName>keyboard_app.c</FileName>
+              <FileName>keyboard_host_app.c</FileName>
               <FileType>1</FileType>
-              <FilePath>..\src\keyboard_app.c</FilePath>
+              <FilePath>..\src\keyboard_host_app.c</FilePath>
             </File>
             <File>
-              <FileName>mouse_app.c</FileName>
+              <FileName>mouse_host_app.c</FileName>
               <FileType>1</FileType>
-              <FilePath>..\src\mouse_app.c</FilePath>
+              <FilePath>..\src\mouse_host_app.c</FilePath>
             </File>
             <File>
-              <FileName>rndis_app.c</FileName>
+              <FileName>rndis_host_app.c</FileName>
               <FileType>1</FileType>
-              <FilePath>..\src\rndis_app.c</FilePath>
+              <FilePath>..\src\rndis_host_app.c</FilePath>
             </File>
             <File>
-              <FileName>msc_app.c</FileName>
+              <FileName>msc_host_app.c</FileName>
               <FileType>1</FileType>
-              <FilePath>..\src\msc_app.c</FilePath>
+              <FilePath>..\src\msc_host_app.c</FilePath>
             </File>
             <File>
-              <FileName>cli.c</FileName>
+              <FileName>msc_cli.c</FileName>
               <FileType>1</FileType>
-              <FilePath>..\src\cli.c</FilePath>
+              <FilePath>..\src\msc_cli.c</FilePath>
             </File>
           </Files>
         </Group>

+ 0 - 92
demos/host/host_os_none/.cproject

@@ -281,98 +281,6 @@
 			<storageModule moduleId="org.eclipse.cdt.make.core.buildtargets"/>
 			<storageModule moduleId="scannerConfiguration"/>
 		</cconfiguration>
-		<cconfiguration id="com.crt.advproject.config.exe.debug.1239969983.636406670.533943402">
-			<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.crt.advproject.config.exe.debug.1239969983.636406670.533943402" moduleId="org.eclipse.cdt.core.settings" name="Board Hitex4350">
-				<macros>
-					<stringMacro name="CFLAGS_OFF" type="VALUE_TEXT" value=""/>
-					<stringMacro name="CFLAGS" type="VALUE_TEXT" value="${CFLAGS_OFF}"/>
-					<stringMacro name="CFLAGS_ON" type="VALUE_TEXT" value="-Wextra -Wswitch-default -Wunsafe-loop-optimizations -Wcast-align -Wlogical-op -Wpacked-bitfield-compat -Wnested-externs -Wredundant-decls -Winline"/>
-				</macros>
-				<externalSettings/>
-				<extensions>
-					<extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/>
-					<extension id="org.eclipse.cdt.core.GNU_ELF" point="org.eclipse.cdt.core.BinaryParser"/>
-					<extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
-					<extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/>
-					<extension id="org.eclipse.cdt.core.MakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
-					<extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
-					<extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
-					<extension id="org.eclipse.cdt.core.GLDErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
-				</extensions>
-			</storageModule>
-			<storageModule moduleId="cdtBuildSystem" version="4.0.0">
-				<configuration artifactExtension="axf" artifactName="${ProjName}" buildArtefactType="org.eclipse.cdt.build.core.buildArtefactType.exe" buildProperties="org.eclipse.cdt.build.core.buildArtefactType=org.eclipse.cdt.build.core.buildArtefactType.exe" cleanCommand="rm -rf" description="not tested" errorParsers="org.eclipse.cdt.core.MakeErrorParser;org.eclipse.cdt.core.GCCErrorParser;org.eclipse.cdt.core.GLDErrorParser;org.eclipse.cdt.core.GASErrorParser;org.eclipse.cdt.core.CWDLocator;org.eclipse.cdt.core.GmakeErrorParser" id="com.crt.advproject.config.exe.debug.1239969983.636406670.533943402" name="Board Hitex4350" parent="com.crt.advproject.config.exe.debug" postannouncebuildStep="Performing post-build steps" postbuildStep="arm-none-eabi-size &quot;${BuildArtifactFileName}&quot;; # arm-none-eabi-objcopy -O binary &quot;${BuildArtifactFileName}&quot; &quot;${BuildArtifactFileBaseName}.bin&quot; ; checksum -p ${TargetChip} -d &quot;${BuildArtifactFileBaseName}.bin&quot;;  " preannouncebuildStep="" prebuildStep="">
-					<folderInfo id="com.crt.advproject.config.exe.debug.1239969983.636406670.533943402." name="/" resourcePath="">
-						<toolChain errorParsers="" id="com.crt.advproject.toolchain.exe.debug.560089150" name="Code Red MCU Tools" superClass="com.crt.advproject.toolchain.exe.debug">
-							<targetPlatform binaryParser="org.eclipse.cdt.core.ELF;org.eclipse.cdt.core.GNU_ELF" id="com.crt.advproject.platform.exe.debug.1115060065" name="ARM-based MCU (Debug)" superClass="com.crt.advproject.platform.exe.debug"/>
-							<builder buildPath="${workspace_loc:/host/Debug}" errorParsers="org.eclipse.cdt.core.GmakeErrorParser;org.eclipse.cdt.core.CWDLocator" id="com.crt.advproject.builder.exe.debug.1516348025" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="Gnu Make Builder" superClass="com.crt.advproject.builder.exe.debug"/>
-							<tool id="com.crt.advproject.cpp.exe.debug.699856147" name="MCU C++ Compiler" superClass="com.crt.advproject.cpp.exe.debug"/>
-							<tool command="arm-none-eabi-gcc" commandLinePattern="${COMMAND} ${FLAGS} ${CFLAGS} ${OUTPUT_FLAG}${OUTPUT_PREFIX}${OUTPUT} ${INPUTS}" errorParsers="org.eclipse.cdt.core.GCCErrorParser" id="com.crt.advproject.gcc.exe.debug.2004768424" name="MCU C Compiler" superClass="com.crt.advproject.gcc.exe.debug">
-								<option id="com.crt.advproject.gcc.arch.14610984" name="Architecture" superClass="com.crt.advproject.gcc.arch" value="com.crt.advproject.gcc.target.cm4" valueType="enumerated"/>
-								<option id="com.crt.advproject.gcc.thumb.1843997599" name="Thumb mode" superClass="com.crt.advproject.gcc.thumb" value="true" valueType="boolean"/>
-								<option id="gnu.c.compiler.option.preprocessor.def.symbols.1076286246" name="Defined symbols (-D)" superClass="gnu.c.compiler.option.preprocessor.def.symbols" valueType="definedSymbols">
-									<listOptionValue builtIn="false" value="__REDLIB__"/>
-									<listOptionValue builtIn="false" value="__USE_CMSIS=CMSIS_LPC43xx_DriverLib"/>
-									<listOptionValue builtIn="false" value="CORE_M4"/>
-									<listOptionValue builtIn="false" value="TUSB_CFG_MCU=MCU_LPC43XX"/>
-									<listOptionValue builtIn="false" value="BOARD=BOARD_HITEX4350"/>
-									<listOptionValue builtIn="false" value="TUSB_CFG_OS=TUSB_OS_NONE"/>
-									<listOptionValue builtIn="false" value="DEBUG"/>
-									<listOptionValue builtIn="false" value="__CODE_RED"/>
-								</option>
-								<option id="gnu.c.compiler.option.misc.other.146380018" name="Other flags" superClass="gnu.c.compiler.option.misc.other" value="-c -fmessage-length=0 -fno-builtin -ffunction-sections -fdata-sections" valueType="string"/>
-								<option id="gnu.c.compiler.option.include.paths.152885670" name="Include paths (-I)" superClass="gnu.c.compiler.option.include.paths" valueType="includePath">
-									<listOptionValue builtIn="false" value="&quot;${workspace_loc:/${ProjName}/mcu/lpc43xx/CMSIS_LPC43xx_DriverLib/inc}&quot;"/>
-									<listOptionValue builtIn="false" value="&quot;${workspace_loc:/${ProjName}/fatfs}&quot;"/>
-									<listOptionValue builtIn="false" value="&quot;${workspace_loc:/${ProjName}/boards}&quot;"/>
-									<listOptionValue builtIn="false" value="&quot;${workspace_loc:/${ProjName}/tinyusb}&quot;"/>
-									<listOptionValue builtIn="false" value="&quot;${workspace_loc:/${ProjName}/src}&quot;"/>
-								</option>
-								<option id="com.crt.advproject.c.misc.dialect.1396088186" name="C Dialect" superClass="com.crt.advproject.c.misc.dialect" value="com.crt.advproject.misc.dialect.gnu99" valueType="enumerated"/>
-								<option id="com.crt.advproject.gcc.fpu.1206724568" name="Floating point" superClass="com.crt.advproject.gcc.fpu" value="com.crt.advproject.gcc.fpu.fpv4" valueType="enumerated"/>
-								<inputType id="com.crt.advproject.compiler.input.665307127" superClass="com.crt.advproject.compiler.input"/>
-							</tool>
-							<tool command="arm-none-eabi-gcc" commandLinePattern="${COMMAND} ${FLAGS} ${OUTPUT_FLAG}${OUTPUT_PREFIX}${OUTPUT} ${INPUTS}" errorParsers="org.eclipse.cdt.core.GASErrorParser" id="com.crt.advproject.gas.exe.debug.1153718858" name="MCU Assembler" superClass="com.crt.advproject.gas.exe.debug">
-								<option id="com.crt.advproject.gas.arch.1294161771" name="Architecture" superClass="com.crt.advproject.gas.arch" value="com.crt.advproject.gas.target.cm4" valueType="enumerated"/>
-								<option id="com.crt.advproject.gas.thumb.601862595" name="Thumb mode" superClass="com.crt.advproject.gas.thumb" value="true" valueType="boolean"/>
-								<option id="gnu.both.asm.option.flags.crt.1873433762" name="Assembler flags" superClass="gnu.both.asm.option.flags.crt" value="-c -x assembler-with-cpp -D__REDLIB__ -DDEBUG -D__CODE_RED" valueType="string"/>
-								<option id="com.crt.advproject.gas.fpu.508514296" name="Floating point" superClass="com.crt.advproject.gas.fpu" value="com.crt.advproject.gas.fpu.fpv4" valueType="enumerated"/>
-								<inputType id="com.crt.advproject.assembler.input.1774145635" name="Additional Assembly Source Files" superClass="com.crt.advproject.assembler.input"/>
-								<inputType id="cdt.managedbuild.tool.gnu.assembler.input.1781366835" superClass="cdt.managedbuild.tool.gnu.assembler.input"/>
-							</tool>
-							<tool id="com.crt.advproject.link.cpp.exe.debug.1263316338" name="MCU C++ Linker" superClass="com.crt.advproject.link.cpp.exe.debug"/>
-							<tool command="arm-none-eabi-gcc" commandLinePattern="${COMMAND} ${FLAGS} ${OUTPUT_FLAG}${OUTPUT_PREFIX}${OUTPUT} ${INPUTS}" errorParsers="org.eclipse.cdt.core.GLDErrorParser" id="com.crt.advproject.link.exe.debug.1516575641" name="MCU Linker" superClass="com.crt.advproject.link.exe.debug">
-								<option id="com.crt.advproject.link.arch.513380275" name="Architecture" superClass="com.crt.advproject.link.arch" value="com.crt.advproject.link.target.cm4" valueType="enumerated"/>
-								<option id="com.crt.advproject.link.thumb.1951335248" name="Thumb mode" superClass="com.crt.advproject.link.thumb" value="true" valueType="boolean"/>
-								<option id="com.crt.advproject.link.script.1050076157" name="Linker script" superClass="com.crt.advproject.link.script" value="&quot;host_os_none_Board_Hitex4350.ld&quot;" valueType="string"/>
-								<option id="com.crt.advproject.link.manage.19303590" name="Manage linker script" superClass="com.crt.advproject.link.manage" value="true" valueType="boolean"/>
-								<option id="gnu.c.link.option.nostdlibs.973107193" name="No startup or default libs (-nostdlib)" superClass="gnu.c.link.option.nostdlibs" value="true" valueType="boolean"/>
-								<option id="gnu.c.link.option.other.1768418357" name="Other options (-Xlinker [option])" superClass="gnu.c.link.option.other" valueType="stringList">
-									<listOptionValue builtIn="false" value="-Map=&quot;${BuildArtifactFileBaseName}.map&quot;"/>
-									<listOptionValue builtIn="false" value="--gc-sections"/>
-								</option>
-								<option id="gnu.c.link.option.libs.1441164286" name="Libraries (-l)" superClass="gnu.c.link.option.libs"/>
-								<option id="gnu.c.link.option.paths.963506417" name="Library search path (-L)" superClass="gnu.c.link.option.paths"/>
-								<option id="com.crt.advproject.link.gcc.hdrlib.2006488859" name="Library" superClass="com.crt.advproject.link.gcc.hdrlib" value="com.crt.advproject.gcc.link.hdrlib.codered.semihost" valueType="enumerated"/>
-								<option id="com.crt.advproject.link.fpu.272886967" name="Floating point" superClass="com.crt.advproject.link.fpu" value="com.crt.advproject.link.fpu.fpv4" valueType="enumerated"/>
-								<inputType id="cdt.managedbuild.tool.gnu.c.linker.input.871383314" superClass="cdt.managedbuild.tool.gnu.c.linker.input">
-									<additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/>
-									<additionalInput kind="additionalinput" paths="$(LIBS)"/>
-								</inputType>
-							</tool>
-						</toolChain>
-					</folderInfo>
-					<sourceEntries>
-						<entry excluding="boards/embedded_artists/oem_base_board|mcu/lpc175x_6x|mcu/lpc43xx/CMSIS_LPC43xx_DriverLib/src/lpc43xx_sdmmc.c|mcu/lpc43xx/CMSIS_LPC43xx_DriverLib/src/lpc43xx_sdif.c|mcu/lpc43xx/CMSIS_LPC43xx_DriverLib/src/sdio.c|mcu/lpc43xx/CMSIS_LPC43xx_DriverLib/src/lpc43xx_ssp.c|mcu/lpc43xx/CMSIS_LPC43xx_DriverLib/src/lpc43xx_pwr.c|mcu/lpc43xx/CMSIS_LPC43xx_DriverLib/src/lpc43xx_wwdt.c|mcu/lpc43xx/CMSIS_LPC43xx_DriverLib/src/lpc43xx_i2s.c|mcu/lpc43xx/CMSIS_LPC43xx_DriverLib/src/lpc43xx_sct.c|mcu/lpc43xx/CMSIS_LPC43xx_DriverLib/src/lpc43xx_rit.c|mcu/lpc43xx/CMSIS_LPC43xx_DriverLib/src/lpc43xx_rgu.c|mcu/lpc43xx/CMSIS_LPC43xx_DriverLib/src/lpc43xx_qei.c|mcu/lpc43xx/CMSIS_LPC43xx_DriverLib/src/lpc43xx_rtc.c|mcu/lpc43xx/CMSIS_LPC43xx_DriverLib/src/lpc43xx_mcpwm.c|mcu/lpc43xx/CMSIS_LPC43xx_DriverLib/src/lpc43xx_lcd.c|mcu/lpc43xx/CMSIS_LPC43xx_DriverLib/src/lpc43xx_gpdma.c|mcu/lpc43xx/CMSIS_LPC43xx_DriverLib/src/debug_frmwrk.c|mcu/lpc43xx/CMSIS_LPC43xx_DriverLib/src/lpc43xx_evrt.c|mcu/lpc43xx/CMSIS_LPC43xx_DriverLib/src/lpc43xx_emc.c|mcu/lpc43xx/CMSIS_LPC43xx_DriverLib/src/lpc43xx_dac.c|mcu/lpc43xx/CMSIS_LPC43xx_DriverLib/src/lpc43xx_can.c|mcu/lpc43xx/CMSIS_LPC43xx_DriverLib/src/lpc43xx_atimer.c|mcu/lpc43xx/CMSIS_LPC43xx_DriverLib/src/lpc43xx_adc.c|mcu/lpc43xx/CMSIS_LPC43xx_DriverLib/src/LCDTerm.c|mcu/lpc43xx/CMSIS_LPC43xx_DriverLib/src/Font5x7.c|mcu/lpc11uxx|mcu/lpc13uxx" flags="VALUE_WORKSPACE_PATH" kind="sourcePath" name=""/>
-					</sourceEntries>
-				</configuration>
-			</storageModule>
-			<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
-			<storageModule moduleId="org.eclipse.cdt.core.language.mapping"/>
-			<storageModule moduleId="org.eclipse.cdt.internal.ui.text.commentOwnerProjectMappings"/>
-			<storageModule moduleId="org.eclipse.cdt.make.core.buildtargets"/>
-			<storageModule moduleId="scannerConfiguration"/>
-		</cconfiguration>
 		<cconfiguration id="com.crt.advproject.config.exe.debug.1239969983.131108573">
 			<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.crt.advproject.config.exe.debug.1239969983.131108573" moduleId="org.eclipse.cdt.core.settings" name="Board LPC4357USB">
 				<macros>

+ 1 - 1
demos/host/src/tusb_config.h

@@ -58,7 +58,7 @@
 #define TUSB_CFG_HOST_HUB                       1
 #define TUSB_CFG_HOST_HID_KEYBOARD              1
 #define TUSB_CFG_HOST_HID_MOUSE                 1
-#define TUSB_CFG_HOST_HID_GENERIC               0
+#define TUSB_CFG_HOST_HID_GENERIC               0 // (not yet supported)
 #define TUSB_CFG_HOST_MSC                       1
 #define TUSB_CFG_HOST_CDC                       1
 #define TUSB_CFG_HOST_CDC_RNDIS                 0

+ 3 - 5
readme.markdown

@@ -8,7 +8,7 @@ tinyusb is an open-source (BSD-licensed) USB Host/Device/OTG stack for embedded
 
 ## Features
 
-designed to be simple and run out-of-the-box provided the configuration is correct.
+designed to run out-of-the-box and easy to configure.
 
 ### Host
 
@@ -42,11 +42,9 @@ coming soon ...
 
 ## Supported Platforms
 
-### MCUs
-
 The stack supports the following MCUs
 
-#### NXP
+### NXP
  
   - LPC11uxx
   - LPC13uxx (12 bit ADC)
@@ -57,7 +55,7 @@ The stack supports the following MCUs
 
 ### Toolchains
 
-You can compile with any of following toolchain
+You can compile with any of following toolchains
 
 - *lpcxpresso/redsuite*
 - *Keil MDK*