hathach
b7235fa2bc
clean up warning
2014-03-14 16:49:01 +07:00
hathach
590acffc24
fix some warnings
2014-03-14 16:36:04 +07:00
hathach
5e2ed2534e
clean up warning in lpcxpresso
...
remove -Wpacked -Wpadded in gcc
2014-03-14 11:59:39 +07:00
hathach
fa83ba32a5
fix all build error with IAR
...
- host/host_freertos/host_freertos.ewp
- host/host_os_none/host_os_none.ewp
- device/device_os_none/device_os_none.eww
fix IAR ending warning
2014-03-13 13:23:33 +07:00
hathach
1d98e895fa
fix freertos host keil build
2014-03-12 23:43:13 +07:00
hathach
1ad138e322
fix IAR end line warning
2014-03-12 16:33:33 +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
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
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
c0d1d0c101
rename port.c for different cortex --> able to add them in keil uvision
2014-03-03 17:37:40 +07:00
hathach
17c94b2e5e
clean up freeRTOS folders
2014-03-03 17:32:56 +07:00
hathach
22a84f744d
able to build freeRTOS with lpc175x_6x
2014-03-03 16:25:34 +07:00
hathach
6770a36cba
added port FreeRTOS for lpc175x
2014-03-03 15:28:16 +07:00
hathach
b5ce076d8d
increase msc host app task stack size to 512 so that copy command can be executed
2014-03-02 18:11:30 +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
e979f22f93
remove test unit ready with disk_ioctl (cmd=CTRL_SYNC) as it is proved to be not needed
2014-02-28 16:31:57 +07:00
hathach
a5ba283557
change MCU to TUSB_CFG_MCU
2013-11-25 12:48:27 +07:00
hathach
1263dbb122
enhacne msc demo, update IAR project file
2013-10-02 13:32:39 +07:00
hathach
18b3179bc6
refractor msc host app examples
2013-10-01 16:11:34 +07:00
hathach
3cc169f2fd
able to mount one device on the hub
2013-09-30 15:16:23 +07:00
hathach
eb1a101667
house keeping
2013-09-27 22:38:23 +07:00
hathach
238afb474f
house keeping
2013-09-26 15:15:16 +07:00
hathach
9d60db0f9f
add scsi write10 & test unit ready
...
done copy command
implement get_fattime using __DATE__ and number of calls
2013-09-26 14:37:40 +07:00
hathach
b995e25308
enable long filename
2013-09-25 20:44:18 +07:00
hathach
89898acd5d
almost complete cli for msc
2013-09-25 19:52:05 +07:00
hathach
1fee50b9fe
add tusbh_msc_status
...
reanme PRINTF_TARGET_DEBUG_CONSOLE to PRINTF_TARGET_SEMIHOST
add read10 implementation
able to read fat root sector
2013-09-25 16:20:38 +07:00
hathach
cf65f859be
working on fatfs integration
...
fix retarget input for lpcxpresso
2013-09-25 11:23:53 +07:00
hathach
f820fc5b86
start to add fatfs support
2013-09-24 22:02:46 +07:00
hathach
9d87a1c62b
temporarily comment out all the lwip related code
2013-09-18 21:08:48 +07:00
hathach
8738902495
configAssert = hal_debugger_breakpoint
2013-09-18 20:56:29 +07:00
hathach
243f197509
clean up lwip
2013-09-18 20:52:07 +07:00
hathach
1cd2d5cf36
able to build with newly added lwip folder
2013-09-16 16:38:46 +07:00
hathach
ba3bd1da9e
remove ipv6 header
2013-09-16 15:35:42 +07:00
hathach
5e537e211d
remoe ipv6
2013-09-16 15:35:08 +07:00
hathach
0c97131149
start to add lwip support
2013-09-14 15:24:59 +07:00
hathach
0d279facbb
fix cmsis rtx tick configuration
...
everything should work
TODO: remove static for variable error in control xfer subtask
2013-09-13 23:32:07 +07:00
hathach
ad0ef2e266
all project can run ok
2013-09-13 22:30:11 +07:00
hathach
c71f5c6f1b
integrate & able to run cmsis-rtx with current code base
2013-09-13 16:53:17 +07:00
hathach
d7ae21203c
fix issue with osal_none queue def
2013-05-21 17:57:21 +07:00
hathach
f4887b3981
adding support for keil's rtx cmsis-rtos
2013-05-15 13:39:28 +07:00
hathach
4db386525f
reduce delay after reset to 20ms
...
correct freeRTOS configCPU_CLOCK_HZ to correct M4 mcu clock
2013-04-27 14:17:06 +07:00
hathach
3763e22c9a
change OSAL_TASK_DEF to decouple variable name with task name
...
implement osal_task_delay for freeRTOS & non_os
getting both no_os & freertos running with mouse + keyboard
2013-04-25 16:41:00 +07:00
hathach
1ae5484320
finally able to get freeRTOS run with current mouse + keyboard example
...
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-25 15:43:33 +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
a9010c1786
getting build with freertos & host demo
2013-04-16 16:48:19 +08:00
hathach
addbe3ed56
create vendor folder & add freeRTOS 7.3 from lpcopen
2013-04-14 01:54:02 +08:00