summaryrefslogtreecommitdiff
path: root/tinyusb/common/common.h
AgeCommit message (Collapse)Author
2018-03-12rename to avoid name conflictionhathach
2018-03-08enhancehathach
- add ASSERT_ - rename edpt_equal -
2018-03-02clean up compilerhathach
2018-02-28refactor osal queue APIhathach
2018-02-28osal clean uphathach
- task create, task def macros
2015-05-01replace ATTR_PACKED_STRUCT by simply ATTR_PACKED (drop IAR support)hathach
remove "primitive_types.h" by simply include stdbool.h, stdint.h
2014-04-17move STRING & XSTRING & STATIC_ASSERT to compiler.hhathach
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-03-25more doxygen stuffshathach
2014-03-24doxygen documentinghathach
2014-03-18rename errors.c/h to tusb_errors.c/hhathach
2014-03-16doxygen documenthathach
2014-03-10change desc_str_table to array of pointer of uint8_t* to be compatible with ↵hathach
IAR (lack of support for VLA initialization) IAR device os none works with ea4357
2014-02-20fix the duplicated plug connection status change with lpc17xx by using ↵hathach
immediate reset on isr. However Khanh's G5 mouse is not enumerated !! remove TUSB_CFG_CONFIGURATION_MAX from config file fix some warning
2014-01-24refractor __n2be_16hathach
2013-12-27add device_os_none keil project for all boardshathach
2013-12-12implement inline bit manipulation functionhathach
2013-12-09add keyboard led maskhathach
make usbd control request to subtask add get/set report via control pipe to hidd enforce soft DMA to control pipe for lpc11u (lpc17xx not yet) temp add led_blinking_set_interval to change led blinking interval refractor dcd_pipe_control_xfer to have interrupt on complete option add get/set report support of moused_app and keyboardd_app, keyboard LED will make LED blink faster
2013-11-26change endian conversion to native to be & be to nativehathach
completely deferred xfer isr event to usbd task complete read10, write10 sequence for large data transfer
2013-11-13fix potential issue with stall endpointshathach
NOTE: cannot able to STALL control OUT endpoints --> unsupported with data out request may got to an issue. clean up configure, add max string descriptor configure as windows sometimes ask for string @ index 238 !!!
2013-11-05msc add supporthathach
- SCSI_CMD_MODE_SELECT_6 - SCSI_CMD_MODE_SENSE_6 - SCSI_CMD_PREVENT_ALLOW_MEDIUM_REMOVAL fix msc device bug with no data unsupported command complete msc device demo with ram disk of 8KB
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-25more doxygen workhathach
rename tusb_mouse_report_t (keyboard) to hid_mouse_report_t (keyboard)
2013-10-02clean up warnings here and therehathach
2013-09-26refractor mschhathach
2013-07-04add some printf when a class is mountedhathach
add initial tests for rndis
2013-07-01add & pass a first few test for cdc hosthathach
implement cdch_open_subtask
2013-05-12test refractorhathach
2013-05-11add cardinality_of function to return number of set bitshathach
refractor tests in ehci
2013-05-06add log2_of and use this function in get_period_headhathach
2013-04-21rename nxp_sof_received to nxp_int_sofhathach
implementing freeRTOS integration change get_period_frame_list from using lst_idx to hostid (fix bug) adding polling interval supported for interrupt: 1ms, 2ms, 4ms, 8ms - add interval_ms to get_period_head function - add bInterval to qhd_init - add support for sub-frame (less than 8 micro frames) interval - add bunch of test for interrupt different intervals
2013-03-25change website from tinyusb.net to tinyusb.orghathach
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-12add semaphore post in usbh_isr for control pipehathach
add osal_queue_send in usbh_device_plugged add macro for placing breakpoint macros fix ehci init: - regs->cmd or (add run_stop) - enable port power in portsc add tusb_task_runner in main loop
2013-03-03implement hcd_init controller_inithathach
- add test for async list
2013-02-28start to add code for hcd_init testhathach
change hcd_init signature (omit hostid)
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-08updating usbh init with class inithathach
2013-02-06update enumeration up to get full configuration descriptorhathach
2013-02-06refractor move test enum to its own filehathach
add assert with handler add task assert with error catcher
2013-02-05remove TUSB prefix for class enum definitionshathach
add most of HID USAGE TABLE and definitions etc ...
2013-02-04add usbh_hcd to hold common structure/typedef for usbh and hcdhathach
2013-02-04refractor include chain with following policieshathach
- header file only include what it needs for its declarations.
2013-02-02refine OSAL_TASK_LOOP_BEGIN & OSAL_TASK_LOOP_ENDhathach
- add TASK_ASSERT & TASK_ASSERT_STATUS add more code for enumerate task add control requests & its type def add API for HCD - hcd_pipe_addr0_open - hcd_pipe_control_open - hcd_pipe_control_xfer - hcd_pipe_open - hcd_port_speed
2013-01-31add version macroshathach
2013-01-30add primitive_types.h for portable with uint8,16,32_t, and boolhathach
add osal_common.h to ease the complaint of MISRA 19.1 implement OSAL_NONE Task loop, semaphore wait/post and its test code
2013-01-27update license year from 2012 to 2013hathach
2013-01-27add STATIC for local variableshathach
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-18add ASSERT POINTER supporthathach
add hid host and separate hid host & device update host project setting with EA4357 board add para checking test for hid host