73 Commits

Author SHA1 Message Date
hathach
239864c6cf update history & freertos project 2013-09-12 14:20:22 +07:00
hathach
0769643814 update header files 2013-09-12 14:06:59 +07:00
hathach
dc6f6e3b3e rename lpc43 cmsis folder, preparing to upgrade cmsis from v2.10 to 3.01 2013-09-12 13:58:33 +07:00
hathach
2d021e0728 added support for RETARGET SWO 2013-09-10 13:36:19 +07:00
hathach
e823862ed1 clean up 2013-09-10 13:15:21 +07:00
hathach
14a8e26697 able to get blinky + greeting 2013-09-10 10:43:24 +07:00
hathach
7404894d6d rename startup 2013-09-10 10:26:15 +07:00
hathach
1646fb2887 Merge branch 'master' of github.com:microbuilder/tinyusb
Conflicts:
	demos/bsp/boards/microbuilder/board_lpc4357usb.c
	demos/bsp/boards/microbuilder/board_lpc4357usb.h
2013-09-08 00:09:33 +07:00
hathach
25a22e169b try to add lpc4357usb board 2013-09-08 00:01:20 +07:00
Kevin Townsend
1231fae04c Added trace pin config 2013-07-31 23:30:17 +02:00
Kevin Townsend
781f8354ea Added LPC4357USB board 2013-07-31 22:03:48 +02:00
hathach
23f4d7356f change printf retarget to make \n to \r\n automatically 2013-07-19 12:05:25 +07:00
hathach
c5afb9d50f change class (hid/cdc) _mounted_isr to _mounted_cb 2013-07-04 09:45:20 +07:00
hathach
544b48183a opt out hardfault handler in board.c which causes problem in compiling with asm inline 2013-07-03 13:48:11 +07:00
hathach
6ce90e2bd8 add tusbh_cdc_send, t usbh_cdc_receive
add cdc_serial_app for virtual com demo
2013-07-02 16:41:13 +07:00
hathach
34b4332ff4 remove redundant project files 2013-06-21 22:17:49 +07:00
hathach
4239da1188 add cmsis for lpc11u
remove app_os_prio.h in host_os_none demo
2013-06-21 21:03:23 +07:00
hathach
3394b4beaa re-create ngx4330.h
remove some rom driver dependency on upper layer
introduce CAP_DEVICE_ROMDRIVER to overwrite TUSB_CFG_DEVICE_USE_ROM_DRIVER within the lib
add support for lpc175x_6x
- able to build and blink led on lpcxpresso1769 with device (without any class enabled)
2013-06-04 13:36:18 +07:00
hathach
7f8752b38b add LPC175x_6x cmiss (got from xpresso example)
add LPC175x_6x driver lib (got from http://git.lpcware.com//lpc175x_6x.git
2013-06-04 11:45:01 +07:00
hathach
3b9a616ca9 change at86rf to 1ghznode
rom device runs ok with lpc11uxx
2013-05-31 13:57:57 +07:00
hathach
04a641f067 ea4357 can be enumerated, but get setconfiugre value of 0 2013-05-29 16:56:15 +07:00
hathach
dda0808ebb fix lpcxpresso1347 board_leds
temp change USBD_API to ROM_API
add lpc13xx device support
fix romdriver pointer
able to init rom driver
2013-05-29 14:39:14 +07:00
hathach
1e5bd82af2 rename NGX to ngx
add a bunch of stub header for dcd (175x_6x, 13xx, 18xx_43xx)
add dcd_nxp_romdriver for handling usb rom driver
add BIT_TEST_ in binary.h
remove mw_usbd_hid.h include due to lexical conflict
2013-05-28 15:24:27 +07:00
hathach
7ae986de95 move board files 2013-05-27 11:57:16 +07:00
hathach
9b7f24bef2 add files for hitex4350 but fail to get it power on USB0 host connector 2013-05-23 17:19:28 +07:00
hathach
c4e6eec4ac LED init for mcb4300 2013-05-23 15:14:57 +07:00
hathach
132c3996ea move scu_pinmux(0x2, 5, MD_PLN | MD_EZI | MD_ZI, FUNC2) to hal/hal_lpc43xx.c
dual host run without problem with mcb4300
2013-05-23 14:56:11 +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
f8d1c3da3e rename tusbh_hid_keyboard/mouse_is_supported to tusbh_hid_keyboard/mouse_is_mounted 2013-05-14 03:03:54 +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
4fa7f77ee2 adding keil mcb4300 support
- implement board_leds & board_uart routines
2013-05-06 15:06:08 +07:00
hathach
120db28a17 change format of file header & license spacing 2013-05-06 12:50:19 +07:00
hathach
c202bfe556 move ngx4330 to ngx folder in boards 2013-04-29 20:43:16 +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
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
799c709524 adding oem base board lib for ea4357 2013-04-22 11:22:56 +07:00
hathach
ea1b5ec355 house cleaning 2013-04-22 11:16:12 +07:00
hathach
0d55f7d290 moving things around 2013-04-22 11:03:18 +07:00
hathach
c20071c55c fix compiler error for USB1 to none in ehci.c
rename and moving bsp ea4357
2013-04-22 11:00:43 +07:00
hathach
a493fab753 separate fake ehci's run async & period list
refractor list_find_previous_item & list_remove_qhd to act on ehci_link_t* instead of ehci_qhd_t*
fully support 1ms, 2ms, 4ms, 8ms for period list (each list has a dummy queue head)
- change period list structure
limit the maximum polling interval to 256 ms
add max_loop static MAX number of iteration for list_find_previous_item
add test for close 256ms polling interrupt
2013-04-21 15:09:54 +07:00
hathach
11dff6f978 add Lib_OemBaseBoard to bsp/board but current exclude from all builds (added when needed later) 2013-04-09 02:30:33 +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
95df92055c fix board uart init with NGX4330 (use UART0)
add USB1_PWR_EN (GPIO5[6])
2013-04-08 02:36:43 +07:00
hathach
1776bb53f6 add hal init for USB1 and trying to get USB1 working
add hack delay 100 ms after a port reset (huge) for correct speed detection
2013-04-07 03:40:24 +07:00
hathach
e658e67ebe fix the damn bug within 10 line of code in keyboard_app.c 2013-03-29 00:20:27 +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