11 Commits

Author SHA1 Message Date
hathach
5d3e9c4b96 add "mocking" version of LPC43xx.h
- redirect LPC_USB0_BASE & LPC_USB1_BASE to the address of test object
add test for ehci initialization usbint register
2013-03-02 00:09:24 +07:00
hathach
68ff7365c5 rename ehci usb_int usb_sts usb/error field
move MCU define to tusb_option.h
2013-03-01 19:32:53 +07:00
hathach
795fe7468d start to add code for hcd_init test
change hcd_init signature (omit hostid)
2013-02-28 17:00:51 +07:00
hathach
d6548d0063 strengthen include policy. Only limited headers are allowed to included from a header file. Missing needed to be included in *.c 2013-02-28 15:06:31 +07:00
hathach
f56f6b6749 add timeout_timer.h to provide real tick timeout service for blocking control 2013-02-27 20:58:11 +07:00
hathach
0c397c6b8d house keeping
- correct initialization call sequence
- move hcd_init to ehci.c
2013-02-27 18:49:28 +07:00
hathach
d54a12c449 add test for ehci register portsc 2013-02-27 17:57:53 +07:00
hathach
c3c08a6106 add test for ehci register usbsts 2013-02-27 17:31:51 +07:00
hathach
8869d17d98 add test for EHCI register offset
add test for EHCI usbcmd register structure
2013-02-27 17:14:59 +07:00
hathach
b73e6c7a35 add test test_itd_structure & test_sitd_structure 2013-02-27 16:50:05 +07:00
hathach
a6fac7180c add coded to test ehci alignment and structure layout (included bitfield) 2013-02-27 16:19:40 +07:00