summaryrefslogtreecommitdiff
path: root/tests/test/test_osal_none.c
AgeCommit message (Collapse)Author
2013-06-05added dcd_dma_descriptor_t typdefhathach
reorganize test project, multiple test projects each is specifically for an MCU
2013-05-06change format of file header & license spacinghathach
2013-04-27fix bug (wrong logic) with osal_task_delay in non OS configurehathach
complete keyboard app with key state & event TODO handle & check for non-printable(control) keycode add unit test for osal_task_delay for non OS
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-04-24move main work in usbh_enumeration_task to its body subtask for task_assert ↵hathach
style
2013-04-24fix potential error with usbh_control_xfer_subtask in subtask_asserthathach
change back to use task_assert style in usbh_enumeraion change test to task->subtask->subtask style in test/test_osal_none.c
2013-04-10change osal_queue_send(osal_queue_handle_t const queue_hdl, uint32_t data) ↵hathach
signature to osal_queue_send(osal_queue_handle_t const queue_hdl, const void * data) - support any size queue message (instead of fixed uint32_t)
2013-03-25change website from tinyusb.net to tinyusb.orghathach
2013-03-10- add test code for bulk xfer isrhathach
- fix mismatch type func return
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-06fix TASK_ASSERT for osal_none.hhathach
add TASK_ASSERT test for osal_none integrate test project better with eclipse - assert message--> info windows - test fail --> error windows
2013-02-04add TUSB_CFG_HOST_ENUM_BUFFER_SIZEhathach
add enum buffer getting serious with osal_freeRTOS
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-02-01add timeout to queue_receive and update test code for ithathach
2013-02-01change osal_timeout_t to uint32_thathach
implement osal_tick_get & osal_tick_tock for osal_none implement timeout for osal_semaphore_wait
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-30change semaphore to volatile uint8_thathach
add osal_queue_receive code and its test *NOTE* - consideration for semaphore & queue with hal_interrupt_disable/hal_interrupt_enable as safe guard
2013-01-30add osal queue service & its test codehathach
- create, send
2013-01-30fix mocking osal api using ifdefhathach
start to add task_create macro API for osal_none
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-26add more test code for keyboard hid application APIhathach
refractor, restructure, rename several thing regarding host, keyboard etc ...