summaryrefslogtreecommitdiff
path: root/demos/host/src/main.c
AgeCommit message (Collapse)Author
2018-03-06rename demo to exampleshathach
2018-03-01clean up osal semaphore/queue/mutexhathach
2014-04-03added rtos to greeting for easy testinghathach
correct all keil flash setting
2014-03-26clean uphathach
2014-03-24fix build error for keil host os none, freertos, cmsis-rtxhathach
2014-03-24fix build for lpcxpreso hosthathach
2014-03-21clean up led blinking on host demohathach
2014-03-19change OSAL_TASK_FUNCTION to adapt with cmsis rtxhathach
2014-03-19remvoe main as thread of cmsis rtx for portability.hathach
Keil & lpcxpresso4 host_cmsis_rtx work well
2014-03-18rename TUSB_CFG_OS_TICKS_PER_SECOND to TUSB_CFG_TICKS_HZhathach
remove CFG_TICKS_PER_SECOND
2014-03-16doxygen documenthathach
2014-03-14fix some warningshathach
2014-03-14clean more warningshathach
2014-03-13fix some warningshathach
2014-03-12fixing build errorhathach
2014-03-06refractor app_os_prio.hhathach
2014-03-06IAR work well with EA4357 on host os nonehathach
2014-03-05somehow could not get printf work with IAR both SWD & uart on NGX4330hathach
2014-03-04remove lwip code in main.c & boardGetMACaddr (board.c)hathach
NOTE: previous commit also removed some lwip's configure in board_ea4357 fix NGX4330 led blinking
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-10-16refine mouse demohathach
2013-10-15add supported class to greetinghathach
2013-09-27house keepinghathach
2013-09-26add scsi write10 & test unit readyhathach
done copy command implement get_fattime using __DATE__ and number of calls
2013-09-25almost complete cli for mschathach
2013-09-24added cli supporthathach
2013-09-22fix pingstate for highspeed bulk out transferhathach
temp implementation of msc host --> can issue inquiry command
2013-09-21house keeping, clean up warningshathach
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-09-18temporarily comment out all the lwip related codehathach
2013-09-13all project can run okhathach
2013-09-13integrate & able to run cmsis-rtx with current code basehathach
2013-09-10complete porting to keilhathach
- updated cgu - require microlib for printf retarget - cannot use fp enable option in keil (may require cmsis update)
2013-09-10keil project can mount mouse, but cannot mount rndishathach
2013-07-19change printf retarget to make \n to \r\n automaticallyhathach
2013-07-03replace tusbh_cdc_isr by tusbh_cdc_xfer_isr with extra parameter ashathach
- pipe id - xferred_bytes host_class_driver_t add xferred_bytes parameter void (* const isr) (pipe_handle_t, tusb_event_t); --> void (* const isr) (pipe_handle_t, tusb_event_t, uint32_t); update hid_host & its tests
2013-07-02add tusbh_cdc_send, t usbh_cdc_receivehathach
add cdc_serial_app for virtual com demo
2013-06-21add cmsis for lpc11uhathach
remove app_os_prio.h in host_os_none demo
2013-05-14abstract os priority for application taskshathach
2013-05-09move cmsis to bsp/lpc43xx to keep all in repos for travis-ci runhathach
update setting for all project file respectively
2013-05-06change format of file header & license spacinghathach
2013-04-28clean up mainhathach
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-25change OSAL_TASK_DEF to decouple variable name with task namehathach
implement osal_task_delay for freeRTOS & non_os getting both no_os & freertos running with mouse + keyboard
2013-04-25finally able to get freeRTOS run with current mouse + keyboard examplehathach
NOTES: print_greeting if is executed before the start of freeRTOS scheduler --> hardfault - print_greeting->vsprintf->systick -> bunch of ISR --> hardfault. printf using serial after the start of scheduler is ok though
2013-04-25add attribute warn unused result for osal_create_* functionhathach
taskify keyboard_app mouse_app & led_blinking
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-04-22house keepinghathach
2013-04-22change the board_leds API to on_mask, off_maskhathach
getting led toggling per second on host demo add greeting message