hathach
f28d2d1189
add supported class to greeting
2013-10-15 12:39:11 +07:00
hathach
eb1a101667
house keeping
2013-09-27 22:38:23 +07:00
hathach
9d60db0f9f
add scsi write10 & test unit ready
...
done copy command
implement get_fattime using __DATE__ and number of calls
2013-09-26 14:37:40 +07:00
hathach
89898acd5d
almost complete cli for msc
2013-09-25 19:52:05 +07:00
hathach
bd9af2d57b
added cli support
2013-09-24 21:04:56 +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
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
9d87a1c62b
temporarily comment out all the lwip related code
2013-09-18 21:08:48 +07:00
hathach
ad0ef2e266
all project can run ok
2013-09-13 22:30:11 +07:00
hathach
c71f5c6f1b
integrate & able to run cmsis-rtx with current code base
2013-09-13 16:53:17 +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
23f4d7356f
change printf retarget to make \n to \r\n automatically
2013-07-19 12:05:25 +07:00
hathach
1667ef5041
replace tusbh_cdc_isr by tusbh_cdc_xfer_isr with extra parameter as
...
- pipe id
- xferred_bytes
host_class_driver_t add xferred_bytes parameter
void (* const isr) (pipe_handle_t, tusb_event_t); --> void (* const isr) (pipe_handle_t, tusb_event_t, uint32_t);
update hid_host & its tests
2013-07-03 11:36:08 +07:00
hathach
6ce90e2bd8
add tusbh_cdc_send, t usbh_cdc_receive
...
add cdc_serial_app for virtual com demo
2013-07-02 16:41:13 +07:00
hathach
4239da1188
add cmsis for lpc11u
...
remove app_os_prio.h in host_os_none demo
2013-06-21 21:03:23 +07:00
hathach
40503b913b
abstract os priority for application tasks
2013-05-14 21:32:13 +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
120db28a17
change format of file header & license spacing
2013-05-06 12:50:19 +07:00
hathach
fdd98e2fa9
clean up main
2013-04-28 00:00:48 +07:00
hathach
33feba5cbc
add hid_keycode_to_ascii_tbl for hid class
...
improve keyboard_app, should display all displayable characters
improve the de-bouncing keyboard (still got some issues)
2013-04-26 02:08:22 +07:00
hathach
3763e22c9a
change OSAL_TASK_DEF to decouple variable name with task name
...
implement osal_task_delay for freeRTOS & non_os
getting both no_os & freertos running with mouse + keyboard
2013-04-25 16:41:00 +07:00
hathach
1ae5484320
finally able to get freeRTOS run with current mouse + keyboard example
...
NOTES: print_greeting if is executed before the start of freeRTOS scheduler --> hardfault
- print_greeting->vsprintf->systick -> bunch of ISR --> hardfault.
printf using serial after the start of scheduler is ok though
2013-04-25 15:43:33 +07:00
hathach
92994c8192
add attribute warn unused result for osal_create_* function
...
taskify keyboard_app mouse_app & led_blinking
2013-04-25 11:55:24 +07:00
hathach
e9dbce5f1b
add TUSB_CFG_OS_TASK_PRIO to mandatory option for using an RTOS
...
using plain char for error enum character
increase freeRTOS configMAX_PRIORITIES to 16
house keeping & clean up compiler warning
2013-04-25 11:00:56 +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
0b9f553f81
house keeping
2013-04-22 12:46:36 +07:00
hathach
8cc4c6f52d
change the board_leds API to on_mask, off_mask
...
getting led toggling per second on host demo
add greeting message
2013-04-22 12:10:52 +07:00
hathach
3f9a73a34d
change config to use USB0 only
...
fix some compiler warnings
2013-04-22 10:44:51 +07:00
hathach
54221bb73b
move code in host demo to /src in prepare for support freeRTOS projects
2013-04-15 17:30:36 +08:00