20 Commits

Author SHA1 Message Date
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
8cc4c6f52d change the board_leds API to on_mask, off_mask
getting led toggling per second on host demo
add greeting message
2013-04-22 12:10:52 +07:00
hathach
0d55f7d290 moving things around 2013-04-22 11:03:18 +07:00
hathach
c036efff1d adding code to allow configure MIC2555 to pull down D+/D- (still need bit bangding I2C on PB_0 PB_1)
add back port reset after get 8 bytes of device descriptor
2013-04-09 02:13:18 +07:00
hathach
b0a54cbf8f amend last commit 2013-04-08 15:01:04 +07:00
hathach
94e25880dc - add scu_pinmux(0x2, 5, MD_PLN | MD_EZI | MD_ZI, FUNC2); // USB1_VBUS monitor presence
- USB1 host run ok with NGX4330
2013-04-08 14:57:00 +07:00
hathach
03d045ecde - put ATTR_UNUSED to hardfault handler variables to discard compiler warning
- change host_class_driver_t: open_subtask signature to accept tusb_descriptor_interface_t const * instead of uint8_t*
2013-03-26 12:14:04 +07:00
hathach
56cd8be75e change website from tinyusb.net to tinyusb.org 2013-03-25 11:46:30 +07:00
hathach
79e277d323 go through all the enumeration (up to get full configuration)
- fix init_qhd for address 0 (clear queue head --> ehci controller halted)
- fix bug in usbh_init missing address0 for semaphore create

TUSB_CFG_DEBUG == 3: --> ATTR_ALWAYS_INLINE is null --> allow gcc to export "normal inline" function
2013-03-13 00:02:45 +07:00
hathach
535f330026 update license year from 2012 to 2013 2013-01-27 13:50:40 +07:00
hathach
480ddb4fec start to add bsp and build configuration for embedded artist 4357 2013-01-17 11:03:43 +07:00
hathach
10009cba99 add initial support for output using ITM via SWO (not tested though) 2013-01-17 02:04:47 +07:00
hathach
aae51e985f refractor board and start to add support for SWO retarget 2013-01-17 01:09:58 +07:00
hathach
c004cd4387 add uart for lpc11uxx and retarget successfully 2013-01-16 12:43:17 +07:00
hathach
6e0818c901 re-target printf to uart successful on LPCXpresso1347 2013-01-11 22:43:54 +07:00
hathach
ec4a3f6048 cleaning 2012-12-18 15:08:30 +07:00
hathach
4ec23ea786 add build and project settings for lpc43xx 2012-12-10 15:59:10 +07:00
hathach
3eb7465e5e abstract usb enable/disable interrupt to hal layer 2012-12-10 14:58:25 +07:00
hathach
70e3a13951 change building process yes, again 2012-12-07 17:59:46 +07:00
hathach
6049b6d0df make fundamental changes in project building
add some makefile.defs
2012-12-07 01:31:09 +07:00