Commit Graph

46 Commits

Author SHA1 Message Date
hathach 9fce2e9c18 keil host 17xx work, but os_none has problem with copy command in msc example 2014-03-06 14:56:06 +07:00
hathach f0e705c8da IAR host freertos works with EA4357 2014-03-06 12:51:16 +07:00
hathach 301be3203c refractor vendor/freertos 2014-03-06 11:52:21 +07:00
hathach dcc58a7afc refractor app_os_prio.h 2014-03-06 11:37:37 +07:00
hathach de7437852b remove IAR debug config 2014-03-06 10:42:31 +07:00
hathach d26182884c change host os none to host_freertos 2014-03-06 10:39:28 +07:00
hathach 843114675c added IAR support for host freertos 2014-03-06 10:33:37 +07:00
hathach fee8e5227b IAR work well with EA4357 on host os none 2014-03-06 10:29:57 +07:00
hathach dea4583549 refractor remove board_uart_send & board_uart_recv from board API 2014-03-05 17:10:39 +07:00
hathach 962e8a2546 remove other heap 1-3 of freeRTOS
ngx4330 work well with lpc/keil for non/freeRTOS
2014-03-05 16:44:37 +07:00
hathach c16ea6253a remove lwipopts.h in freertos project 2014-03-05 16:10:48 +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 93a60641ea fix issue with SVC_Handler SVCall_Handler name between keil & xpresso start up file. Host freertos works with lpc17xx 2014-03-04 14:15:10 +07:00
hathach c11946f318 able to build keil with lpc17xx (non os + freeRTOS) 2014-03-03 17:53:09 +07:00
hathach 22a84f744d able to build freeRTOS with lpc175x_6x 2014-03-03 16:25:34 +07:00
hathach 037c49489c freeRTOS host demo work with keil 2014-03-02 21:46:14 +07:00
hathach 5f8f046eaa refractor remove tusbh_msc_is_failed
increase usbh enum task from 150 to 200 due to stack overflow when mounting msc device
added task for msc host freeRTOS with stack = 300 (still cannot execute copy command)
2014-02-28 18:42:33 +07:00
hathach a1978e20fe merge common define in osal/osal_cmsis_rtx.h & osal/osal_freeRTOS.h 2014-02-28 15:50:04 +07:00
hathach 275e834bbe add device_os_none keil project for all boards 2013-12-27 13:40:59 +07:00
hathach a5ba283557 change MCU to TUSB_CFG_MCU 2013-11-25 12:48:27 +07:00
hathach 1d28b2bd10 refractor cdc serial host app.
fix RTOS cdc_serial_app_task executing forever
2013-10-27 20:44:06 +07:00
hathach 318a058d3c static assert to check OSAL_QUEUE_DEF's queue_depth parameter < 256
enable HOST_HCD_XFER_INTERRUPT by default (previously only enabled with HID), as it is widely used
implement tusbh_cdc_is_busy
add compilation switch in usbh enumeration for hub
rewrite CDC serial application to address usb-serial race condition
2013-10-27 19:34:36 +07:00
hathach 5c8389b9ae update freertos project
temp hack to fix problem with no TD on status endpoint of hub in case of error
2013-10-02 11:01:28 +07:00
hathach 2db5fcdf0a update keil project for freertos & cmsis 2013-09-21 01:05:54 +07:00
hathach 52ae0afeb6 refine hid host driver 2013-09-20 16:20:28 +07:00
hathach 61c591b9ac clean up warnings 2013-09-18 23:34:03 +07:00
hathach 9d87a1c62b temporarily comment out all the lwip related code 2013-09-18 21:08:48 +07:00
hathach 1cd2d5cf36 able to build with newly added lwip folder 2013-09-16 16:38:46 +07:00
hathach 0c97131149 start to add lwip support 2013-09-14 15:24:59 +07:00
hathach c71f5c6f1b integrate & able to run cmsis-rtx with current code base 2013-09-13 16:53:17 +07:00
hathach 1f573eecf2 added keil project for host_freertos 2013-09-12 15:55:54 +07:00
hathach ad5ce98c02 finshed upgrading lpc43xx cmsis 2013-09-12 14:42:08 +07:00
hathach 239864c6cf update history & freertos project 2013-09-12 14:20:22 +07:00
hathach 97cbb39f6f port osal_mutex to freeRTOS, able to mount mouse & cdc device
tinyusb host stack overflow though
2013-07-04 13:24:54 +07:00
hathach 8cb7818bcc - move CMSIS & driver lib for lpc13u to codebase bsp/lpc13xx
- change descriptor.c/h able to build device example
2013-05-23 13:22:46 +07:00
hathach 40503b913b abstract os priority for application tasks 2013-05-14 21:32:13 +07:00
hathach 446038fd36 move cmsis to bsp/lpc43xx to keep all in repos for travis-ci run
update setting for all project file respectively
2013-05-09 15:23:04 +07:00
hathach 120db28a17 change format of file header & license spacing 2013-05-06 12:50:19 +07:00
hathach c2b453c8a0 make NGX4330 build runs ok with host_freertos demo 2013-04-29 17:47:48 +07:00
hathach 92994c8192 add attribute warn unused result for osal_create_* function
taskify keyboard_app mouse_app & led_blinking
2013-04-25 11:55:24 +07:00
hathach e9dbce5f1b add TUSB_CFG_OS_TASK_PRIO to mandatory option for using an RTOS
using plain char for error enum character
increase freeRTOS configMAX_PRIORITIES to 16
house keeping & clean up compiler warning
2013-04-25 11:00:56 +07:00
hathach d4a2600ecc - change OSAL_TASK_FUNCTION to have void* parameter (to be consistent with 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-24 17:53:43 +07:00
hathach 357888a5e5 rename nxp_sof_received to nxp_int_sof
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-04-21 00:28:25 +07:00
hathach a9010c1786 getting build with freertos & host demo 2013-04-16 16:48:19 +08:00
hathach cb4981dd2d adding host_freertos configure & build etc 2013-04-16 16:30:36 +08:00
hathach 115c1f2552 create lpcxpresso project for host_freertos 2013-04-16 15:04:46 +08:00