hathach
fe0dafc73f
fix IAR CMSIS rtx build for lpc175 6x --> build all ok
2014-04-18 16:47:56 +07:00
hathach
8dff4d454b
minor adjust TUSB_CFG_HOST_DEVICE_MAX and TUSB_CFG_HOST_HUB
2014-04-18 14:50:44 +07:00
hathach
06bb9ad7a7
move STRING & XSTRING & STATIC_ASSERT to compiler.h
...
disable test for a class of cdc host
temporarily disable test for test_osal_none.c
change include in some core files
remove osal.h from common.h
2014-04-17 22:57:11 +07:00
hathach
5c6f8750da
minor docs
2014-04-17 10:13:05 +07:00
hathach
940d7fb7f6
merge EHCI_MAX_QHD/QTD and OHCI_MAX_QHD/QTD to HCD_MAX_ENDPOINT/XFER and scale with number of enabled classes.
...
default config to support up to 5 device (hub + 4 others)
2014-04-13 15:39:57 +07:00
hathach
55dd9192a9
remove lpclink2 board
2014-04-09 22:37:01 +07:00
hathach
bfb80c4ede
added rtos to greeting for easy testing
...
correct all keil flash setting
2014-04-03 16:41:42 +07:00
hathach
bc99f59699
code beautify
2014-03-31 12:06:13 +07:00
hathach
0bb2cc64b0
device_freertos/.cproject works well with msc & keyboard
2014-03-31 11:26:41 +07:00
hathach
abc6b58063
clean up
2014-03-26 16:20:57 +07:00
hathach
14133342ec
doxygen have problem with bolding the hyperlink. use <b> instead
2014-03-26 11:43:42 +07:00
hathach
2870a8bcec
fix build error for keil host os none, freertos, cmsis-rtx
2014-03-24 16:17:48 +07:00
hathach
6c9d03905e
fix build for lpcxpreso host
2014-03-24 16:07:17 +07:00
hathach
bfd6c8bc1e
rename host demo sourc files
2014-03-24 16:00:14 +07:00
hathach
7ee4b550c2
remove TUSB_CFG_HOST_ENUM_BUFFER_SIZE from host config (use default)
2014-03-23 09:46:51 +07:00
hathach
b594d25a53
clean up led blinking on host demo
2014-03-21 16:38:18 +07:00
hathach
61657f6751
change OSAL_TASK_FUNCTION to adapt with cmsis rtx
2014-03-19 16:50:49 +07:00
hathach
96bb6c8968
remvoe main as thread of cmsis rtx for portability.
...
Keil & lpcxpresso4 host_cmsis_rtx work well
2014-03-19 16:06:27 +07:00
hathach
2c4a2e5b9e
rename TUSB_CFG_OS_TICKS_PER_SECOND to TUSB_CFG_TICKS_HZ
...
remove CFG_TICKS_PER_SECOND
2014-03-18 16:10:25 +07:00
hathach
eaf2e888ab
doxygening
2014-03-17 16:46:11 +07:00
hathach
d1d4ddd856
doxygen document
2014-03-16 22:20:33 +07:00
hathach
590acffc24
fix some warnings
2014-03-14 16:36:04 +07:00
hathach
5f309413dc
clean more warnings
2014-03-14 14:33:50 +07:00
hathach
5e2ed2534e
clean up warning in lpcxpresso
...
remove -Wpacked -Wpadded in gcc
2014-03-14 11:59:39 +07:00
hathach
2502be94f7
suppres compiler warning transfer of control bypasses initialization
2014-03-13 23:52:26 +07:00
hathach
6fbca0ea87
remove legacy code of msc_device.c read10 & write10
...
clean up some warnings
2014-03-13 18:25:20 +07:00
hathach
f1692c93ac
fix some warnings
2014-03-13 18:11:59 +07:00
hathach
1940f9f0f7
clean up
2014-03-13 16:17:38 +07:00
hathach
fa83ba32a5
fix all build error with IAR
...
- host/host_freertos/host_freertos.ewp
- host/host_os_none/host_os_none.ewp
- device/device_os_none/device_os_none.eww
fix IAR ending warning
2014-03-13 13:23:33 +07:00
hathach
1610aa3e29
fix build for host freertos xpresso
2014-03-13 00:12:18 +07:00
hathach
14e48bd989
fixing build error
2014-03-12 17:45:17 +07:00
hathach
6ceb992f2c
clean up
2014-03-12 15:57:02 +07:00
hathach
7f377b7e5b
improve MSC host demo with
...
- remove command
- move (rename) command
2014-03-11 23:34:47 +07:00
hathach
f55ae521a0
enhance cp command to accept dest path as an folder
2014-03-11 22:31:34 +07:00
hathach
ad72db5aea
change IAR TUSB_CFG_ATTR_USBRAM to _Pragma("location=\".ahb_sram1\"") instead of @ .ahb_sram1 so that we can place it before the variable for a cleaner code
...
change pipe xfer API buffer from void* to uint8_t*
change FIFO_DEF to have a separated buffer to be compatible with IAR\
refractor IAR data alignment pragma
2014-03-10 13:13:13 +07:00
hathach
f0e705c8da
IAR host freertos works with EA4357
2014-03-06 12:51:16 +07:00
hathach
dcc58a7afc
refractor app_os_prio.h
2014-03-06 11:37:37 +07:00
hathach
fee8e5227b
IAR work well with EA4357 on host os none
2014-03-06 10:29:57 +07:00
hathach
043e5dbf3c
somehow could not get printf work with IAR both SWD & uart on NGX4330
2014-03-05 15:03:38 +07:00
hathach
e6d7c5fcee
remove lwip code in main.c & boardGetMACaddr (board.c)
...
NOTE: previous commit also removed some lwip's configure in board_ea4357
fix NGX4330 led blinking
2014-03-04 22:46:42 +07:00
hathach
90b7ead017
refine keyboard host demo (added new line for enter key)
2014-03-02 21:39:18 +07:00
hathach
b5ce076d8d
increase msc host app task stack size to 512 so that copy command can be executed
2014-03-02 18:11:30 +07:00
hathach
5f8f046eaa
refractor remove tusbh_msc_is_failed
...
increase usbh enum task from 150 to 200 due to stack overflow when mounting msc device
added task for msc host freeRTOS with stack = 300 (still cannot execute copy command)
2014-02-28 18:42:33 +07:00
hathach
da6b2fbef8
EHCI: immediately reset port when device connected. This proves to help prevent duplication connection event (also with OHCI)
...
increase delay after reset to 100 ms (NXP's EHCI does not work with 50ms)
--> fix all duplication connection with OHCI & EHCI
2014-02-28 17:08:47 +07:00
hathach
a1978e20fe
merge common define in osal/osal_cmsis_rtx.h & osal/osal_freeRTOS.h
2014-02-28 15:50:04 +07:00
hathach
4b6c6929cb
fix the duplicated plug connection status change with lpc17xx by using immediate reset on isr. However Khanh's G5 mouse is not enumerated !!
...
remove TUSB_CFG_CONFIGURATION_MAX from config file
fix some warning
2014-02-20 16:06:31 +07:00
hathach
533c8d2eed
use hcd_pipe_is_busy instead of hcd_pipe_is_idle
...
remove hcd_pipe_is_idle
2014-02-20 10:41:31 +07:00
hathach
bbe26facb3
some code clean up
...
NOTE: host on ea4357 does not work anymore
2014-02-19 15:29:29 +07:00
hathach
a982a52ab3
refractor __n2be_16
2014-01-24 21:51:24 +07:00
hathach
d020c2f609
remove immediately reset when device plug.
...
check to make sure device is still plug after initial delay (200ms) before reset
remove blocking waiting when reset in ehci.c
2013-12-19 13:55:22 +07:00