Commit Graph

190 Commits

Author SHA1 Message Date
hathach 6f1565c50e rename to avoid name confliction 2018-03-12 22:42:29 +07:00
hathach 80398cb4cb more hcd clean up 2018-03-12 22:37:12 +07:00
hathach 229a7a23b8 shorten TUSB_DESC_TYPE* 2018-03-11 21:16:51 +07:00
hathach d71334c348 tusb_type rename 2018-03-11 21:06:32 +07:00
hathach 26d81c3ea1 rename TUSB_DIR_OUT, TUSB_DIR_IN 2018-03-11 20:20:59 +07:00
hathach ca13d59682 rename tusb_dir_t 2018-03-11 20:16:39 +07:00
hathach cfdc7999f6 refactor dcd API, drop edpt_hdl_t in favor of endpoint address for easy port 2018-03-11 15:20:27 +07:00
hathach fd250b92cb clean up example 2018-03-11 14:37:01 +07:00
hathach 0384e40320 rename hal_* to tusb_hal_* 2018-03-11 13:01:57 +07:00
hathach c8e9fb52d4 rename fifo_count 2018-03-08 14:02:53 +07:00
hathach 817f23e5e0 enhance
- add ASSERT_
- rename edpt_equal
-
2018-03-08 11:42:28 +07:00
hathach c7f6c95c28 fix tusb_mount_cb and tusb_umount_cb not called 2018-03-07 16:39:33 +07:00
hathach 7092db264f update 2018-03-07 15:30:32 +07:00
hathach f6137903bc cleanup SUBTASK macros 2018-03-03 12:30:38 +07:00
hathach bc9274591f clean up compiler 2018-03-02 19:00:03 +07:00
hathach 7ee801a209 rename hal.h to tusb_hal.h 2018-03-02 18:50:30 +07:00
hathach 8bb35e2604 add verify.h 2018-03-01 12:35:06 +07:00
hathach 30124b9b02 refactor osal queue API 2018-02-28 16:45:54 +07:00
hathach c961bb47fe update fifo 2018-02-28 15:23:41 +07:00
hathach 9b7cd608aa osal clean up
- task create, task def macros
2018-02-28 14:21:43 +07:00
hathach 62ae417add formatting 2015-05-01 18:45:22 +07:00
hathach c73907f831 formatting 2015-05-01 18:37:58 +07:00
hathach 9218d1e8bb replace ATTR_PACKED_STRUCT by simply ATTR_PACKED (drop IAR support)
remove "primitive_types.h" by simply include stdbool.h, stdint.h
2015-05-01 18:34:08 +07:00
hathach d00655f598 cdc device app rename CDCD_APP_BUFFER_SIZE to SERIAL_BUFFER_SIZE
cdc host app add SERIAL_BUFFER_SIZE for buffer constant, add cdc data receive if cb with TUSB_EVENT_XFER_ERROR
minor change to keyboard & mouse host app
add ASSERT_FAILED & ASSERT_FAILED_MSG
add cast to fix IAR build error with dcd_lpc43xx.c

FreeRTOS
- merge FreeRTOSConfig for m0, m3, m4
- re-implement application hook
- support portmacro.h for m0
2014-04-25 15:16:52 +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 ccc65e620a change default TUSB_CFG_DEBUG to 0
change meaning of TUSB_CFG_DEBUG
2014-04-17 10:33:59 +07:00
hathach 680784e9c1 update keil & iar device project to add lpcxpresso11u14 support 2014-03-25 21:43:48 +07:00
hathach 45aef4c04c more doxygen stuffs 2014-03-25 13:11:22 +07:00
hathach 15d0139bc5 doxygen documenting 2014-03-25 13:00:37 +07:00
hathach 68d96edc13 more doxygen works 2014-03-24 13:06:40 +07:00
hathach a8406060d1 doxygen documenting 2014-03-24 12:35:44 +07:00
hathach cf60e374aa doxygen clean up 2014-03-23 19:00:54 +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 b349121c09 some doxygen 2014-03-21 16:59:34 +07:00
hathach a8ea9e99d5 rename errors.c/h to tusb_errors.c/h 2014-03-18 18:54:44 +07:00
hathach d1d4ddd856 doxygen document 2014-03-16 22:20:33 +07:00
hathach 0757d2eb6c more warnings clean up 2014-03-14 15:11:57 +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 368d09695f fix build error with lpcxpresso device os none 2014-03-12 22:22:00 +07:00
hathach 0f0d9d127b able to build lpc11u with IAR
clean ending warming with IAR
2014-03-12 14:43:58 +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 3555abc378 cannot get IAR work with lpc1769 device demo 2014-03-10 15:02:11 +07:00
hathach b586fe632a change desc_str_table to array of pointer of uint8_t* to be compatible with IAR (lack of support for VLA initialization)
IAR device os none works with ea4357
2014-03-10 14:20:38 +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 2a866365e9 added support for IAR retarget but not yet succeeded. lpc17xx have problem connect with jlink 2014-03-04 16:31:44 +07:00
hathach 6f24dd50a0 change lpc17xx cmsis file & ohci to be able to build with IAR 2014-03-04 15:19:50 +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 a982a52ab3 refractor __n2be_16 2014-01-24 21:51:24 +07:00