summaryrefslogtreecommitdiff
path: root/tinyusb/common/errors.h
AgeCommit message (Collapse)Author
2014-03-18rename errors.c/h to tusb_errors.c/hhathach
2014-03-12fix iar warninghathach
2013-11-21clean uphathach
2013-11-08add windows driver for cdchathach
add simple echo cdc serial demo add cdc device send/receive API refractor descriptor refractor cdc.h add usbd driver function - init - bus_reset
2013-11-01implement msc device classhathach
usbd auto stall control for not supported return from class control request usbd implement xfer isr callback mechanism DCD - implement dcd multiple qtd support - dcd dcd_pipe_stall - implement dcd_pipe_queue_xfer - xfer_complete_isr - flush control endpoint if received new setup while previous transfer is not complete change msc_cmd_block_wrapper_t flags field to dir force full speed for easy testing NOTEs: somehow unable to get endpoint IN interrupt with ioc
2013-10-29implementing sw device stackhathach
2013-10-02clean up warnings here and therehathach
2013-09-30able to mount one device on the hubhathach
2013-09-24allow a limited model to deal with stalled pipe/transactionhathach
added stall clear & able to mount the stupid toshiba thumb drive add HCD pipe API - bool hcd_pipe_is_busy(pipe_handle_t pipe_hdl); - bool hcd_pipe_is_stalled(pipe_handle_t pipe_hdl); - uint8_t hcd_pipe_get_endpoint_addr(pipe_handle_t pipe_hdl); - tusb_error_t hcd_pipe_clear_stall(pipe_handle_t pipe_hdl); remove tusbh_device_mount_failed_cb (not neccessary for user)
2013-09-22added read capacity 10 with hacking codehathach
2013-09-20start to add msc host, fix dangerous problem with unstable device when ↵hathach
plugged --> 200 ms delay. 50ms delay after each port reset
2013-07-02add tusbh_cdc_send, t usbh_cdc_receivehathach
add cdc_serial_app for virtual com demo
2013-07-01add & pass a first few test for cdc hosthathach
implement cdch_open_subtask
2013-06-27add mutex support for osalhathach
add test for mutex in test_osal_none.c implement usbh_control_xfer using mutex to get access to queue xfer on control pipe (while semaphore is used to sync with hcd DMA) failed to issue control xfer: set idle & get report descriptor in hidh_open_subtask (more to work on)
2013-06-27add set idle request for hidh_open_subtaskhathach
add interface number to hidh_interface_info_t refractor hidh_open_subtask to be a true subtask cannot run with set idle code ON because of semaphore misuse
2013-06-26remove app_os_prio.h in os_none configurehathach
remove instance_num in hidh API temporarily pause device stack developement should fix travis-ci build error
2013-06-21[host lpc43xx] adding support for host custom classhathach
refractor usbh class driver indexing opt out periodic list code in EHCI (need to refractor/group later) [device lpc176x] rename dcd_endpoint_configure to dcd_pipe_open add usbd_pipe_open to manage pipe
2013-06-14implement hidd_control_request including std & class specific to interface ↵hathach
number. refractor usbd_setup_received
2013-06-01rename romdriver handlehathach
forming API for USBD-CLASS driver (abstract away from rom driver) separate buffer of hid class from buffer of core driver
2013-05-31refractor string descriptors, allow one-stop configure descriptor forhathach
- manufacturer, product etc ... (only english now)
2013-04-26add hid_keycode_to_ascii_tbl for hid classhathach
improve keyboard_app, should display all displayable characters improve the de-bouncing keyboard (still got some issues)
2013-04-25add TUSB_CFG_OS_TASK_PRIO to mandatory option for using an RTOShathach
using plain char for error enum character increase freeRTOS configMAX_PRIORITIES to 16 house keeping & clean up compiler warning
2013-04-24- change OSAL_TASK_FUNCTION to have void* parameter (to be consistent with ↵hathach
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-03-26rename pipe_status_t to tusb_interface_status_thathach
add tusbh_hid_keyboard_status & test code
2013-03-25add several helper functionhathach
add test & code for hidh_keyboard_open_subtask - skip parsing HID descriptor for keyboard
2013-03-25change website from tinyusb.net to tinyusb.orghathach
2013-03-24refractor hidh keyboardhathach
changing class hidh behavior
2013-03-22- fix bug when unplugged unmounted-already device (mostly plugged when power on)hathach
- add hal_debugger_is_attached & hal_debugger_breakpoint - assert will suspend (place breakpoint) if the condition is failed and debugger is attached. Otherwise, a message to uart is printed - fix get control qhd function when dev_addr is not zero (shifted 1) - fix wrong logic for unsupported class
2013-03-07make "used" member of ehci_qtd_t into reserved place of buffer[1] (with ↵hathach
assert check in hcd init)
2013-02-28strengthen include policy. Only limited headers are allowed to included from ↵hathach
a header file. Missing needed to be included in *.c
2013-02-26add osal subtask supporthathach
add usbh_control_xfer_subtask as xfer and wait fix potential error when update device info & open control pipe for new address fix build error with hal_****.c add STATIC_ASSSERT to perform compile time checking with sizeof later update osal_queue_receive and osal_semaphore_wait for osal_none to support subtask
2013-02-06update enumeration up to get full configuration descriptorhathach
2013-02-06remove hcd_addr0_close_Ignorehathach
add code to check error handling from enum task
2013-02-06refractor move test enum to its own filehathach
add assert with handler add task assert with error catcher
2013-02-04complete define osal_freeRTOS for semaphore and queuehathach
2013-02-04refractor include chain with following policieshathach
- header file only include what it needs for its declarations.
2013-02-01add std=gnu99 for test buildhathach
add hcd_init to usbh_init and update test code add TUSB_CFG_OS_TICK_PER_SECOND define for TUSB_OS_NONE change osal_semaphore_wait and osal_queue_receive API to have timeout effectively
2013-01-31change cmock ignore to args onlyhathach
implementing usbh_host.c
2013-01-29update usbh_init and testhathach
2013-01-27add usbh_device_info_t to return device statushathach
add usbh_init and test code replace usbh_device_is_plugged in hid_host and test_hid_host with usbh_device_info_t
2013-01-27update license year from 2012 to 2013hathach
2013-01-27remove violation MISRA 6.3 on errorshathach
2013-01-26add more test code for keyboard hid application APIhathach
refractor, restructure, rename several thing regarding host, keyboard etc ...
2013-01-22use unsigned char instead of char for error stringhathach
use #if 0 instead of // for remove code
2013-01-22start to supporthathach
- usbd host - osal some global define #define TUSB_CFG_HOST_CONTROLLER_NUM #define TUSB_CFG_HOST_DEVICE_MAX #define TUSB_CFG_CONFIGURATION_MAX rename & refractor HID type structure & enum use CException to test asssertion library add test for hid_host_keyboard with usbd configure get & osal queue get stubs update test for assertion library refractor ASSERT_STATUS in assertion library update tusb_error_t values rename usb basic type & enum in tusb_types.h and std_descriptors.h
2013-01-19change error type to lower case for more consistencyhathach
change Error Enum to TUSB prefix for more consistency start to add check for OS configure
2013-01-11add external configure file: tusb_config.hhathach
rename the internal/default configure from tusb_cfg.h to tusb_option.h
2013-01-11use X Macros to remove #undef in errors.hathach
2013-01-10start add makefile for keyboard demohathach
2012-12-20rename a bunch of configure macroshathach