diff options
| author | hathach <[email protected]> | 2013-09-20 16:20:28 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2013-09-20 16:20:28 +0700 |
| commit | 52ae0afeb6dc781b82e6e71b864a02184eaf62bf (patch) | |
| tree | a656445a06f5274625145359396824eccf2a461d /demos | |
| parent | d8907c9a2bec155858ae4e5c04dfac60e339418d (diff) | |
refine hid host driver
Diffstat (limited to 'demos')
| -rw-r--r-- | demos/bsp/boards/embedded_artists/board_ea4357.h | 4 | ||||
| -rw-r--r-- | demos/host/host_freertos/host_freertos.uvopt | 14 | ||||
| -rw-r--r-- | demos/host/host_os_none/host_os_none.uvopt | 26 | ||||
| -rw-r--r-- | demos/host/src/tusb_config.h | 2 |
4 files changed, 23 insertions, 23 deletions
diff --git a/demos/bsp/boards/embedded_artists/board_ea4357.h b/demos/bsp/boards/embedded_artists/board_ea4357.h index 0cef17358..138e6e199 100644 --- a/demos/bsp/boards/embedded_artists/board_ea4357.h +++ b/demos/bsp/boards/embedded_artists/board_ea4357.h @@ -66,8 +66,8 @@ #include "oem_base_board/pca9532.h" // LEDs -//#define CFG_PRINTF_TARGET PRINTF_TARGET_SWO -#define CFG_PRINTF_TARGET PRINTF_TARGET_UART +#define CFG_PRINTF_TARGET PRINTF_TARGET_SWO +//#define CFG_PRINTF_TARGET PRINTF_TARGET_UART /*========================================================================= HARDWARE MAC ADDRESS diff --git a/demos/host/host_freertos/host_freertos.uvopt b/demos/host/host_freertos/host_freertos.uvopt index 83d554cf5..39a67a860 100644 --- a/demos/host/host_freertos/host_freertos.uvopt +++ b/demos/host/host_freertos/host_freertos.uvopt @@ -331,7 +331,7 @@ <Focus>0</Focus> <ColumnNumber>0</ColumnNumber> <tvExpOptDlg>0</tvExpOptDlg> - <TopLine>96</TopLine> + <TopLine>97</TopLine> <CurrentLine>102</CurrentLine> <bDave2>0</bDave2> <PathWithFileName>..\src\main.c</PathWithFileName> @@ -379,8 +379,8 @@ <Focus>0</Focus> <ColumnNumber>0</ColumnNumber> <tvExpOptDlg>0</tvExpOptDlg> - <TopLine>41</TopLine> - <CurrentLine>50</CurrentLine> + <TopLine>43</TopLine> + <CurrentLine>55</CurrentLine> <bDave2>0</bDave2> <PathWithFileName>..\src\mouse_app.c</PathWithFileName> <FilenameWithoutPath>mouse_app.c</FilenameWithoutPath> @@ -833,9 +833,9 @@ <FileType>1</FileType> <tvExp>0</tvExp> <Focus>0</Focus> - <ColumnNumber>51</ColumnNumber> + <ColumnNumber>52</ColumnNumber> <tvExpOptDlg>0</tvExpOptDlg> - <TopLine>348</TopLine> + <TopLine>349</TopLine> <CurrentLine>355</CurrentLine> <bDave2>0</bDave2> <PathWithFileName>..\..\bsp\lpc43xx\CMSIS_LPC43xx_DriverLib\src\lpc43xx_uart.c</PathWithFileName> @@ -939,7 +939,7 @@ <Focus>0</Focus> <ColumnNumber>0</ColumnNumber> <tvExpOptDlg>0</tvExpOptDlg> - <TopLine>149</TopLine> + <TopLine>150</TopLine> <CurrentLine>151</CurrentLine> <bDave2>0</bDave2> <PathWithFileName>..\..\bsp\lpc43xx\startup_keil\startup_LPC43xx.s</PathWithFileName> @@ -1075,7 +1075,7 @@ <Focus>0</Focus> <ColumnNumber>27</ColumnNumber> <tvExpOptDlg>0</tvExpOptDlg> - <TopLine>22</TopLine> + <TopLine>23</TopLine> <CurrentLine>29</CurrentLine> <bDave2>0</bDave2> <PathWithFileName>..\..\..\vendor\freertos\freertos\Source\portable\RVDS\ARM_CM4F\port.c</PathWithFileName> diff --git a/demos/host/host_os_none/host_os_none.uvopt b/demos/host/host_os_none/host_os_none.uvopt index 2fcf8cbe9..45db11ebb 100644 --- a/demos/host/host_os_none/host_os_none.uvopt +++ b/demos/host/host_os_none/host_os_none.uvopt @@ -392,10 +392,10 @@ <FileType>1</FileType> <tvExp>0</tvExp> <Focus>0</Focus> - <ColumnNumber>0</ColumnNumber> + <ColumnNumber>54</ColumnNumber> <tvExpOptDlg>0</tvExpOptDlg> - <TopLine>170</TopLine> - <CurrentLine>175</CurrentLine> + <TopLine>171</TopLine> + <CurrentLine>191</CurrentLine> <bDave2>0</bDave2> <PathWithFileName>..\src\main.c</PathWithFileName> <FilenameWithoutPath>main.c</FilenameWithoutPath> @@ -426,7 +426,7 @@ <Focus>0</Focus> <ColumnNumber>20</ColumnNumber> <tvExpOptDlg>0</tvExpOptDlg> - <TopLine>117</TopLine> + <TopLine>120</TopLine> <CurrentLine>129</CurrentLine> <bDave2>0</bDave2> <PathWithFileName>..\src\keyboard_app.c</PathWithFileName> @@ -442,7 +442,7 @@ <Focus>0</Focus> <ColumnNumber>0</ColumnNumber> <tvExpOptDlg>0</tvExpOptDlg> - <TopLine>119</TopLine> + <TopLine>122</TopLine> <CurrentLine>131</CurrentLine> <bDave2>0</bDave2> <PathWithFileName>..\src\mouse_app.c</PathWithFileName> @@ -498,7 +498,7 @@ <Focus>0</Focus> <ColumnNumber>2</ColumnNumber> <tvExpOptDlg>0</tvExpOptDlg> - <TopLine>138</TopLine> + <TopLine>139</TopLine> <CurrentLine>146</CurrentLine> <bDave2>0</bDave2> <PathWithFileName>..\..\bsp\boards\embedded_artists\board_ea4357.c</PathWithFileName> @@ -514,7 +514,7 @@ <Focus>0</Focus> <ColumnNumber>1</ColumnNumber> <tvExpOptDlg>0</tvExpOptDlg> - <TopLine>100</TopLine> + <TopLine>101</TopLine> <CurrentLine>106</CurrentLine> <bDave2>0</bDave2> <PathWithFileName>..\..\bsp\boards\printf_retarget.c</PathWithFileName> @@ -712,10 +712,10 @@ <FileType>1</FileType> <tvExp>0</tvExp> <Focus>0</Focus> - <ColumnNumber>30</ColumnNumber> + <ColumnNumber>0</ColumnNumber> <tvExpOptDlg>0</tvExpOptDlg> <TopLine>1</TopLine> - <CurrentLine>21</CurrentLine> + <CurrentLine>1</CurrentLine> <bDave2>0</bDave2> <PathWithFileName>..\..\..\tinyusb\host\usbh.c</PathWithFileName> <FilenameWithoutPath>usbh.c</FilenameWithoutPath> @@ -730,7 +730,7 @@ <Focus>0</Focus> <ColumnNumber>47</ColumnNumber> <tvExpOptDlg>0</tvExpOptDlg> - <TopLine>1</TopLine> + <TopLine>4</TopLine> <CurrentLine>13</CurrentLine> <bDave2>0</bDave2> <PathWithFileName>..\..\..\tinyusb\host\ehci\ehci.c</PathWithFileName> @@ -778,7 +778,7 @@ <Focus>0</Focus> <ColumnNumber>8</ColumnNumber> <tvExpOptDlg>0</tvExpOptDlg> - <TopLine>58</TopLine> + <TopLine>68</TopLine> <CurrentLine>77</CurrentLine> <bDave2>0</bDave2> <PathWithFileName>..\..\..\tinyusb\hal\hal_lpc43xx.c</PathWithFileName> @@ -842,7 +842,7 @@ <Focus>0</Focus> <ColumnNumber>28</ColumnNumber> <tvExpOptDlg>0</tvExpOptDlg> - <TopLine>15</TopLine> + <TopLine>23</TopLine> <CurrentLine>32</CurrentLine> <bDave2>0</bDave2> <PathWithFileName>..\..\..\tinyusb\class\cdc_host.c</PathWithFileName> @@ -1002,7 +1002,7 @@ <Focus>0</Focus> <ColumnNumber>0</ColumnNumber> <tvExpOptDlg>0</tvExpOptDlg> - <TopLine>145</TopLine> + <TopLine>146</TopLine> <CurrentLine>151</CurrentLine> <bDave2>0</bDave2> <PathWithFileName>..\..\bsp\lpc43xx\startup_keil\startup_LPC43xx.s</PathWithFileName> diff --git a/demos/host/src/tusb_config.h b/demos/host/src/tusb_config.h index dba30c76c..215a77cbc 100644 --- a/demos/host/src/tusb_config.h +++ b/demos/host/src/tusb_config.h @@ -69,7 +69,7 @@ #define TUSB_CFG_CONFIGURATION_MAX 1 //------------- USBD -------------// -#define TUSB_CFG_HOST_ENUM_BUFFER_SIZE 256 +#define TUSB_CFG_HOST_ENUM_BUFFER_SIZE 255 //------------- CLASS -------------// #define TUSB_CFG_HOST_HUB 0 |
