65 Commits

Author SHA1 Message Date
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
fb510559ec remove TUSB_CFG_DEVICE_FULLSPEED 2014-04-17 10:54:20 +07:00
hathach
4e4a115569 clean up 2014-04-04 15:21:19 +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
1fb1ea46a5 update xpresso host cmsis rtx to build with ngx4330
xpresso device cmsis rtx can build with all board
2014-03-31 17:56:21 +07:00
hathach
22b7e9f306 complete all available boards with device_freertos keil/iar/xpresso 2014-03-31 14:56:20 +07:00
hathach
97b5ce74c9 all classes work well with lpcxpresso device freertos
keil device freertos, CDC has problem with typing too many characters
2014-03-31 12:38:12 +07:00
hathach
140115584f device_freertos lpcxpresso work with msc keyboard mouse 2014-03-31 12:19:41 +07:00
hathach
bc99f59699 code beautify 2014-03-31 12:06:13 +07:00
hathach
6682720b2a implement & document all the device class _mounted_cb & _unmounted_cb callbacks 2014-03-31 11:59:43 +07:00
hathach
0bb2cc64b0 device_freertos/.cproject works well with msc & keyboard 2014-03-31 11:26:41 +07:00
hathach
2a4976b7bd markdown documenting 2014-03-26 00:00:53 +07:00
hathach
04c94440da added board lpcxpresso 11u14 2014-03-25 16:41:50 +07:00
hathach
f802b54417 clean up 2014-03-25 15:09:51 +07:00
hathach
6c9d03905e fix build for lpcxpreso host 2014-03-24 16:07:17 +07:00
hathach
7b6bcfcf97 fix build problem with lpcxrepsso 2014-03-24 15:37:51 +07:00
hathach
d3616987b7 rename demo app file 2014-03-24 15:30:51 +07:00
hathach
a8d32d81b3 tested with IAR & keil for device ea4357, fix some warnings 2014-03-23 17:33:58 +07:00
hathach
58892299f3 use internal buffer for hid report descriptor as well. 2014-03-23 16:57:39 +07:00
hathach
e0fd3efa70 finished using usbd_enum_buffer for all std descriptors 2014-03-23 15:39:55 +07:00
hathach
1af381c2de remove TUSB_CFG_DEVICE_STRING_DESCRIPTOR_COUNT
refractor descriptor to array of pointer, adding interface descriptor as well
2014-03-23 14:14:00 +07:00
hathach
e28170db2f adding usbd_enum_buffer to usbd
remove string descriptor USB RAM requirement
2014-03-23 10:15:32 +07:00
hathach
6d2eb50c0d rename msc device app function 2014-03-23 00:06:36 +07:00
hathach
3a8dce013d remove IAD_DESC_REQUIRED
add compiler guard for exceeding number of endpoints for lpc11/13u
2014-03-23 00:00:23 +07:00
hathach
1cdca167cd rename dcd_11u_13u_qhd_t::total_bytes to nbytes to prevent confusion
introduce scsi_data to mscd_interface_t to make tusbd_msc_scsi_cb buffer's address no longer to be required in USB ram section --> save usb ram for lpc11/13u
2014-03-22 22:50:08 +07:00
hathach
7c5b386130 clean ATTR_USB_MIN_ALIGNMENT on application and most of device except the msc_device.c 2014-03-21 19:23:19 +07:00
hathach
d2d0d0a6d5 clean up some device warnings
move led_blinking_task and led_blinking_set_interval to board.c
2014-03-21 16:32:39 +07:00
hathach
61657f6751 change OSAL_TASK_FUNCTION to adapt with cmsis rtx 2014-03-19 16:50:49 +07:00
hathach
cf82b13a0e finish descriptor refractor for hid keyboard & mouse 2014-03-18 18:38:15 +07:00
hathach
eab4f9642c refractor descriptor passing for device with user-friendly structures 2014-03-18 18:07:48 +07:00
hathach
34756f3862 app descriptor rename 2014-03-18 16:58:24 +07:00
hathach
e73667c078 clean up tusb_descriptors 2014-03-18 16:23:23 +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
4cdebe2e76 fix warning for device os none 2014-03-14 17:18:05 +07:00
hathach
8fbafc460c fix a problem with dcd 13uxx dcd_pipe_clear_stall that should clear toggle for buffer0 (instead of active buffer)
as the next transfer is always forced to be happened on buffer0
2014-03-13 17:06:18 +07:00
hathach
1610aa3e29 fix build for host freertos xpresso 2014-03-13 00:12:18 +07:00
hathach
368d09695f fix build error with lpcxpresso device os none 2014-03-12 22:22:00 +07:00
hathach
2e9ab27e28 seems like 43xx code requires an terminal (uart,SWO) connected to be able to run 2014-03-12 15:44:30 +07:00
hathach
4efc5fecf7 all device work with all mcu & tools 2014-03-12 15:14:57 +07:00
hathach
1e957bb672 change dcd 176x alignment placement to work with IAR 2014-03-12 15:11:48 +07:00
hathach
0f0d9d127b able to build lpc11u with IAR
clean ending warming with IAR
2014-03-12 14:43:58 +07:00
hathach
b6e4c0d348 a fix to IAR's incapability to force struct's member on specified alignment 2014-03-12 14:28:43 +07:00
hathach
9ba209cda0 IAR line ending warning 2014-03-12 14:10:38 +07:00
hathach
8f03dea95a fix iar warning 2014-03-12 14:03:17 +07:00
hathach
13c3a4e346 remove host config from device demo 2014-03-12 11:05:40 +07:00
hathach
52785c9fd6 NGX4330 device os none work well with lpcxpresso 2014-03-11 17:16:13 +07:00
hathach
d6566400fd fix device typo build error 2014-03-11 16:57:21 +07:00
hathach
6a736db159 try to port lpc11uxx device demo with IAR 2014-03-10 15:31:12 +07:00
hathach
3555abc378 cannot get IAR work with lpc1769 device demo 2014-03-10 15:02:11 +07:00