44 Commits

Author SHA1 Message Date
hathach
63b776f7cf add some tests support for msc host
refractor msch buffer for getting inital scsi like inquiry, read capacity
adding support for resovling stall on control pipe
2013-09-24 15:21:16 +07:00
hathach
cc91a73cdc fix pingstate for highspeed bulk out transfer
temp implementation of msc host --> can issue inquiry command
2013-09-22 18:44:55 +07:00
hathach
5708863859 house keeping, clean up warnings 2013-09-21 14:38:40 +07:00
hathach
d15ba08fdc house keeping 2013-09-21 13:17:43 +07:00
hathach
295612b48f remove ATTR_WEAK for all necessary driver callback
fix ceedling tests
2013-09-21 00:42:39 +07:00
hathach
f8f398a681 start to add msc host, fix dangerous problem with unstable device when plugged --> 200 ms delay. 50ms delay after each port reset 2013-09-20 23:53:48 +07:00
hathach
52ae0afeb6 refine hid host driver 2013-09-20 16:20:28 +07:00
hathach
d8907c9a2b IAR host none project working 2013-09-19 18:18:05 +07:00
hathach
86681fe442 starting to add support for IAR workbench 2013-09-19 16:11:11 +07:00
hathach
61c591b9ac clean up warnings 2013-09-18 23:34:03 +07:00
hathach
9d87a1c62b temporarily comment out all the lwip related code 2013-09-18 21:08:48 +07:00
hathach
1cd2d5cf36 able to build with newly added lwip folder 2013-09-16 16:38:46 +07:00
hathach
0c97131149 start to add lwip support 2013-09-14 15:24:59 +07:00
hathach
c71f5c6f1b integrate & able to run cmsis-rtx with current code base 2013-09-13 16:53:17 +07:00
hathach
1f573eecf2 added keil project for host_freertos 2013-09-12 15:55:54 +07:00
hathach
968c218f33 Merge branch 'master' of github.com:microbuilder/tinyusb
Conflicts:
	demos/host/host_os_none/host_os_none.uvopt
2013-09-12 14:44:02 +07:00
hathach
ad5ce98c02 finshed upgrading lpc43xx cmsis 2013-09-12 14:42:08 +07:00
hathach
dc6f6e3b3e rename lpc43 cmsis folder, preparing to upgrade cmsis from v2.10 to 3.01 2013-09-12 13:58:33 +07:00
hathach
09dd83c05b add set msg & get set cmplt for OID_GEN_CURRENT_PACKET_FILTER (default = 0 reject all) to
○ NDIS_PACKET_TYPE_DIRECTED
○ NDIS_PACKET_TYPE_MULTICAST
○ NDIS_PACKET_TYPE_BROADCAST
2013-09-11 15:03:37 +07:00
Kevin Townsend
3e54ab7c9e Added trace support for LPC4357USB boards 2013-09-10 09:09:22 +02:00
hathach
2d021e0728 added support for RETARGET SWO 2013-09-10 13:36:19 +07:00
hathach
b0b56a417e added LPC4357_USB board 2013-09-10 12:30:41 +07:00
hathach
6916515612 complete porting to keil
- updated cgu
- require microlib for printf retarget
- cannot use fp enable option in keil (may require cmsis update)
2013-09-10 12:22:57 +07:00
hathach
9ed3e80582 keil project can mount mouse, but cannot mount rndis 2013-09-10 11:47:05 +07:00
hathach
14a8e26697 able to get blinky + greeting 2013-09-10 10:43:24 +07:00
hathach
23cb79372d able to print hello world 2013-09-10 10:24:24 +07:00
hathach
25a22e169b try to add lpc4357usb board 2013-09-08 00:01:20 +07:00
hathach
9d50b0fa6a update docs 2013-07-04 16:08:33 +07:00
hathach
ea2e63a332 remove app_os_prio.h in os_none configure
remove instance_num in hidh API
temporarily pause device stack developement
should fix travis-ci build error
2013-06-26 18:00:05 +07:00
hathach
9b7f24bef2 add files for hitex4350 but fail to get it power on USB0 host connector 2013-05-23 17:19:28 +07:00
hathach
132c3996ea move scu_pinmux(0x2, 5, MD_PLN | MD_EZI | MD_ZI, FUNC2) to hal/hal_lpc43xx.c
dual host run without problem with mcb4300
2013-05-23 14:56:11 +07:00
hathach
40503b913b abstract os priority for application tasks 2013-05-14 21:32:13 +07:00
hathach
834869ffcd filter out unused driver files in CMSIS lpc43xxx 2013-05-13 01:21:57 +07:00
hathach
446038fd36 move cmsis to bsp/lpc43xx to keep all in repos for travis-ci run
update setting for all project file respectively
2013-05-09 15:23:04 +07:00
hathach
4fa7f77ee2 adding keil mcb4300 support
- implement board_leds & board_uart routines
2013-05-06 15:06:08 +07:00
hathach
120db28a17 change format of file header & license spacing 2013-05-06 12:50:19 +07:00
hathach
c202bfe556 move ngx4330 to ngx folder in boards 2013-04-29 20:43:16 +07:00
hathach
c2b453c8a0 make NGX4330 build runs ok with host_freertos demo 2013-04-29 17:47:48 +07:00
hathach
d4a2600ecc - change OSAL_TASK_FUNCTION to have void* parameter (to be consistent with most popular RTOS)
- add new error enum TUSB_ERROR_OSAL_TASK_CREATE_FAILED
- move usbh_enumeration_task prototype to usbh.h
- change OSAL_SUBTASK_INVOKED_AND_WAIT behavior, will not "return" in calling task when subtask got error status.
calling task need to do that after the call
- osal_queue_receive signature from uint32_t* to void*

- implement osal_freertos.h for FreeRTOS 7.3 --> able to compile & build host_freertos
+ OSAL_TASK_FUNCTION
+ turn on FPU for M4 in both host_os_none & host_freertos (freertos requires FPU to be on to compile)
+ osal_task_create
+ OSAL_SUBTASK_INVOKED_AND_WAIT
+ SUBTASK_ASSERT
+ osal_semaphore_reset
+ osal_queue_flush
+ adding heap_1.c for memory management
2013-04-24 17:53:43 +07:00
hathach
799c709524 adding oem base board lib for ea4357 2013-04-22 11:22:56 +07:00
hathach
c20071c55c fix compiler error for USB1 to none in ehci.c
rename and moving bsp ea4357
2013-04-22 11:00:43 +07:00
hathach
cb4981dd2d adding host_freertos configure & build etc 2013-04-16 16:30:36 +08:00
hathach
115c1f2552 create lpcxpresso project for host_freertos 2013-04-16 15:04:46 +08:00
hathach
528cadf3ff rename and "host" to "host_os_none" demo in prepare for creating host_freertos demo 2013-04-16 14:49:20 +08:00